-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
peer: abstract out ping payload generation from the pingHandler
This change makes the generation of the ping payload a no-arg closure parameter, relieving the pingHandler of having to directly monitor the chain state. This makes use of the BestBlockView that was introduced in earlier commits.
- Loading branch information
1 parent
ac26581
commit 1eab782
Showing
1 changed file
with
31 additions
and
36 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