-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add message validation for gossipsub messages from txpool (#936)
Closes #595 For gossipsub messages, we need to validate **all** the messages. Messages will not be propagated unless a _timely_ validation is reported. I have updated the gossipsub tests, now instead of just checking that Node A sends a gossipsub message to Node B, we also check that Node C gets the propagated message from Node B. Of course if the validation is positive, if the message is rejected Node C should not receive it. Co-authored-by: Green Baneling <XgreenX9999@gmail.com> Co-authored-by: Voxelot <brandonkite92@gmail.com>
- Loading branch information
1 parent
805d5dc
commit 1542d93
Showing
7 changed files
with
152 additions
and
69 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
Oops, something went wrong.