Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
191 views

When does `vin` contain multiple addresses

I need to find out all the bitcoins transferred from a particular address to a particular address. For this I am using the blockexplorer API, for this I use their "Transactions for multiple ...
2
votes
1answer
384 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
876 views

Why do we need block hashes in blockchain?

I believe there are around 3 types of overall hashes that we deal with in Bitcoin. block hashes Merkle tree hashes (makes transactions tamper proof by hashing them up to the Merkle root) public-...
1
vote
3answers
2k views

bitcoin setup using nodejs

I have to to use bitcoin api using nodejs. but I cannot understand from where I have to start.Search some node module like bitcoin-core and bitcoin. Can anyone describe the step how can I set up ...
0
votes
1answer
290 views

Web Wallet difference

I have some questions about the listed Web wallets. Can someone please help me understand? The bitcoin.org page for some web wallets says "Shared control over your money" (e.g. BitGo, BTC.com) while ...
0
votes
2answers
221 views

Sync too low when using BitCoinJ to create and host own wallet

I need to use BitcoinJ to create and host wallet on my own website. However, it keeps downloading blocks and the sync seems taking forever. I need to be able to create a wallet within a few seconds. ...
0
votes
0answers
134 views

How does the proof of burn helps in mining?

Following are question related to proof of burn. Miners sends the coin to a non-spendable address. What are the coins sent to the non-spendable address? Is it transaction fee or miners own coin or ...
0
votes
1answer
175 views

Bitcoin decompiler

Is there any tool for Bitcoin blockchain decompiling? I see news about Ethereum Decompiler, but is something like for Bitcoin?
3
votes
1answer
385 views

Is Bitcoin network an Asynchronous network or a synchronous network?

Conventional BFT protocols work on weak timing assumptions, and if a faulty primary does not respond or forward a client's request a view change message is initiated by the backup nodes. Therefore, if ...
0
votes
3answers
78 views

what if someone tries to finish public keys by non-stop creating

Lets say one big company or country start a war against bitcoin and they have very powerful machines. What happens if they starts to create public key all the time? Is it possible to finish all the ...
0
votes
1answer
65 views

Which code part in bitcoin-core project generates new bitcoin addresses?

i am trying to find out which c++ code in https://github.com/bitcoin/bitcoin is responsible for generating bitcoin address and private key.
2
votes
1answer
880 views

Requirements of own cryptocurrency?

What are the requirements and technologies I need for creating my own cryptocurrency? How to assign value for my own coin? For example: 1 bitcoin = 279627.91 INR, 1 Litecoin = 2863.13 INR
-1
votes
2answers
568 views

Can I change bitcoin core code for my node?

Bitcoin is working on some of sort of code. Now it is p2p network as well. When I am accessing network as a full node, I have to download the whole ledger first and then I can proceed. Where does ...
0
votes
1answer
246 views

how make own gitian-sigs end detached sigs?

How make own gitian-sigs end detached-sigs. I cannot find any useful info. Where i try see it's always start with "you already have .assert and .sig . but how they create ?
0
votes
2answers
89 views

Is there any synchronized software update mechanism in Bitcoin-Blockchain?

My question is regarding the update of Bitcoin software. Is there any mechanism for a synchronized software update in the Bitcoin network?
0
votes
1answer
94 views

Payment Processing [duplicate]

Hoping to get some information from the community, as I've been searching for hours. We own a platform that processes payments for our vendor/customers in stripe and paypal. Recently, we started to ...
0
votes
1answer
128 views

Transaction validation by full nodes

All the full nodes in Bitcoin network validate a new block as soon as it is mined and propagated on the network, by verifying the nonce and the resulting block hash. Now the question is that, Do full ...
-1
votes
3answers
3k views

What is the need of miners and mining? [duplicate]

Bitcoin is designed to have an average time duration of 10 min between block mining. This is maintained by the difficulty attribute and haskey complexity. But mining takes so much power and it is a ...
8
votes
1answer
757 views

Why was the Schnorr code removed from Bitcoin Core?

I was looking for the Schnorr implementation in Bitcoin Core and was surprised to see that it was removed on Nov 2016 (commit e06e878fd7dcc99825025fa99aedb86bc7d5c29f). Why was the source code ...
0
votes
0answers
47 views

Bitcoin blockchain full data

Where is stored a full data set of bitcoin blockchain? Is ../blocks/ dir contains a full data for blockchain work? I know that ../chainstate/ and other files truly contains service information, ...
0
votes
1answer
77 views

Time stamping of Transactions

In Bitcoin Blockchain, every block has a time stamp. My question is, Is there any time stamp on an individual transaction, once it is propagated on the network, and once it was included in the Block?
0
votes
1answer
113 views

Been reading the bitcoin source code but unsure what this segment of Serialize.h does

I decided to learn about crypto (and C++) by first reading the entire C++ implementation of bitcoin. I'm having issue with this segment of serialize.h template<typename Stream, typename I> void ...
1
vote
2answers
552 views

Getting a crypto proof UTXO set

How to get a list of unspent transactions outputs (UTXO) from local files? Where is stored this data? In what files this data is fully present? I understand that this list is in "chainstate". But ...
2
votes
2answers
318 views

Do Full Nodes perform Proof of Work to validate a Block?

I do understand that Full Nodes validate all transactions twice based upon the public key of the users. Firstly, once a transaction is unconfirmed and secondly the transactions that have been mined in ...
1
vote
1answer
1k views

What IDE to use for Bitcoin development?

I want to experiment with Bitcoin's code (both Core and Unlimited, if it makes a difference). I really wanted to use CLion, but was unable to compile it and make it work (something to do with using a ...
6
votes
1answer
406 views

