Update the routine that find the most work chain to tie break based on timestamp in case there are two chain with similar work.
Description
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Open | jasonbcox | T207 Inhibit selfish mining | ||
Open | jasonbcox | T209 Implement block header tie-breaking based on timestamps | ||
Resolved | jasonbcox | T208 Track timestamps of headers received |
Event Timeline
Comment Actions
Needs to be implemented during the check in net_processing::ProcessMessage(): NetMsgType::HEADERS, BLOCK, CMPCTBLOCK, INV
Comment Actions
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.