1

If two nodes broadcast different versions of the next block simultaneously , some nodes may receive one or the other first. In that case, they work on the first one they received but save the other branch in case it becomes longer. The tie will be broken when the next proof-of-work is found and one branch becomes longer;

I got this information from the original publication about Bitcoin. But how long is this second branch saved in memory pool of nodes? How is this conflict resolved actually? Is there any paper mentioning this?

1 Answer 1

1

Most difficult (highest) chain wins. Side chains are stored forever just in case they become valid again.

2
  • 1
    Isn't the storing of the side chains implementation depndent? Commented Sep 22, 2014 at 1:49
  • @placeybordeaux The storing of the side chains are implementation dependent. The protocol can't enforce you to store or not side chains. Commented May 25, 2023 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.