-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Replaces the height count by an enum that keeps track of the confirmation status. - Gets rid of missing_confirmations. - Replaces last_known_block_header by last_known_block_height in Gatekeeper and Watcher. Removes last_known_block_header in the Responder. - Fixes block order in Watcher::LocatorCache. last_known_block_header was only being used to query the height when needed, so there's no real needed to store the whole header. With respect to the Responder, the data was not being used, only updated. LocatorCache's blocks where stored in reverse order. The bug was introduced in df120e5 when trying to actually fix that. Tests were wrong.
- Loading branch information
Showing
9 changed files
with
1,153 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.