Questions tagged [bitcoincore-development]

This tag should be used for questions regarding Bitcoin Core development. This includes questions about the source code and development of Bitcoin Core.

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

I have written a test for an open Bitcoin Core PR. Should I open a PR to the author's fork or wait for it to be merged?

I have written an additional test for an open Bitcoin Core pull request (PR). Should I seek to extend the PR by forking the author's fork of Bitcoin Core and opening a pull request to his PR branch? ...
-2
votes
0answers
47 views

Confirm Licenses for Bitcoin Core for new book by Oxford University Press

I hope that I can get you or someone else familiar with the licensing of Bitcoin Core to assist me. You can reach me at mark.radcliffe@dlapiper.com I am writing a chapter in a book entitled on Free ...
1
vote
1answer
20 views

What is in the Bitcoin Core LevelDB dbcache? Is it full records or metadata?

What is in the Bitcoin Core LevelDB dbcache? Is it full records or metadata? This question was asked on IRC by Anonymous.
0
votes
2answers
34 views

What is ccache? When should I use it when building and reviewing Bitcoin Core PRs?

What is ccache? Can you provide some guidance on when to use it for building Bitcoin Core PRs and how to use it?
2
votes
1answer
90 views

What is Valgrind? When should I use it for debugging Bitcoin Core over using gdb, lldb, pdb etc?

I was watching Fabian Jahr's presentation on debugging Bitcoin Core at Bitcoin Edge Dev++ 2019. He mentioned Valgrind briefly at the end. What is it and when should I use it over gdb, lldb, pdb etc?
0
votes
1answer
17 views

How do I view information on the peers my Bitcoin Core full node is connected to?

I would like to view information on the peers my Bitcoin Core full node is connected to. How do I do this?
-3
votes
1answer
33 views

What should I do with my crippled Bitcoin Core? How can it be this unstable still after 10+ years?

Recently, I've had serious issues with my Bitcoin Core. I've installed old versions and reinstalled the new version and done everything to debug it, but it's just crippled. It either gets stuck ...
1
vote
1answer
45 views

How do I build and review a Bitcoin Core GUI pull request?

I am a designer and I would like to start reviewing pull requests (PRs) in the Bitcoin Core GUI repository. How do I build the adjusted Bitcoin Core GUI in the pull request? I am used to just double ...
0
votes
1answer
14 views

What is the difference between node, peer and mininode in the functional test framework in Bitcoin Core?

I am learning about the functional test framework in Bitcoin Core. I am seeing the terms "node", "peer" and "mininode" being used. How are these defined and how are they ...
5
votes
2answers
148 views

How do I get started debugging Bitcoin Core functional tests?

I would like to get started with debugging Bitcoin Core code. I have heard debugging Bitcoin Core functional tests is a good place to start as they are in Python rather than C++ and they are easier to ...
1
vote
1answer
63 views

Why do some Bitcoin Core “good first issues” require scripted-diffs?

I am looking at a good first issue on the Bitcoin Core repo to find and replace a string. But it appears I need to write a scripted-diff and the examples look complicated. What is the point of the ...
0
votes
1answer
45 views

How to generate Hash160 from a private key with the Bitcoin module

I want to fix the script code. The script generates from a random private key Bitcoin Address by function (pubtoaddr) and works on the Bitcoin module: https://github.com/primal100/pybitcointools/blob/...
3
votes
1answer
36 views

Should I run the tests every time I review an open Bitcoin Core PR?

I am reviewing an open Bitcoin Core PR. Should I run the tests or can I rely on the CI (continuous integration) output to catch test failures? If I am to ACK a commit should I seek to catch flaky ...
6
votes
1answer
169 views

How does Bitcoin Core know it's on the longest chain?

In trying to implement a client, I am wondering what is the most efficient approach to figure out if you are on a fork. Let's say you pick a peer at random and go through IBD using the headers-first ...
2
votes
1answer
64 views

Can we experiment on Signet with multiple proposed soft forks whilst maintaining the ability of full nodes to validate the Signet chain?

One of the goals of Signet is to test proposed soft forks before they are activated on mainnet. Not only does this mean proposed soft forks such as Taproot that at the time of writing (August 2020) ...
4
votes
1answer
121 views

Will there be a testnet4? Or do we not need a testnet reset once we have Signet?

The last testnet reset was for the current testnet3 back in 2012 (not including segnet which was a testnet for SegWit before SegWit was activated on mainnet). Are we due another testnet reset? Or is ...
5
votes
1answer
96 views

How do I get set up on Signet?

I have heard about Signet here and here. How do I get set up on Signet?
9
votes
1answer
223 views

What is the motivation behind Russell Yanofsky's work to separate Bitcoin Core into independent node, wallet and GUI processes?

What is the motivation behind Russell Yanofsky's work to separate Bitcoin Core into independent node, wallet and GUI processes? What are the advantages to process separation?
1
vote
1answer
37 views

Could CHECKSIGADD be used on new ECDSA multisignatures instead of CHECKMULTISIG?

The proposed Taproot soft fork (BIP 342) defines the new opcode OP_CHECKSIGADD to verify Schnorr multisignatures whilst OP_CHECKMULTISIG (and OP_CHECKMULTISIGVERIFY) are disabled for Taproot spends (...
2
votes
2answers
70 views

Given OP_VER was never used, is disabled and not considered useful can its meaning be stripped and it be made OP_SUCCESS?

Given OP_VER (0x62) was never used onchain, is disabled and is not considered useful can its meaning be stripped and it be made OP_SUCCESS for the purposes of introducing a new different opcode in ...
2
votes
2answers
138 views

Why is the scriptSig formatted this way in the Genesis Block (inside function CreateGenesisBlock)

I was exploring the function static CBlock CreateGenesisBlock inside src/chainparams.cpp and I was looking at the way Satoshi created its scriptSig: txNew.vin[0].scriptSig = CScript() << ...
3
votes
1answer
63 views

Any idea why Bitcoin Core signature is untrusted?

It's suppose to be a trusted signature, right?. I'm downloading Bitcoin Core from bitcoin.org gpg --import laanwj-releases.asc gpg: key 90C8019E36C2E964: 51 firmas no comprobadas por falta de claves ...
0
votes
1answer
30 views

Is there already reached consensus on network upgrades like Taproot, Submarine Swaps?

I have read about some very interesting new protocol amendments. I am not asking for their explanations, but would be great if anyone explained their current status, if they are still considered to ...
0
votes
1answer
26 views

Address Reuse for Multisig Address

It is De facto standard that address should not be reused, and even Bitcoin officially emphasis address should not be reused. Does the same condition apply for Multi-signature address ?, If Yes apart ...
0
votes
0answers
23 views

How data should be build in submitblock

I am trying to understand how bitcoin works internally in solo minning, and i am a little confused with the submitblock method: version: The current version prev block: The previous block merkle ...
0
votes
1answer
50 views

Bitcoin V0.1 Not Connected

My Bitcoin V 0.1 says, "not connected" when I try to generate coins. I have ensured the port is connected through the firewall. Also, I have read that V 0.1.3 corrected this problem. However,...
2
votes
0answers
17 views

Which major/noteworthy BIPs, Soft-Forks and Hard Forks have there been since the Summer of 2017 (after SegWit/Bitcoin Cash)?

There are many lists of major forks however most of them end after SegWit. The full list of BIPs is extensive. Which noteworthy BIPs, Soft Forks and Hard Forks have there been since SegWit and Bitcoin ...
4
votes
1answer
51 views

Where is the block reward system coded in Bitcoin core?

I'm taking a look at Bitcoin core and am looking for where the TX is effectively "generated" and send out to an address. I've found the nSubsidy block reward, but I'm currently looking for where the ...
1
vote
2answers
116 views

segwit compatilibity bc1 and 3 bitcoin wallet?

I would like to know what's the better aproach for upgrading from a legacy address to a segwit one, but there are two type of segwit as P2SH starting with 3 and Native SegWit (bech32) starting with ...
2
votes
1answer
76 views

When “lock time” was added to Bitcoin?

Since when lock time exist in Bitcoin transactions?
0
votes
0answers
36 views

In Bitcoin source code, where is the mining algorithm located?

How do I locate the files that contain the parameters of the algorithm used by Bitcoin? What steps are necessary if I wanted to experiment a change. and implement a different algo?
0
votes
1answer
31 views

Undo files format change and reorg process question for v0.19

This is a follow-up question for rev.dat file format Pieter Wuille gave a great explanation that is easy to follow. Since that posting there was a replacement of CTxInUndo with Coin, does the format ...
3
votes
1answer
68 views

Why is the bitcoin client still in beta

As of today the official bitcoin core version is 0.19.1 why has it not go to 1.0 version yet ? Is there a timeline from the developer team ? I have seen this similar question from 8 years ago: Why ...
0
votes
1answer
17 views

the client's 'invalidateblock' debugging command - possible prevention against majority attack?

there is a 'invalidateblock' debugging command in the btc client. How can this command be used in a situation of majority attack threat and play a part of countering the attack? I understand that ...
0
votes
2answers
92 views

bitcoin core test config error

I tried configuring the bitcoin core test by editing the bitcoin.conf file with the required credentials. Earlier, before the writing the test credentials it was a running full node. now the error is ...
0
votes
1answer
45 views

How does a miner’s pubkey get passed into miner.cpp?

I understand that a miner using an application like pooler’s cpuminer can set a Coinbase-txn address where new coins that are generated to. I’m trying to override this setting in the code of the core ...
0
votes
0answers
34 views

Bitcoin non-standard transaction

Is there a way to create raw bitcoin transaction without balance to a new bitcoin address in the bitcoin testnet. Maybe by referencing past utxo but signed with a different key. It might not be like ...
0
votes
1answer
62 views

How ./configure Bitcoin Core build to pick up depends build and installation path at the same time?

I'm trying to build Bitcoin Core and, if I understand it correctly, the configure script uses the --prefix= option twice, once for the inclusion of the depends build (from depends/README.md): **...
0
votes
0answers
21 views

Which is the suitable simulator for showing that transaction throughput has been increased while changing transaction structure in bitcoin blockchain?

I am working on a research in bitcoin blockchain where I am making some changes in conventional transaction structure of bitcoin blockchain. Due to this, it helps to increase the transaction ...
-1
votes
1answer
45 views

If i download the 160GB downloading , i will be global node?

i have a question , i've searched a lot but no answers i get i've installed bitcoin core and after opening the app , it is downloading about 160GB and its gonna take two weeks to be completed my ...
0
votes
1answer
66 views

How to add an address to a CheckLockTimeValue (CLTV) transaction output using bitcore-lib (or any other js lib)

I am using bitcore-lib to create transactions. I can add an output with CLTV to the transaction but am unable to add an output address to it. This is my code (typescript/node): const lockScript = ...
2
votes
1answer
118 views

Is there a 'command' to get the max supply of bitcoin that will ever exist using the bitcoin-cli?

I would like to know if there a way('command') to know what is the max supply of bitcoin using my own node without trusting a third party. Also if anyone could explain to me why : bitcoin-cli ...
1
vote
3answers
54 views

Bitcoin future mass usage for payments - how feasible is it without real privacy

The bitcoin is by many people believed to be used as a method of payment, just like fiat currencies, in the future. Apart from the other big use case of a stable store of value. But the payment use ...
0
votes
1answer
66 views

Bitcoin privacy - current state of privacy BIPs - is mimblewimble broken?

Community, what is the current state of privacy related BIPs? Anything on the roadmap by core devs to be deployed on main chain within the next year? IF yes, could you link me to this BIP(s)? And ...
0
votes
0answers
18 views

Which Bitcoin simulator can i use where changes in nonce size is possible?

I want to run a Bitcoin simulation in which I can have double nonce running in a loop on the block header, and I can also change the nonce sizes. which simulator can I use for this?
1
vote
1answer
78 views

Property based tests have been added to Bitcoin Core. What are they and could they replace some of the unit tests in Bitcoin Core?

Property based tests have been added to Bitcoin Core. This Dev article describes property based tests as randomized unit tests that in some cases could replace unit tests. "Generally speaking, ...
12
votes
3answers
1k views

What does Bitcoin policy language offer the developer that Miniscript doesn't? What is the difference between Bitcoin policy language and Miniscript?

I understand that policy language compiles to Miniscript and Miniscript compiles to Bitcoin Script. This is also a great resource on Miniscript: http://bitcoin.sipa.be/miniscript/ But I know very ...
2
votes
1answer
51 views

what is the significance (if any) of “ACKs for top commit:” in the git commit messages of bitcoin core?

There seems to be a reasonably standardized format for some, but not all, commit messages in bitcoin's git repository. For example, in addition to the usual expository commit message, this commit (...
0
votes
0answers
61 views

Extract ECDSA parameters from Bitcoin Blockchain Block

I am trying to extract the parameters of ECDSA signature used in bitcoin to run some tests. For that i need to obtain : --- r and s , i.e., the ECDSA signature --- H(m) , the hash of ...
3
votes
1answer
121 views

Can someone explain the output from running Bitcoin Core unit tests on Mac OS please?

When I build and run the unit tests on Mac OS using the make check command the output contains these two summaries (images uploaded below). Why does the testsuite summary initially summarize zero ...

1
2 3 4 5
8