Author

Topic: The "orphane" block will disappears eventually ? (Read 187 times)

legendary
Activity: 2268
Merit: 18711
December 26, 2019, 04:14:04 AM
#3
           1. then it will abandon the orphane block and accept the longest chain. right ?
Yes. As soon as the node is updated with the details of a longer chain, then it will switch to that chain and abandon the stale block.

           2. eventually less or no node will relay the orphane block. right ?
Also yes. Once the details of the longer chain has propagated around the entire network, then all nodes will drop the stale block and move to the longer chain.



The term "orphan block" is confusing, which is why I use the term "stale block" here. Orphan blocks were blocks received by nodes which did not yet receive details of their parent blocks - hence the term "orphan" or "without parent". These haven't existed in years since a code change which causes headers to be synced first before block data. The better term for what we are discussing here is "stale block" - a block which was once valid, but has now been abandoned and turned "stale".
legendary
Activity: 1463
Merit: 1886
As I understand it, the name "orphan" comes from the idea that the idea that the block has no (known) parent. Hence it's an orphan. But when most people say "orphan block" what they mean, is just that it's not (or no-longer) part of the "best" blockchain.

Nodes might cache stale/orphan blocks for performance reasons, but there's no conceptual need to do so. There's no reason that nodes should knowingly relay a stale/orphan block (but the p2p network is a wild-west, so all nodes should expect it to happen)
jr. member
Activity: 47
Merit: 8
Node will relay the blocks on longest chain. At some time point the bitcoin chain forks temporarily,I mean orphane block happens. But As time going, the 'fork' node find its own chain is not the longest,
            1. then it will abandon the orphane block and accept the longest chain. right ?
            2. eventually less or no node will relay the orphane block. right ?
Jump to: