diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2022-03-03 17:40:15 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2022-08-29 08:10:35 -0400 |
commit | 83c6a0c5249c4ecbd11f7828c84a50fb473faba3 (patch) | |
tree | 32d5bdc4148604b694c6cdc0c089940d2c9ffccb /src/test | |
parent | ed6cddd98e32263fc116a4380af6d66da20da990 (diff) |
Reduce spurious messages during headers sync
Delay sending SENDHEADERS (BIP 130) message until we know our peer's best
header's chain has more than nMinimumChainWork. This reduces inadvertent
headers messages received during initial headers sync due to block
announcements, which throw off our sync algorithm.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions