Skip to main content

Questions tagged [bitcoin-core-development]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
98 views

Why changing Bitcoin Cap Limit Is Not Possible

To alter the Bitcoin blockchain protocol, such as increasing the Bitcoin cap, a consensus among the majority (95%) of participants is necessary due to decentralization and the consensus mechanism. ...
Burair abbas's user avatar
0 votes
0 answers
26 views

Why is there a separate bitcoin and bitcoin-core GitHub repo? [duplicate]

Can someone explain why these two repositories exist at the same time? https://github.com/bitcoin https://github.com/bitcoin-core It is a bit confusing for a newcomer to the codebase what to actually ...
Neo's user avatar
  • 53
0 votes
1 answer
53 views

When should Bitcoin Core functional tests be run?

When should functional tests be run? Or is it always a good time to run functional tests?
Eoin's user avatar
  • 349
0 votes
1 answer
26 views

What does this functional test include?

Does the test test/functional/test_runner.py include all possible functional tests, or is it just a dummy initial test run?
Eoin's user avatar
  • 349
0 votes
0 answers
32 views

Bitcoin Cross-compilation failed with errors in notification.cpp

sudo apt update sudo apt upgrade sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git installed all the dependencies in dependencies.md sudo apt install ...
Nobody's user avatar
  • 1
2 votes
1 answer
210 views

Moving the entire directory to new location for Bitcoin Core CLI

I use Bitcoin CLI and not the QT one, when syncing i used a external SSD to store blocksdata in SSD, obviously noob me didnt know of datadir function Now my Chainstate, txindex are in roaming folder ...
123demigod's user avatar
-3 votes
1 answer
61 views

How many ways are there to Read Satoshi era Wallets?

I've come acrossed a few - running the original Satoshi v.0.1.0 through v.0.1.5 Clients all the way up to Satoshi v.0.7.x - I believe all of these can read Original Satoshi Wallet.dat(s) - I have a ...
Thasthllfe's user avatar
2 votes
1 answer
34 views

Distribution range for sending transactions to inbound and outbound connections

I would like to know in which files of the Bitcoin core code can I find the transaction propagation algorithm. The exact thing I need is to know the distribution range when the transactions are sent ...
Thomas's user avatar
  • 41
-1 votes
1 answer
39 views

Fees file for miners?

Among its name, this file (fee_estimates.dat) should contain fees for the miner. Am I right ? Do you know when it will be integrated in the wallet balance ?
Romain's user avatar
  • 41
-1 votes
1 answer
33 views

based bitcoin address decentralized IP address, Abolish ipv4 and ipv6

THE IDEAL PATH What if we replace the controlled and surveilled IP addresses with new internet addresses that are based on bitcoin address? These addresses will inherit all bitcoin address features, i....
cretaceoussss's user avatar
2 votes
0 answers
58 views

Reverse-engineering Bitcoin to a formal specification

Is there any attempt/project to reverse-engineer Bitcoin's reference implementation, not to an informal description (I have found those), rather to a formal specification? I have tried searching but ...
Julio Di Egidio - inactive's user avatar
2 votes
1 answer
118 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
81 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
22 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
91 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
2 votes
1 answer
49 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
33 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
34 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
1 vote
2 answers
172 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
394 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
83 views

How to run the Bitcoin Core functional tests

How do you run the functional tests from the Bitcoin Core Github repository?
Eoin's user avatar
  • 349
1 vote
0 answers
34 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
382 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
60 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
217 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
46 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
166 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
  • 980
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
119 views

SHA-256 hashing algorithm

Where in the Bitcoin github repo is the SHA-256 hashing algorithm defined? Is it a methematical formula?
Eoin's user avatar
  • 349
0 votes
0 answers
115 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
50 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
141 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
117 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
46 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
513 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
  • 560
0 votes
0 answers
66 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
194 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
296 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's user avatar
  • 349
0 votes
0 answers
40 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
3k 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's user avatar
  • 349
1 vote
1 answer
260 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,099
0 votes
1 answer
168 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's user avatar
  • 349
0 votes
1 answer
19 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
  • 76k
1 vote
1 answer
138 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's user avatar
  • 349
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
172 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
269 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's user avatar
  • 349
0 votes
1 answer
356 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
  • 11
2 votes
2 answers
152 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's user avatar
  • 349

1
2 3 4 5
13