forked from neo-project/neo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
P2P: fix
UnknownCapability
validation and maintainig (neo-project#3647)
* P2P: allow to serialize UnknownCapability Otherwise it can't be properly passed through the P2P network which makes it impossible to use UnknownCapabilities as an extensions in the existing networks. Follow nspcc-dev/neo-go#3778. Signed-off-by: Anna Shaleva <[email protected]> * P2P: fix verification rules for NetworkAddressWithTime Without this commit every `Addr` message containing UnknownCapability will be considered as invalid. The desired behaviour is to include node with UnknownCapability into the list of peers. Follow the nspcc-dev/neo-go#3778, should be a part of neo-project#3639. Signed-off-by: Anna Shaleva <[email protected]> * P2P: don't strip UnknownCapabilities from node's version Make the behaviour compatible with nspcc-dev/neo-go#3778. Signed-off-by: Anna Shaleva <[email protected]> --------- Signed-off-by: Anna Shaleva <[email protected]>
- Loading branch information
1 parent
f65c193
commit d55f0a1
Showing
6 changed files
with
12 additions
and
8 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
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