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.

63 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
54 views

Why does my full node need to load IP addresses from DNS seeds on restart?

I stop one of my Bitcoin Core full nodes (v0.19.1) with 10 connections and then start it again. It needs to load IP addresses from DNS seeds. Why is this? Why doesn't it try the addresses of peers it ...
3
votes
0answers
55 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 ...
3
votes
4answers
3k 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.
3
votes
2answers
1k views

Debugging bitcoind

How do you attach a gdb to a bitcoind daemon. I wish to step through the functions. Here is what i have tried. gdb --args bitcoind -regtest -daemon This however exists when the daemon starts. So i ...
3
votes
0answers
92 views

Whisper Implementation in Bitcoin

Is there some kind of implementation in bitcoin to communicate between nodes, which is similar to the Whisper Communication in Ethereum ? Whisper, is a communication protocol for DApps to communicate ...
3
votes
1answer
179 views

What is the age of the oldest known Bitcoin core developer?

I am trying to compile some demographic data on who has contributed to Bitcoin so far and track how the demographics are changing over time. Since GitHut does not show me demographic data I have ...
3
votes
1answer
249 views

Can there be more than one result of decoding a raw transaction?

I was looking in rpcrawtransaction.cpp and came across the signrawtransaction rpc method. While reading through this method, I thought these lines seemed strange: vector<CTransaction> ...
3
votes
1answer
78 views

How the Bitcoin community will handle attacks on a Client's code?

I have some thoughts about the following scenario. The brightest future. The Bitcoin becomes a very popular and liquid currency all over the world. Some serious financial or political parties may ...
2
votes
1answer
23 views

What vulnerabilities have been found in Bitcoin Core using fuzzing?

Is there a list of vulnerabilities that have been found in Bitcoin Core using fuzz testing?
2
votes
0answers
47 views

Linking libsecp256k1 as shared library to Bitcoin Core

I'm not sure if this question is better suited in the context of Autotools, but since it's about Bitcoin Core, I'll try to ask it here. I am trying to Compile/Link libsecp256k1 as a shared library ...
2
votes
0answers
22 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 ...
2
votes
0answers
128 views

Why bitcoin does not generate and support Segwit addresses by default automatically?

I downloaded the latest bitcoin core, but the generated wallet and address was not a segwit. Why bitcoin core, does not support segwit by default? and when it will be changed?
2
votes
0answers
250 views

How do i loop through all the related address in a given wallet address

I am using bitcoin block chain API, it is possible to get amount sent in a transaction id and the addresses it was sent to. My problem is getting the RELATED ADDRESSES to the address that sent the ...
2
votes
0answers
61 views

Which function is called to mine a block, broadcast the newly mined block & receive a newly mined block?

I am trying to understand the control flow and handling of transactions in the memory pool.
2
votes
0answers
94 views

Debug bitcoin protocol implementation

When I'm trying to send a "VERSION" message with my custom bitcoin client, I get: Warning: Local node 127.0.0.1:56425 misbehaving (delta: 1)! What does it mean? How do I know what exactly is wrong ...
2
votes
1answer
729 views

What is the required input for python-bitcoinlib getrawtransaction command?

I am running a bitcoin node on my machine, fully synced with RPC commands enabled, rpc server live and txindex=1. In the command-line I can run the following RPC call and obtain the information ...
1
vote
1answer
29 views

What does the MiniWallet class currently do and need to do in the Bitcoin Core functional test framework?

I tried to run the Taproot functional tests after building Bitcoin Core with the wallet disabled (as I knew there was no Taproot code in the Core wallet at the time of writing, December 2020). However,...
1
vote
1answer
72 views

How to improve bitcoin-qt when downloading blockchain? (very technical, dev views appreciated)

GitHub suggested discussing here before bothering developers with an issue. So be it! :) I'm running Bitcoin Core Version v0.20.1 and Linux Mint 18.3 on crappy old hardware. Pruning blockchain to 2 G ...
1
vote
0answers
61 views

Bitcoin “scantxoutset” rpc command return response too slow

For one of our decentralized mobile wallet, We need to fetch balance of imported BTC address quickly. After lot of research on google then I found Bitcoin deamon rpc command "scantxoutset", ...
1
vote
1answer
81 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 ...
1
vote
0answers
33 views

Transaction broadcast mechanism

After initiation of transaction, transaction will remain in the memory pool of all peered nodes. How Transaction reach to the memory pool after receiving by the node? Do transaction broadcast to all ...
1
vote
0answers
16 views

how do i change my bitcoin cleint application?

I recently downloaded the bitcoin (--testnet) blockchain data using Bitcore(I thought it was the Orginal client) for some development purpose. but now, I like to move to bitcoin core client. Should I ...
1
vote
0answers
161 views

Sources to study Bitcoin source code, more specifically its UTXO model C++ code?

Can anyone suggest some sources to learn about the source code of bitcoin or similar tech which are using UTXO model for their transactions.
1
vote
0answers
194 views

How do bitcoin nodes know their own external IP address?

I'm studying the bitcoin source code and I have a doubt about if: Bitcoin nodes still follow the methods explained at the "Satoshi Client Node Discovery" wiki page? More specifically, if they follow ...
1
vote
0answers
84 views

Trying to connect to bitcoin core on Google Compute Engine from an external IP, I was getting “couldn't connect to host error”

I have having issue connecting my bitcoincore from an external ip address (Hostgator to be specific). The Bitcoin core is hosted on Google Compute Engine (Windows Sever 2012). Here is what i have ...
1
vote
0answers
75 views

Using blockcypher BitcoinJs at clientside is secure or not?

I am trying to create new transaction using bitcoinjs at client side. Is it a secure way to create a transaction from Client side, which includes curl call. Scenario, if I start from creating the new ...
1
vote
0answers
52 views

Do we know which companies donated to Bitcoin Core development?

Similar to a previous question (How do the people who work on Bitcoin Core get paid?) which I felt does not adequately answer my interest. Do we know specifically which developers are drawing a ...
1
vote
0answers
777 views

bitcoind transaction fee calculation

I'm using bitcoind and for the transfer of tokens from one account to other, I'm using sendFrom method. but there is a transaction fee calculation and on the bitcoin-qt panel, In the transactions ...
1
vote
0answers
276 views

Explanation of parameters from bitcoin/src/chainparams.cpp

Please explain the following parameters in bitcoin chainparams.cpp file consensus.powLimit = int256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); consensus....
1
vote
0answers
83 views

C++ Proofofworklimit to bitcoinj util.DecodeCompactBits

What is equivalent bitcoinj util.DecodeCompactBits for below c++. Cbignum(~uint256(0) >>32) Cbignum(~uint256(0) >>20) Cbignum(~uint256(0) >>23) Cbignum(~uint256(0) >>22)
1
vote
0answers
100 views

Why do transactions get verified before it is clear that the block header is valid?

When I researched for the answer on What happens in detail, when Bitcoin Core verifies a block during synchronization?, I noticed something: According to the Wiki-Entry on Protocol rules some of the ...
1
vote
0answers
86 views

How to obtain Block number of transaction?

Is there any function in bitcoind which when given the transaction(CTransaction& tx)/ transaction hash, returns its block number ?
1
vote
0answers
70 views

Blockchain (lack of backwards) compatibility in Bitcoincore 0.10.x

From Bitcoincore release notes: Because release 0.10.0 makes use of headers-first synchronization and parallel block download (see further), the block files and databases are not backwards-...
0
votes
0answers
7 views

How to dump all transaction from single bitcoin address?

How to get/dump/or download/curl request/ for all transaction from single address ??? I need info about txID's, scryptpubkeys, txinwitness and other deep info about transactions Br.
0
votes
0answers
25 views

Looking for a program or method for scrypt or method for downloading all transactions for a given address

I need download all transaction for a given address, but unfortunately I not found any method. Help me please, I need download all transaction with scripts, transaction hashes,amaouts etc... ???
0
votes
1answer
38 views

I generated a Signet address on a Bitcoin Core PR branch and obtained some Signet from the faucet. How can I locate that private key?

I previously (months ago) generated a Signet address on a Bitcoin Core PR branch and obtained some Signet from the faucet to that address. How can I locate that private key in my file system if I know ...
0
votes
1answer
44 views

How can I obtain a better understanding of the P2P messages between my full node and its peers?

I am interested in how my full node interacts with its peers, what messages it exchanges (e.g. gossip about other nodes on the network, transactions, blocks) and why my full node disconnects with ...
0
votes
0answers
28 views

Bitcoin core Recent Transactions seems Empty

I have setup bitcoin core 0.20.1. Everything is set up correctly, I made a transaction on main net - but it is not showing under recent transactions. Though transaction is confirmed on blockchain. ...
0
votes
0answers
22 views

Most Energy-Efficient Way To Reactivate Disabled Operational Codes (Opcodes)?

Currently, there exist a number of operational codes (opcodes) within the bitcoin protocol that have been disabled for security reasons. These script functions of the bitcoin protocol were taken out ...
0
votes
0answers
19 views

Mining with getblocktemplate for specific number of transactions

Can you control the number of transactions in a getblocktemplate curl/get request ? Given that you can exhaust 4 billion nonces . I'm wondering how you vary the number of transactions without varying ...
0
votes
1answer
283 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/...
0
votes
0answers
52 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
0answers
39 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
24 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
1answer
90 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
336 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 ...
0
votes
0answers
45 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
0answers
87 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 ...
0
votes
0answers
51 views

How to keep node mining automatically in qt wallet or console wallet

In the qt wallet, manually need to start the mining process in wallet console by giving generate nblock. so is there any other command or solution to automatically mine the block and how to confirm ...
0
votes
1answer
79 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 ...