At what point does a hard fork occur? Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of At what point does a hard fork occur? without wasting too much if your time.

The question is published on by Tutorial Guruji team.

with the whole debate and concern over a looming Bitcoin hard fork I would like to ask at what point has the hard fork occurred? Is there a specific moment when developers decide to implement BTC/BTU code that miners and nodes then decide to use or is it more gradual where miners and nodes slowly start leaning more towards one or the other?

If it is the case of pushing a the button and uploading/implementing new code will there be a publicized date?


A hard fork is something that happens when some of the nodes on the network follow a new set of rules that are in some way incompatible with the existing set of rules. It occurs upon mining the first block that is valid under the new rules, but invalid under the old.

The software following new rules is deployed and in place before the fork occurs, but doesn’t actually start using those new rules until some triggering event. In practice, this event is when a certain percentage of the last X blocks have been mined by nodes supporting the new rules. This event is called activation of the new rules.

The fork, however, doesn’t occur until a block is found by the nodes following the new rules, that is invalid to blocks following the old:

[G] [G']
 |   |
[F] [F']
 |   |
[E] [E'] <-- Hard fork occurs when this block is mined
 | /
[B] <-- "forking" nodes start following new rules here

Here we see an example where the nodes following the new rules activate at block B. However blocks C and D are valid under the new rules, and the old rules, thus they don’t cause the fork. When block E' is mined, it is only valid under the new rules, meaning that it is rejected by clients who follow the old rules. Those clients that reject the block go on to mine E, and we now have two irreconcilable chains.

We are here to answer your question about At what point does a hard fork occur? - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji