-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored handshake logic before adding tier1 support (#7602)
This change introduces no change to the network protocol, binaries from before and after refactor are expected to connect without problem. I've extracted handshake state (aka HandshakeSpec) from the PeerActor. I've reduced the amount of logic in handle_msg_register_peer. With a dedicated handshake state machine it will be easier to grasp the additions that tier1 support for PeerActor will introduce.
- Loading branch information
Showing
14 changed files
with
523 additions
and
518 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
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.