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
0
votes
0answers
15 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
43 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
50 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
57 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
73 views

When “lock time” was added to Bitcoin?

Since when lock time exist in Bitcoin transactions?
1
vote
0answers
22 views

When is it intended to push to main network upgrades like Taproot, Submarine Swaps?

I have read about some interesting BIPs/projects. I am not asking for their explanations. I simply like to know about their current status - When the dev community intends to implement them on the ...
0
votes
0answers
34 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
0answers
19 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
61 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
14 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
61 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
42 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
32 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
47 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
44 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
60 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
77 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
52 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
55 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?
0
votes
1answer
33 views

Facing problem of “relay fee” in sending funds from one account to another

I have problem with bitcoin in sending payments from one user to another user. Please help with possible solutions
10
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
42 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
55 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
105 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 ...
0
votes
1answer
31 views

Where does Bitcoin Core store DB_LAST_BLOCK?

My understanding is that Bitcoin Core stores where it left off(DB_LAST_BLOCK) in $DATADIR/blocks/index. But which is the actual file bitcoin core stores it at?
1
vote
1answer
68 views

How Does Bitcoin Core Client Keep Track of Longest Chain/Strongest PoW Chains?

Bitcoin Core stores blocks in files in local disk. And it uses LevelDb to form an index on top of block storage to make it faster to retrieve a block (basically a simple key-value pair db). See this ...
1
vote
1answer
61 views

Is Bitcoin Core required for wallet projects?

My team wants to create a cryptocurrency service provider platform to Sell/Buy BTC and something else in form of web/mobile app. It's about one month that I have been studying different articles about ...
0
votes
0answers
23 views

What is the algorithm used to calculate profitability for Bitmain mining SHA-256 [duplicate]

I want to know how I can calculate the profit of bitcoin mining using SHA-256 Algorithm. I am interested in the formula that is used by calculators. For example lets say I have 700mh/s hashrate, ...
0
votes
1answer
70 views

How to calculate the Public key P2SH from hexadecimal script?

My study on the scripts goes next. I'm creating a ScriptPubKey decompiler, now I have a problem with the P2SH, So how is calculate the key p2sh? I using this code but I not think is correct ...
0
votes
0answers
166 views

How get the public key to hex script? like command decodescript of bitcoin core

If I want to recreate the command decodescript of bitcoin core? how is the process for decode the script P2PK? So I'm writing for personal exercise the Bitcoin script decompiler, form moment I have a ...
3
votes
0answers
47 views

How to segregate wallet from bitcoin core | Run multiple wallets in different servers on one centralized bitcoin node

I am running bitcoin full node in a centralized server. I have many web applications running in various places. I want to connect this web applications with centralized full bitcoin node. How to ...
1
vote
2answers
78 views

What testnet environment and configuration for Bitcoin?

Every tutorial I have gone through to download bitcoind, I haven't been able to complete because my computer can't handle the full node download. These are my specs: 2017 Processor - 2.3 GHz Intel ...
-1
votes
1answer
38 views

Spend and unspent

Please I sent btc to a particular wallet, initially it was both showing unspent but I only see one spent now what does it mean?
1
vote
0answers
30 views

Bitcoin SPV not able to fetch transactions

I am developing a Bitcoin wallet SPV and using 3rd party SDK for the same. However, I tried to create wallet and it gets successfully created and I can also restore those wallets but amount and ...
0
votes
0answers
41 views

Do I need to download whole blockchain?

Im using bitcoin core debian linux to process payments on my shop using RPC API calls. Now im switching wallet server, do I need to download whole block chain in order to process transactions on my ...
0
votes
1answer
33 views

What does the scriptSing contain when it is decoded with RPC framework?

I'm trying to get the wallet id from scriptSing and ScriptPubKey. When I decode the scriptSig, the result does not contain the address address. But when I decode the scriptPubKey, it contains the ...
1
vote
1answer
65 views

Original Bitcoin (Core), how did it generate private key?

I'm a newbie at this, but I have a question. How did the original Bitcoin (Core) v0.1 program generate random private keys? I was hoping for the exact source code or at least a good description of ...
4
votes
1answer
67 views

What are the downsides of integrating accumulators like utreexo to bitcoind?

Inspired by the discussion in this question I wonder what would be the downsides of adding accumulators like utreexo (paper at: https://eprint.iacr.org/2019/611.pdf) to bitcoind? On the positive ...
0
votes
1answer
64 views

Total Bitcoins in circulation on any given day? [duplicate]

I'm creating a spreadsheet to track total bitcoins in circulation from day 1. This would be to add up each Bitcoin per day created and add to an accumulating total. For example, if we picked any day ...
0
votes
1answer
195 views

How do I start a bitcoind server in deprecated mode for multiple functions

I have a bitcoind server running bitcoin-core version 0.17. Now since I need to use deprecated RPC methods I need to start the bitcoind server in deprecated mode, so I am already able to run it to ...
1
vote
2answers
258 views

How do I install a specific version of bitcoin-core

I need to run bitcoind version 0.17, however the latest available version is 0.18, if I follow the instructions from this link it installs the latest version. The below links lists the packages for ...
12
votes
1answer
1k views

Where in Bitcoin Core does it do X?

Note that this is a general question and answer designed to serve as a guide for finding things in Bitcoin Core. Where in Bitcoin Core's source code does it do X? How can I find that code by myself? ...
0
votes
1answer
241 views

How to transfer BTC balance when I have Private Key? [duplicate]

I have BTC public address and privatekey with balance. Can I Transfer the balance for another address?
0
votes
1answer
126 views

bitcoind bulk import private keys to different wallets and update with one rescan

I was wondering if someone already has this thoughts or problems: I generate bitcoin addresses and private keys by a script - to not depend on the bitcoin daemon and manage them in a database. By ...
7
votes
1answer
411 views

Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?

TWO questions on Neutrino:: 1) Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network? Or other formulation: ...hinder higher degree of decentralization? Why ...
0
votes
0answers
79 views

Exception CompactSize when I parsing the blk file >= 976

I wrote a bitcoin core parser, for my personal project and because it helped me to start understanding the bitcoin protocol as a data structure. This project mainly parsers every blk file and creates ...
3
votes
1answer
65 views

Differences to CCompactSize and CVarInt

I'm developing a parser bitcoin core and I have a problem whit the type CVarInt, I using the decodifier mode of the CCompact size but at the block 976 I Have a problem whit the type, because the value ...

1
2 3 4 5
7