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
2answers
19 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 ...
12
votes
4answers
3k views

Who controls the Bitcoin software?

Is there anything comparable to a "board of directors" for Bitcoin or is the software on complete cruise-control?
0
votes
1answer
38 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
27 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
28 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
19 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
38 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
83 views

json-rpc of bitcoin not working for testnet(curl command)

I am trying this command to get transaction from bitcoin testnet: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["txId"] }' -H 'content-type: text/...
-2
votes
1answer
68 views

Why does bitcoin not have live support

I have at least to wallets never spent from that were recently restored 1 has 50 bitcoin the other I believe at least a thousand started in 2009 my question is who has access to remotely upgrade my ...
0
votes
1answer
47 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
57 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 ...
3
votes
4answers
2k views

Are there any opensource PHP cryptocurrency exchange/marketplace

As the title suggest, are there any opensource PHP cryptocurrency exchange/marketplace. Most of the ones I found does not seem to work or are abandoned.
0
votes
1answer
102 views

CScript to CPubKey or derive CPubKey from CScript

Please can someone advise if it is possible to derive the CPubKey from a CSript object? Provided i get it up with an address before hand, I can use numerous functions to attain all the info from the ...
0
votes
1answer
29 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
0
votes
1answer
75 views

Converting raw scriptPubKey to readable format

I am debugging Bitcoin cpp code. I wanted to see what exactly come for scriptPubKey property of output. Theoretically, I know this but I want to see in the code how does it looks like. Now while ...
0
votes
2answers
42 views

Bitcoin core make error

I am new to bitcoin core development. I have created a clone using bitcoin core on a mac os mojave 10.14.3. I am have installed all dependencies and am able to run the autogen.sh and configure with ...
1
vote
3answers
48 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
42 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
1answer
47 views

Need to use two bitcoin core but issue with syncing

Need to know how we can use two bitcoin node for example. I do have two bitcoin full nodes A and B. Created wallet address at A and has all transaction details at wallet.db in node A. But I need to ...
1
vote
1answer
51 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 ...
0
votes
0answers
16 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?
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
33 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
52 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
100 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
vote
1answer
44 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 ...
3
votes
2answers
2k views

What is the difference between on-chain scaling and off-chain scaling?

What is on-chain scaling and off-chain scaling? What is the core difference between on-chain scaling and off-chain scaling?
0
votes
1answer
29 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?
4
votes
1answer
42 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
175 views

Different redeemScript for the same scriptPubKey?

Most transaction outputs to P2SH addresses have the following scriptPubKey: HASH160 f45d94733d430261962932e0c847075195916a04 OP_EQUAL As I understand it, this transaction do not need to be signed. ...
0
votes
2answers
833 views

Bitcoin adder or bitcoin generator or bitcoin hacker software

Nowadays I always see many persons selling bitcoin adder / bitcoin generator or bitcoin hacker software claiming that these are creating 1 bitcoin or more. I am unable to believe authenticity of ...
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, ...
1
vote
2answers
182 views

Debugging Bitcoin Core with gdb - how to turn off compiler optimizations

I ran the configure script with the --enable-debug flag, then ran make. I am running unit tests: gdb --args src/test/test_bitcoin --log_level=all --run_test=script_standard_tests I'm trying to step ...
0
votes
1answer
41 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
101 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 ...
-1
votes
1answer
27 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?
3
votes
0answers
42 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
51 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
vote
1answer
146 views

Adding Dependencies to Bitcoin Core

I am currently editing a fork of Bitcoin Core. I have three libraries I would like to add as dependencies. One is my own creation (CPISync) and it depends on a second library (NTL) which in turn ...
1
vote
0answers
27 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
37 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
32 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 ...
0
votes
1answer
105 views

Help With Gitian-Builder - Failed to load “rcfile”

I' having hard time building the Bitcoin using gitian-builder. I'm getting closer but i'm stuck at this error and I dont know what it really means or why is it even there. I'm using the gitian-build....
0
votes
0answers
74 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 ...
1
vote
1answer
51 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 ...
0
votes
1answer
52 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
121 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
189 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
140 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?

1 2 3 4 5 7