bitcoin core – The impact of block arrival time and common block interval on blockchain forking and backbone

0
99


Block time is 10m, and it is largely this a lot in order that two blocks can’t be solved on the identical time.

I do not imagine that is true.

I imagine the first goal of the fastened common block time along side the higher restrict on block measurement is to maintain the processing and storage burden on peculiar nodes to a suitable degree (see quotations and references at finish).

It is usually inconceivable for a node to obtain two blocks on the identical time. An ethernet interface receives packets serially not concurrently. Even on a Gigabit interface, there will likely be variations of the order of nanoseconds in packet completion occasions. Even when a node makes use of a number of impartial community connections, it’s trivial to arbitrarily serialise concurrently obtained packets from eth0 earlier than eth1.

When somebody reminiscent of Solana say “on the identical time” I think about they actually imply “someday throughout the identical block interval”. What they most likely ought to have stated is one thing extra like “with the identical mum or dad block”.

Keep in mind:

  • Actual block intervals can differ from seconds to hours.

  • Receiving nodes will not be timing the intervals so as allocate blocks to intervals.

  • Block arrival time has no affect on block choice in a timescale of a number of precise block intervals.

  • When miners see one other’s block, they instantly cease work on their block with the identical mum or dad and begin work on the following. Even when that block arrived inside microseconds of the prior block leaving virtually 10 minutes remaining of the notional present block interval.

It appears to me the final of those factors has essentially the most impact in decreasing publication of competing blocks with identical mum or dad.


Some name this an enormous drawback that when node receives 2 blocks on the identical time

Reordering the final one or two blocks shouldn’t be unusual and is effectively catered for. So I believe block ordering shouldn’t be a main consider selecting block intervals. The Bitcoin design permits for every node’s preliminary ordering to be considerably arbitrary. Take into account the impact of bodily (or efficient) distance and many others on message propagation occasions from two distant miners to 2 different nodes of various distance.


What did Nakamoto say in 2008?

The Bitcoin white paper has just one point out of “10 minutes”:

If we suppose blocks are
generated each 10 minutes, 80 bytes * 6 * 24 * 365 = 4.2MB per yr. With laptop methods
usually promoting with 2GB of RAM as of 2008, and Moore’s Regulation predicting present progress of
1.2GB per yr, storage shouldn’t be an issue even when the block headers have to be stored in
reminiscence.

So the block interval is related to the storage burden on peculiar nodes.

Earlier within the whitepaper, Nakamoto writes

Nodes at all times take into account the longest chain to be the proper one and can preserve engaged on
extending it. If two nodes broadcast totally different variations of the following block concurrently, some
nodes might obtain one or the opposite first. In that case, they work on the primary one they obtained,
however save the opposite department in case it turns into longer. The tie will likely be damaged when the following proof-
of-work is discovered and one department turns into longer; the nodes that have been engaged on the opposite
department will then change to the longer one.

So this type of exercise is allowed for within the design and isn’t the alleged “big drawback”.

LEAVE A REPLY

Please enter your comment!
Please enter your name here