Questions tagged [block]

The components of the blockchain and a data structure that collects transactions.

Bitcoin Blocks are a data structure which contains transactions. Blocks are created by miners and contain a reference to the previous block forming the blockchain.

630 questions
26
votes
3 answers

The bitcoin mining algorithm from a programmer's viewpoint

This page: Blocks said mining is actually to solve a mathematical problem, but reading Block hashing algorithm doesn't give much help. I also tried reading bitcoind source code, but reading code takes much more time than reading documentation:) And…
Mark Ma
  • 395
  • 1
  • 4
  • 7
25
votes
1 answer

When a block is "discovered" how is the nonce determined?

I know that a block is based on a random number called a nonce, but if that number is random and unknown to the miner, how is that number actually verified as the correct nonce and not some arbitrary number?
Andrew
  • 251
  • 1
  • 3
  • 3
23
votes
2 answers

What are the arguments for and against the increase of the block size limit?

Can someone give a quick point by point list, what arguments the proponents and opponents of increased blocksize have for their case?
user23381
  • 233
  • 2
  • 4
22
votes
6 answers

What encourages Bitcoin miners to relay blocks?

Lets say I'm mining bitcoins, and I've just received a new block that someone else has mined. What encourages me to send that block to anyone else. I can understand how the original miner wants to send the block around the network (so their block…
Clinton
  • 321
  • 1
  • 3
22
votes
1 answer

What is the expected time until the next block is found?

https://bitcoin.stackexchange.com/a/3908/659 says: Luckily, you'll only have to wait five minutes on average for a block to be found (blocks are one every ten minutes, so the expected delay until the next block is five minutes). Upon reading it, I…
Chris Moore
  • 14,745
  • 6
  • 65
  • 87
19
votes
4 answers

Shortest and Longest block interval time ever recorded in Bitcoin

Bitcoin block interval time is on average 10 minutes, that is the difficulty is adjusted in such a way that every 10 minutes a miner will manage to find the right hash. This is just an average time though, the actual distribution for time…
18
votes
4 answers

Why does each block store a Merkle root?

I understand how a Merkle root is calculated and stored in the block. But how do miners verify a transaction using the Merkle root? Here are 18 conditions that verify a transaction. None of them uses Merkle root.
Mohit Munjani
  • 181
  • 1
  • 1
  • 3
18
votes
1 answer

What happens when a miner does not claim all fees/generated coins?

Suppose that a miner for some reason has the generation transaction of their blocks not take all the possible coins. This can happen for a variety of reasons, almost all of which are bugs: An off-by-one error makes them think that their block…
17
votes
2 answers

What's the purpose of a maximum block size?

Bitcoin has a maximum of 1 MB of transaction data in each block. Why is this limit present? When was it added? Was it intended to be temporary?
Nick ODell
  • 29,184
  • 11
  • 69
  • 129
17
votes
3 answers

How to calculate new "bits" value?

Every 2016 blocks one needs to calculate new bits value. What is the formula to calculate it?
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
17
votes
3 answers

What is the number of transactions in a block?

What determines the number of transactions that can be validated in a block?
anapaso
  • 783
  • 1
  • 7
  • 10
16
votes
1 answer

Where is the UTXO data stored?

When a new transaction is received it is added to the memory pool (after checking for conflicts). While mining, only the transactions which are in the pool are considered. What happens to the transactions after they are included in a newly mined…
somesh
  • 457
  • 3
  • 11
16
votes
2 answers

Bitcoin Block Size - What are the rules?

What is the maximum size a block can be? Is there a minimum size? Can you have a block with 0 transactions included?
Michael Pickens
  • 903
  • 1
  • 7
  • 11
16
votes
3 answers

What are the advantages/disadvantages of a continuously decreasing block reward compared to the current method?

The current method to control the bitcoin supply to a maximum of 21 million BTC is to reduce the block reward (currently 50 BTC/block) by 50% every 210000 blocks. In this forum post there is a discussion about "why doesn't the block reward decrease…
kirian
  • 3,279
  • 1
  • 24
  • 36
15
votes
2 answers

How do you make a Genesis block?

What is involved in creating a genesis block? What makes it different from the other blocks in the chain.
user4381
  • 151
  • 1
  • 3
1
2 3
41 42