Questions tagged [bitcoin-core]

This tag should be used for questions pertaining to Bitcoin Core. Bitcoin Core is an MIT-licensed Qt 5 GUI application for the original Bitcoin codebase. Additional/previous names include "Bitcoin-Qt", "Satoshi-Client", and "Standard Client". This tag should be used when referring to the Bitcoin Core software.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

Mining stale low-difficulty blocks as a DoS attack

A DoS attack vector against a bitcoin node I haven't really seen mentioned anywhere is mining a stale chain in a low-difficulty era (say right after the genesis block), ideally with a lot of expensive ...
user avatar
3 votes
2 answers
412 views

What is the purpose of indexing the mempool by these five criteria?

In the bitcoin source code in txmempool.h, a comment says that unconfirmed transactions are indexed by five criteria: * mapTx is a boost::multi_index that sorts the mempool on 5 criteria: * - ...
user avatar
-1 votes
0 answers
25 views

Bitcoin wallet.dat decryption [closed]

I have 5 btc encrypted wallet.dat, I want to crack it by using aes vulnerabilities like side channel timing attack etc. I want to know if the output of below AES KEY decryption will be same as ...
user avatar
0 votes
0 answers
14 views

What are the best bitcoin libraries to implement a wallet and its functionalities in a project?

It seems like there is some bitcoin librairies for interacting directly with a node, or through a server. I have seen a python, rust, go... Aside the fact that anyone can have a preference for a ...
user avatar
2 votes
1 answer
75 views

How to clear peer list?

How to clear bitcoind's peer list? (also containing peers in the past) I didn't find an RPC command for it, is it stored in a file? Where?
user avatar
0 votes
0 answers
29 views

How to compile bitcoin source code with wallet?

I've built the bitcoin core on my computer and once I tried to run tests related to wallet, I encountered this error: [amirreza@localhost bitcoin]$ python test/functional/wallet_createwallet.py 2022-...
user avatar
4 votes
1 answer
105 views

How are validity flags in block index set in concurrent blocks when one of them is chosen?

I'm trying to understand block validity flags, and what happens when a branch occurs. I found a block status flags in the bitcoin core source code: enum BlockStatus : uint32_t { ...
user avatar
  • 185
0 votes
0 answers
42 views

bitcoin core 22.0 debug problem, and, berkeley version?

you know the problem of this sorti problem ? error and version berkeley ? please ! Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) Using wallet C:...\wallet1.dat ( wallet.dat and the ...
user avatar
1 vote
1 answer
30 views

Sign raw transaction with key

I'm upgrading my application from bitcoin core 21.0 to 23.0. In core 21.0 I created a raw transaction and sign it with my private key after I called dumpprivkey RPC. At core 23.0 I received this error ...
user avatar
  • 165
2 votes
1 answer
29 views

Does bitcoind validate every block for every time it starts?

When running bitcoind, it starts downloading the blockchain and validate every block in a row. It stores the blockchain in the ~/.bitcoin/blocks directory. And when we break daemon and restart it, ...
user avatar
0 votes
0 answers
20 views

Programatically acquire Bitcoin after acquiring funds from a user

Forgive me if this sounds stuoid, but I have done some research and Im still not clear. We have an application that acquires money from my users via Adyen and my users' debit cards. We now want to buy ...
user avatar
  • 115
0 votes
1 answer
81 views

Where to download "Bitcoin core" wallet application from?

Why there are 2-3 bitcoin core applications online? bitcoin-qt at bitcoin.org, bitcoin knots bitcoin core on bitcoincore.org Which should I use?
user avatar
0 votes
0 answers
10 views

./minerd --url=127.0.0.1:6332 1 miner threads started, using 'scrypt' algorithm. HTTP request failed: json_rpc_call failed, retry after 30 seconds

I'm experimenting mycoin running the cpuminer using the command: ./minerd --url=http://127.0.0.1:6332 --user=myuser --pass=mypassword --coinbase-addr=my_address I tried to run this because blocks are ...
user avatar
2 votes
1 answer
110 views

What is an inflationary bug in the context of bitcoin?

I often hear that the worst bug that could impact bitcoin is an inflationary bug. But what exactly is meant by 'inflationary bug'?
user avatar
0 votes
1 answer
51 views

I deleted my bitoin wallet many years ago near the start [duplicate]

I know which pool I was a member of and maybe i should ask them instead? I'm trying to find out how or if i can recover them I had 3 Bitcoins way back at the begining back when gpu mining was a thing. ...
user avatar
-1 votes
0 answers
53 views

Why does Bitcoin Core exclude the transaction fee from the exported CSV?

Open Bitcoin Core. Click the "Transactions" tab. Click the "Export" button. Inspect the saved .csv file and behold its columns: "Confirmed","Date","Type&...
user avatar
  • 1
1 vote
1 answer
35 views

Using bitcoind json-rpc with multiple wallets

Since some time bitcoind can have more wallets, there are commands: https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/loadwallet/ and https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/listwallets/ Does ...
user avatar
1 vote
1 answer
33 views

Is there any privacy issue in doing this hard-to-summarize thing with Bitcoin Core?

I have a "hot" wallet.dat with no password, with a small amount of satoshis. Recently, I transferred them all over to my Bisq wallet temporarily to make trades. So the hot wallet.dat has 0 ...
user avatar
3 votes
2 answers
199 views

How can a private key be imported to a descriptor wallet?

If the Bitcoin Core Wallet Migration Tool is supposed to be creating descriptors for sparse keys (as it's supposed to support pre deterministic wallets), then why doesn't Bitcoin Core allow using ...
user avatar
  • 339
1 vote
1 answer
138 views

mainnet wallet will refuse to dump privkeys

I created a new wallet in Bitcoin Core v23.x, as expected it created an empty wallet version 169900 descriptors true format sqlite. It seems it created 4 streams of 1000 keys each. Anyway I told it ...
user avatar
  • 339
0 votes
1 answer
27 views

Pruning Blockchain and creating multi wallets

I am trying to determine if I could use pruning blockchain option on my future bitcoin node or not. I will create a multiple wallets by RPC calls and I need to be able to check the history of ...
user avatar
2 votes
1 answer
143 views

What should I do about these messages in Bitcoin-core's debug-log?

Help, with bitcoin core : AFTER the Rescan : 1 - rescan 2 - response output, on the debug file out: 3 - FlushStateToDisk: write coins cache to disk (coins, kB) completed (s) , OK 4 - Imported mempool ...
user avatar
0 votes
0 answers
38 views

How can I import my private keys in Bitcoin Core v23.0?

I have synchronized the whole blockchain. I have imported my private keys but balance stays on 0.00000000 BTC. I imported my address and now my BTC shows as "watch-only" in overview. How do ...
user avatar
1 vote
1 answer
180 views

Can I use the Bitcoin Core CLI to learn the block height at which a transaction was mined?

I am interested in figuring out at what height a transaction was mined, but I cannot find the right command to extract this information. Perhaps it's not possible? My Bitcoin Core was not involved as ...
user avatar
0 votes
0 answers
21 views

Bitcoin core fails to load

I have just loaded the Windows version of Bitcoin Core (v22). But it fails to sync with the network. At around 6 days and 5 hours I see the following: Please note that despite 30 years IT experience, ...
user avatar
1 vote
1 answer
28 views

What is maxsigcachesize?

-maxsigcachesize= Limit sum of signature cache and script execution cache sizes to What is this? What is a sigcache? What happens if it is set low and Can it have a bad effect?
user avatar
1 vote
1 answer
83 views

How to build a simple Bitcoin Wallet

I am looking for a way to build a Bitcoin wallet native mobile application for iOS & Android. I want the app to offer the following features to its users; Create a new wallet (self custodial) ...
user avatar
-2 votes
1 answer
47 views

How long does it take to get bitcoin trough Twitter

My friend @JayeCane , that's his Twitter nickname also, sent me BTC through Twitter at my address : bc1qhl8ajxff5z4zmmsshsnz98m3x7r2lupsuvfjeq before 4 day's ago. I have to wait or something went ...
user avatar
3 votes
0 answers
25 views

Problems with multiple wallets on RPC in bitcoin-core

I have been playing around a bit with Bitcoin Core (version 23.0), more specifically connecting to different wallets in Bitcoin Core through RPC in Python. I have found this library and tried to ...
user avatar
2 votes
1 answer
39 views

What does setting the "-server" flag do?

I'm running the GUI version of Bitcoin Core. But I want to also be able to interact with bitcoin-cli in my Windows console. Apparently I need to set the -server flag before running bitcoin-qt, or set ...
user avatar
3 votes
1 answer
58 views

Remove descriptor from a Bitcoin Core wallet

I had accidentally imported descriptors into a wallet that I didn't mean to import to in Bitcoin Core. From what I can tell, the only way I can remove this descriptor from that wallet is to delete the ...
user avatar
-1 votes
1 answer
57 views

Does The Bitcoin Network Have A Way To Alert Nodes Of A Network Issue/Bug?

I know that the Bitcoin Network would send an alert message which follows: int32_t nID The alert identification number - this allows nodes to identify double-messages. int64_t nExpiration The alert-...
user avatar
  • 113
2 votes
2 answers
80 views

How do I switch a pruned node to "neutrino mode"?

According to Lightning Lab's documentation, Bitcoin Core can be run in "neutrino mode" to serve block data without storing transactions. I've been running Bitcoin Core in pruning mode and ...
user avatar
0 votes
1 answer
38 views

How does Bitcoin Core know about a new address created in a different wallet?

Using importprvkey, I imported all the private keys of an Electrum wallet into a Bitcoin Core wallet (courtesy the electrum2core script; 🎩-tip: somedude). Then, in Electrum, I created a new bech32 ...
user avatar
  • 4,307
0 votes
1 answer
46 views

Do I need to Download the complete Blockchain before BTC will reflect under amount after running importprivkey? Current Version being used is V22

I have done the importprivkey as per instructions. I can see the transactions under the transaction Tab, but I do not see my BTC under overview balance. I do not see the address Tab also as per Wiki ...
user avatar
1 vote
1 answer
55 views

How a bitcoin node knows where the last transaction of my wallet is

when i send a transaction to a bitcoin node how can the node know that my address exists and where in the chain my address is? does it do a verification? how does it know that I have the funds knowing ...
user avatar
0 votes
1 answer
37 views

how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time?

so im noob on all of this so bare with me. im trying to test the possible net revenue of a trading algorithm/bot, but i dont trust it enough to test it with real money, so im going to simulate how ...
user avatar
2 votes
0 answers
78 views

Parsing bitcoin blockchain, get input (vin)

I downloaded the bitcoin blockchain. I have a full node and I would like to do some parsing. I use RPC to send commands to bitcoin core from my Python program. When I get a block it works fine but the ...
user avatar
1 vote
1 answer
62 views

Create individual wallet for each user

I am working on a platform where users can register and can have wallets with multiple addresses (one address for each coin/network). I found something in Binance APIs where you're able to create sub-...
user avatar
0 votes
0 answers
22 views

verifying bitcoin core version 22.0 [duplicate]

I'm trying to verify the bitcoin core version 22.0 but when I verified it seems all the signatures are bad (I downloaded SHA256SUMS.asc and SHA256SUMS files from https://bitcoin.org/en/bitcoin-core/).
user avatar
  • 1
0 votes
1 answer
55 views

GRT address vs BTC address

I was asked to provide my BTC addresss and accidentally provided my GRT address to receive funds, the funds were initiated to send, will this be a problem?
user avatar
0 votes
1 answer
62 views

How is the Genesis Block statically encoded into bitcoin client software?

What does 'statically encoded' even mean?
user avatar
  • 113
1 vote
2 answers
93 views

What stops someone from tampering with node software and hence would be able to disrupt the blockchain?

For example, if someone was running a full node and somehow re-wrote the software so that blocks and transactions which did not abide by Bitcoin's consensus rules would be able to be relayed, what ...
user avatar
  • 113
1 vote
0 answers
43 views

Understanding bitcoin merkle tree construction at code level

I have a high level understanding of how merkle trees are constructed for a Bitcoin block, but I am interested in building a little CLI tool in golang that actually takes a list of transactions for a ...
user avatar
0 votes
1 answer
44 views

Peer-to-peer - informations about downloading

I would like to know how the software downloads the blockchain. If the bytes write throught the socket and wait until it's written. And If the software asks 16 blocks to each peer in which you're ...
user avatar
  • 69
3 votes
1 answer
36 views

How to setup signet with bitcoin core locally

I am trying to run a signet network locally using bitcoin core. I have downloaded bitcoin core and upon installation, it seems I have to go through the Initial Block Download process. I am only ...
user avatar
3 votes
1 answer
423 views

How do I know if the Bitcoin Core software on my computer is running taproot, segwit or something else?

I would like to check this. I imagine there must be some command to verify the current version of node software Bitcoin I am running ('version' is probably not the correct name here. Maybe 'soft fork' ...
user avatar
0 votes
0 answers
24 views

PHP Blockcypher error validating generated transaction: Error running script for input 0

Attempting to use Blockcypher's /txs/send endpoint using detailed here: https://www.blockcypher.com/dev/bitcoin/#creating-transactions and I'm getting the following error: Error validating generated ...
user avatar
1 vote
0 answers
43 views

Solution for P2SH non-standard derivation paths

Creating P2SH (Nested Segwit) addresses from an imported BECH32 (Native Segwit) XPUB, when running Bitcoin Core (pre-2020 software) wallet (as watch-only, with private keys disabled) can lead to non-...
user avatar
0 votes
1 answer
22 views

My Bitcoin-QT directories are empty? (Ubuntu)

According to Bitcoin-QT (I am using the snap store version) my Datadir is /home/(username)/snap/bitcoin-core/common/.bitcoin and my Blocksdir is home/(username)/snap/bitcoin-core/common/.bitcoin/...
user avatar
  • 1

1
2 3 4 5
77