Questions tagged [bitcoin-core-development]

Source code and development of Bitcoin Core, the reference implementation of Bitcoin.

Filter by
Sorted by
Tagged with
2 votes
1 answer
85 views

What is the data format layout for txindex LevelDB values?

The keys I understand, t + 32-byte hash. But my problem are the values. I understand from sources such as What are the keys used in the blockchain levelDB (ie what are the key:value pairs)? that the ...
Ciro Santilli OurBigBook.com's user avatar
2 votes
1 answer
62 views

RPC Batch call abruptly stopped working

I've had this code that was working less than a week ago. No changes at all on my PC or in the code and it just abruptly stopped working normal (single) RPC calls work fine but batch does not. All ...
user2880722's user avatar
1 vote
0 answers
19 views

Why do I keep corrupting the chain state after many RPC calls?

I’m experimenting with the blockchain, writing a block indexer / local node monitor. In my testing I wrote a small python script that uses AuthServiceProxy.batch() to get the hash of each block. After ...
James's user avatar
  • 11
1 vote
1 answer
84 views

Why do PinSketch sketches consist of the sum of odd powers?

The following is taken from BIP-330 (aka Erlay): A short ID sketch with capacity c consists of a sequence of c field elements. The first is the sum of all short IDs in the set, the second is the sum ...
Cosmik Debris's user avatar
1 vote
1 answer
27 views

What should the intended purpose of (mempool) policy defaults in a full node implementation like Bitcoin Core be?

There are a couple of Stack Exchange posts on what (mempool) policy is, this from Suhas Daftuar and this from Antoine Poinsot. But what are the policy defaults in say Bitcoin Core trying to achieve ...
Michael Folkson's user avatar
0 votes
1 answer
27 views

I found an incorrect translation in Bitcoin Core, how can I suggest a fix?

In the French version of the Bitcoin Core (v26), a column in the peer tab is called "Age" which means age. It is wrong because Bitcoin Core is using peer which have no age, it is not as ...
Romain's user avatar
  • 41
0 votes
0 answers
32 views

Why are there transactions before full synchronization?

Do you know why there are several transactions before end of full synchronization ?
Romain's user avatar
  • 41
0 votes
1 answer
61 views

How do I customize Bitcoin Core's mempool policy so that low value transactions (ordinals, BRC-20) are not propagated by my mempool?

How do I customize Bitcoin Core's mempool policy so that low value transactions (ordinals, BRC-20) are not propagated my mempool? I compile my full-node from source, so I am interested in editing the ...
John Smith's user avatar
5 votes
1 answer
271 views

Gradual deprecation of importprivkey call?

I'm running bitcoin core 26.0 on debian 12. $ /usr/local/bin/bitcoin-26.0/bin/bitcoin-cli importprivkey "5-rest-of-priv-key" error code: -4 error message: Only legacy wallets are supported ...
Lilacrail's user avatar
  • 141
3 votes
1 answer
69 views

How to run the Bitcoin Core functional tests

How do you run the functional tests from the Bitcoin Core Github repository?
Eoin McQuinn's user avatar
1 vote
0 answers
30 views

At what point in time is this "sendcmpct" message sent

In Bitcoin Core, when setting a node to either high-bandwidth mode or low-bandwidth mode, a "sendcmpct" message is sent. At what point in time is this "sendcmpct" message sent? Is ...
masuda's user avatar
  • 81
0 votes
0 answers
30 views

In Bitcoin Core, how do nodes transmit blocks, either in parallel or in series? [duplicate]

In Bitcoin Core, do nodes transmit blocks sequentially to adjacent nodes, or is it a parallel transmission where blocks are sent to multiple nodes simultaneously? Additionally, could you provide ...
masuda's user avatar
  • 81
4 votes
1 answer
370 views

In Bitcoin Core, are blocks sent in parallel or in series?

Are blocks sent in parallel or in series? I would also like to know about the implementation part of Bitcoin Core.
masuda's user avatar
  • 81
1 vote
0 answers
46 views

FAIL: qt/test/test_bitcoin-qt.exe when running 'make' after building Bitcoin Core 26.99.0

I'm building Bitcoin Core 26.99 following this: https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md I'm using this option for building Bitcoin Core on Windows: Windows Subsystem for ...
amaluenda's user avatar
3 votes
1 answer
190 views

How can I run the skipped Bitcoin Functional Tests?

