Bitcoin Forum
June 24, 2024, 10:21:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Propagating orphan block headers  (Read 1045 times)
TierNolan (OP)
Offline Offline

Activity: 1232
Merit: 1084

View Profile
May 29, 2013, 12:31:58 PM

According to the official protocol rules, when a node receives a block that extends an orphan branch (but doesn't make it the main chain), the client simply stores the block.  It doesn't relay it.

This makes it impossible for nodes on the network to know if there is an orphan chain receiving significant hashing power.

If the rule was changed so that the block headers are forwarded, then the network would be informed about alt chains that are being hashed against.  

This would allow a warning to be given that a potential network split is occurring.  The client could then mark a transaction as unconfirmed if it occurs after the split.

The change would be to amend rule 17 from

For case 2, adding to a side branch, we don't do anything.


For case 2, adding to a side branch, if the fork point is within <some number of> blocks of the end of the main chain, relay the block header of the block to our peers.

Transmitting a block header shouldn't be taken to mean that the block has been verified.  It only means that block header forms part of the PoW tree.

This could cause problems with SPV clients, but they already assume that PoW alone is secure.

There would also need to be rules added for receiving a header.  It should be forwarded if it extends any branch in the tree (near the end of the main chain)

Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!