-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
p2p: Move check for getheaders locators earlier in the call
This moves the check that ensures that a reply to a getheaders connects to the existing locators ealier in the call stack for processing a headers response. This ensures the wallet disconnects from misbehaving peers before processing block hashes.
- Loading branch information
Showing
1 changed file
with
32 additions
and
27 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