I am trying to run the functional tests. Everything is a pass but I have some tests skipped. Here are some: 260/288 - feature_unsupported_utxo_db.py skipped (previous releases not available or ...
Robert Nakamoto's user avatar
1 vote
1 answer
43 views

What is pchCommand?

BIP152 and BIP130 are using this term. What does it mean? Command name in message header?
Qwerty M3's user avatar
1 vote
1 answer
124 views

What is incremental relay feerate?

In an answer to my previous question, Murch used the term: incremental relay feerate. On first, I thought that's the same as minimum relay fee (minRelayTxFee) - minimum feerate (sat/VB) that ...
LeaBit's user avatar
  • 910
0 votes
0 answers
33 views

Listunspent does not return all utxos [duplicate]

I am using Bitcoin Core to get all UTXOs for watchonly imported addresses. The strategy is the following: I load a new wallet await client.execute("loadwallet", ["testwallet"]) I ...
Nahum Maurice's user avatar
1 vote
1 answer
100 views

SHA-256 hashing algorithm

Where in the Bitcoin github repo is the SHA-256 hashing algorithm defined? Is it a methematical formula?
Eoin McQuinn's user avatar
0 votes
0 answers
68 views

Bitcoin Core not displaying my account balance, can't do anything with it

Over a month ago on , I tried to send my balance from my Bitcoin Core wallet to another wallet on a different client, but I had accidentally set a really low transaction fee, leading to the ...
Shane C's user avatar
0 votes
0 answers
49 views

Where does Bitcoin Core implement announcement of blocks optionally by `cmpctblock` or `inv` messages?

In BIP152 implementation note Nodes MAY impose additional requirements on when they announce new blocks by sending cmpctblock messages. For example, nodes with limited outbound bandwidth MAY choose ...
masuda's user avatar
  • 81
4 votes
2 answers
134 views

What if a miner just broadcasts the header and never gives the body? What will happen?

What if a miner just broadcasts the header and never broadcasts the body? For example: A miner, after having successfully mined some block, just broadcasts the header for all other miners and hide the ...
longyue li's user avatar
0 votes
1 answer
72 views

Gen=0? Will still mine Bitcoin, but will not generate Rewards

I have a debug.log showing approximately 80 rewards from january 2009 to roughly sometime 2011. I am using bitcoin 0.8.6-beta with Gen=1 and I've ran my wallet through bitcoin 0.8.6 a few times. I've ...
Thasthllfe's user avatar
0 votes
0 answers
43 views

Is it possible to make functional tests use my `bitcoind` running node as node?

I'm trying to fix some tests that are broken due to my own changes in the code base, and need to simultaneously run functional tests and bitconid in regtest mode and make functional tests to use my ...
Amir reza Riahi's user avatar
6 votes
3 answers
509 views

Is it advisable to operate a release candidate full node on mainnet?

Bitcoin Core 26.0rc2 was released a few days ago. I've observed that several node operators have already installed this test release candidate version and are running it on the mainnet. Data from ...
deyw's user avatar
  • 550
0 votes
0 answers
42 views

Is it possible to implement further divisibility to Bitcoin in the future? [duplicate]

I’ve been wondering if it would be possible to modify Bitcoin to further split sats so that emission could theoretically continue asymptotically beyond 2140. I’m not an experienced coder (currently ...
b0d's user avatar
  • 33
1 vote
1 answer
120 views

Broadcast transactions through bitcoind without importing private key

My question has already been asked before, and some answers were also already given the question, however, it's not clear to me why I get some behaviour when implementing it. Here are the details: I ...
Nahum Maurice's user avatar
3 votes
1 answer
217 views

Can I connect a hardware wallet to Bitcoin Core using HWI?

Presumably HWI on github.com is to do with creating a hardware wallet interface with Bitcoin Core. Am I correct? What stage is development at presently? Will one be able to connect a hardware wallet ...
Eoin McQuinn's user avatar
0 votes
0 answers
39 views

2 bitcoin transactions are stuck on mempool, one is CPFP

I use BlueWallet and I have two pending bitcoin transaction One outgoing One incoming The outgoing transaction is a CPFP Both the ancestors and descendants transaction are stuck for hours now How can ...
Mike's user avatar
  • 1
4 votes
2 answers
2k views

Where is the bitcoin source code is the 21 million hard cap stated?

I'd like to be able to see the 21,000,000 number.
Eoin McQuinn's user avatar
1 vote
1 answer
202 views

What does it mean that BIP141 is "buried" in Bitcoin core?

I am reading the list of BIPs implemented in Bitcoin core (link) and it says that BIP141 is "buried since v0.19.0", what does that mean? Does this mean that what written in BIP141 is no ...
dassd's user avatar
  • 1,049
0 votes
1 answer
116 views

Who approves the merger of github pull requests to the Bitcoin Core master branch?

Does it have to be one of the 5 Lead Maintainers, or who can merge a pull request to the Bitcoin Core master branch?
Eoin McQuinn's user avatar
0 votes
1 answer
18 views

How can you transfer a seed that crashed a fuzz test via text?

When you run a fuzzer and it crashes, what is a way that you can easily transfer the fuzz seed to the author of the PR?
Murch's user avatar
  • 74.4k
1 vote
1 answer
132 views

What do the files in bitcoin/src/rpc/ do?

I know that RPC stands for Remote Procedure Call. Does Bitcoin Core do RPCs with other nodes on the network?
Eoin McQuinn's user avatar
2 votes
0 answers
26 views

No inv messages from inbound nodes

I'm writing a tx relay-only node that can accept inbound connections and make outbound ones. Just for research. What I'm seeing that on inbound nodes the initial handshake completes and the connection ...
Eva4684's user avatar
  • 41
2 votes
1 answer
113 views

Where can I find the list of all possible sendrawtransaction RPC error codes & messages?

Where can I find the list of all possible sendrawtransaction RPC error codes & messages? Such as this: {"code":-22,"message":"TX decode failed. Make sure the tx has at ...
jiamijiang's user avatar
2 votes
2 answers
261 views

Does each bitcoin node do Continuous Integration? Is this merely the process of the node syncing with the network? What is involved with it?

I notice the folder in the bitcoin core github repo for CI, and would like to know more about it. I have read the entry in Wikipedia for Continuous Integration.
Eoin McQuinn's user avatar
0 votes
1 answer
231 views

Understanding fee calculation in Bitcoin Core

In the following post Calculating fee based on fee rate for bitcoin transaction the respondent describes how the fees can be calculated. Since your transaction building starts with a known target ...
yancy's user avatar
  • 1
2 votes
2 answers
123 views

Why do we need github.com/bitcoin-core, when we already have github.com/bitcoin/bitcoin?

There is already github.com/bitcoin/bitcoin, so why do we need to have github.com/bitcoin-core? The GUI bit is stored in github.com/bitcoin/bitcoin under the qt section, so I don't see why we need to ...
Eoin McQuinn's user avatar
8 votes
1 answer
142 views

Why doesn't Bitcoin Core use auxiliary randomness when performing Schnorr signatures?

BIP340 recommends using auxiliary randomness in generation of the Schnorr signature nonce, as follows: Using unpredictable randomness additionally increases protection against other side-channel ...
Matthew Leon's user avatar
1 vote
1 answer
154 views

What does Bitcoin Core need to be upgraded to 1.0?

At what point is Bitcoin Core considered good enough to have its next version upgrade be 1.0? I understand there are good reasons to be conservative about versions numbering, but I genuinely wonder ...
thibm's user avatar
  • 33
1 vote
0 answers
84 views

How to fix this error?: Signature must be zero for failed CHECK(MULTI)SIG operation (code -26)

I'm trying to unlock money from P2SH 2NG4PEU9rya1fcqAfSvQQAteaUkvc54J1fF, but the library is not used by https://www.youtube.com/watch?v=U2bw_N6kQL8 When I combine the Tx, I hash the Tx with SHA256 ...
Mum Jokmok's user avatar
5 votes
1 answer
185 views

Why does bitcoin.core's algorithm uses ancestor score instead of just ancestor fee rate to select transactions?

In bitcoin.core's implementation of the greedy knapsack algorithm to select transactions to go into a block for mining, the heuristic used to order transactions is based on an "ancestor score&...
algo2043's user avatar
3 votes
1 answer
211 views

Questions about secp256k1_pubkey_load/save() implementation

I'm a newbie who has just started reading Bitcoin Core code. I have a lot of questions about seemingly trivial code. Right now, I have two questions. When branching to an if statement, why is the ...
r_comma_s's user avatar
1 vote
1 answer
103 views

Is it possible to use the getboolarg function in interpreter.cpp

I'm looking to use the GetBoolArg() function in the interpreter.cpp file what changes do I have to make for it to work? I'm still new to development c, I tried several #include but without success. ...
Retro_pex's user avatar
  • 107
1 vote
0 answers
73 views

Bitcoin Testnet blockchain data torrent

Is there a torrent to get the blockchain data faster for Bitcoin Testnet?
user142267's user avatar
6 votes
1 answer
876 views

How could Bitcoin developers handle and resolve severe software vulnerability without drawing public attention?

I am curious about the process Bitcoin developers follow to address and resolve critical software vulnerabilities, such as bugs or flaws, that could be exploited by attackers to disrupt the network or ...
deyw's user avatar
  • 550
0 votes
0 answers
21 views

An Unconfirmed transaction [duplicate]

I made a transaction with a very low fee and it has been more than 14 days (2weeks) it’s still showing pending. No confirmation nothing. I’m just wondering what will happen. Will the transaction ...
Emmanuel's user avatar
4 votes
1 answer
145 views

Is it okay to open a pull request while there there's little done?

I'm working on an issue in the Bitcoin Core. This is my first issue and so I have some questions. Is it good practice to open a pull request and ask reviewers of the pull request to help me or I ...
Amir reza Riahi's user avatar
3 votes
1 answer
153 views

Bitcoin Core v23 using more inputs than necessary costing more fees

Bitcoin core v23 has been handling input selection just fine until the feeRate (in kvb) was set to "0.0005". It began aggressively consolidating inputs costing me more in paying for ...
Sky Tech's user avatar

1
2 3 4 5
13