bitcoin core – Can a block greater than every week outdated be thought-about a legitimate chain tip? – CoinNewsTrend

bitcoin core – Can a block greater than every week outdated be thought-about a legitimate chain tip?

[ad_1]

Bitcoin Core will typically hook up with a minimum of 10 outbound friends (8 common, 2 blocks-only). It is going to ask the entire friends for his or her chaintips after which begin synchronizing the header chain for the chaintip with essentially the most work after selecting a single header sync peer. Solely when it has acquired all block headers of the peer and validated them to the extent attainable, will it begin downloading blocks and advancing its energetic chaintip. So long as one in every of our node’s friends is sincere and caught up, we’d already be on our method to the precise chaintip.

A block whose timestamp is older than the median of the 11 previous blocks would merely be rejected on the header sync stage, so we should assume that the attacker is serving a blockchain that could be a week outdated.

If our node had been eclipsed and all of its friends had been providing solely a chaintip that’s older than every week, our node would synchronize that chaintip. Our node would stay in “initialblockdownload” state, as that solely disables as soon as the timestamp of the node’s energetic tip is not more than 24 hours prior to now. This could e.g. trigger the pockets GUI to show a warning that the node is just not caught up. The node would additionally begin making further connections attributable to not making progress. If it finds any sincere peer, it would proceed synchronizing in the direction of the precise greatest chain. If the eclipse assault persists, it would stall, however stay in IBD.

[ad_2]

Supply hyperlink