Is there a point on the secp256k1 curve for any given X coordinate?

There function in libsecp256k1 that allows you to directly set the field element to 32 bytes of your choice. Does secp256k1 always return a valid group element for any 32 byte value? ...
1
vote
1answer
568 views

Orphaned (non referenced) blocks list

Orphan block is a block that doesn't have a known parent in the longest block chain. As I understand, this mean that orphaned block does not have a reference on it as "previous block hash" in any ...
2
votes
2answers
76 views

How is the human end of the Bitcoin network secured?

Being devil's advocate right now. If you have a very strong cryptography, however, secure system's Point of Failure is always the human end. We spend hours trying to make Bitcoin secure at core level,...
1
vote
1answer
184 views

How to get address from CTxIn object

I'm reading bitcoin core source code. I want to know how to get bitcoin address from CTxIn object. I have a CTransaction object. I found the way how to get addresses from vout like the following. But ...
1
vote
1answer
90 views

Does the 1 MB block size limit include the header?

I was able to follow the code to validation.cpp: // Size limits if (block.vtx.empty() || block.vtx.size() > MAX_BLOCK_BASE_SIZE || ::GetSerializeSize(block, SER_NETWORK, PROTOCOL_VERSION | ...
1
vote
2answers
181 views

How are code changes (e.g. new features) to applications such as Bitcoin deployed and how is compatibility mainted?

How does Bitcoin deploy new features and manage different versions compatibility? For example if a new feature is added to Bitcoin, how is that then deployed and managed? That is, how is everyone on ...
-1
votes
1answer
1k views

Bitcoin-Core Developers sharing e-mail address?

I've been looking into the Github commit history of Bitcoin. Interestingly, a number of developers appear to to be sharing e-mails when signing their commits. For example, lukeJr and GavinAndressen'...
0
votes
0answers
110 views

Blockchain nodes and webwallet

I am rather new to the blockchain technology and wallets. I was thinking about creating a web wallet for storing my coin. I have a basic understanding to how blockchain tech works, I know it takes ...
0
votes
1answer
629 views

How to know a given file is a valid bitcoin wallet? [duplicate]

If I have many files on my hard drive (possibly with different names/extension), how can I test which file is a valid bitcoin wallet.dat ? Maybe there is some string that exists in every bitcoin ...
3
votes
1answer
1k views

What is “Emergent Consensus” as a Mining Pool Support proposal?

I would regularly check coin.dance/blocks for updates on Segregated Witness and Bitcoin Unlimited popularity among miners. Another proposal called "Emergent Consensus" has appeared. Could someone ...
0
votes
0answers
1k views

Generating genesis hash for multiple algorithm

I am learning crypto-currency developement. Right now i am compiling some wallets (Bitcoin, Litecoin, Dash, Pivx ) and getting into the building process with gitian. I also read the source code and ...
1
vote
1answer
159 views

Protection against malware attacks

Does bitcoin or Blockchain protect against malware attacks that install a trojan to steal data from a device, on which bitcoin application is installed? Cause a trojan can steal the user's private key,...
0
votes
0answers
130 views

Public key storage by full nodes

How many public keys on an average, do the full nodes store, in order to validate/authenticate the transactions they receive?
3
votes
0answers
318 views

Bitcoin core accounts deprecated, now what system i implement to make use of accounts?

I am designing one of the bitcoin based app on Bitcoin core using account system. Accounts i have used to store users wallet balance in different accounts. But since i know it is deprecated, then ...
0
votes
1answer
304 views

Bitcoin core internal transfer problem

i have one big problem in bitcoin core internal transfer. to understand my question, please read my problem clearly. 1) Let me explain you by providing example. My one of the core account let's say "...
5
votes
1answer
204 views

Bitcoind block chain structure

I am trying to understand the structure of the underlying block chain stored in the core implementation (or rather just the BLK files used by a fullnode). My question is ; does the block chain store ...
0
votes
0answers
81 views

Understanding the Flow of init.cpp upon startup

I'm trying to develop my code level understanding. I'm somewhat of a beginner, and my understanding was that in C++ the action starts from the main() function found in main.cpp It seems that main....
0
votes
3answers
2k views

Is there any specific transaction fee?

Is there any specific percentage of transaction fee that is suppose to be paid by all the participants as per value of their BTC transaction?
0
votes
0answers
77 views

What are the .dat files? And what's the difference between a blk00000 and a rev00000? [duplicate]

I'm studying about the blockchain and I just downloaded it. I have 816 .dat files and for every file named as blk#.dat (where # is a five digits number) there is a rev#.dat file... What's the ...
1
vote
2answers
2k views

Validation of a new block

A new block is added to blockchain if more than 50% of miners say that it is solved correctly. Does it mean that all other miners also do the same proof of work by including the same transactions as ...
11
votes
3answers
929 views

What should I do if my friend runs a Bitcoin business but doesn't understand how it works?

My friend doesn't listen to his head of engineering and doesn't fully understand how decentralized consensus based systems like Bitcoin really work. He seems to think a new untested/buggy ...
1
vote
0answers
80 views

How to update code of my existing altcoin?

I have an altcoin with 10 miners. I want to update some changes in the code. with new rules of blockreward. I have created new code also. But how to make changes effect in the current blockchain, ...
3
votes
2answers
406 views

CVarint serialization format

Recently I started analyzing the UTXO set data that every full node stores in chainstate folder (a LevelDB database). By looking into the code you can learn more or less how the data entries are ...
1
vote
0answers
221 views

Explanation of parameters from bitcoin/src/chainparams.cpp

Please explain the following parameters in bitcoin chainparams.cpp file consensus.powLimit = int256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); consensus....
2
votes
0answers
217 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 ...