HomePhabricator

Fix headers announcements edge case
3a99fb2cb149Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix headers announcements edge case

Previously we would assert that if every block in vBlockHashesToAnnounce is in
chainActive, then the blocks to be announced must connect. However, there are
edge cases where this assumption could be violated (eg using invalidateblock /
reconsiderblock), so just check for this case and revert to inv-announcement
instead.

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Apr 20 2016, 17:49
deadalnixPushed on May 14 2017, 22:04
Parents
rABC04a29373571d: Merge #7787: [Moveonly] Create ui_interface.cpp
Branches
Unknown
Tags
Unknown

Event Timeline

Suhas Daftuar <sdaftuar@gmail.com> committed rABC3a99fb2cb149: Fix headers announcements edge case (authored by Suhas Daftuar <sdaftuar@gmail.com>).Apr 20 2016, 18:19