Page MenuHomePhabricator

Implement block header tie-breaking based on timestamps
Open, NormalPublic

Description

Update the routine that find the most work chain to tie break based on timestamp in case there are two chain with similar work.

Event Timeline

jasonbcox triaged this task as Normal priority.Jan 26 2018, 21:36
jasonbcox created this task.

Needs to be implemented during the check in net_processing::ProcessMessage(): NetMsgType::HEADERS, BLOCK, CMPCTBLOCK, INV

Probably more appropriate to do it during the selection of the most work chain.

Sorry, wrong train of thought. You're right, the tie-breaking portion would be implemented during the selection of most work, but I do need to record when the block is first seen in the above cases.