-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate node ID, sequence ID and timestamp on synced payloads (#311)
This adds initial validation on synced payloads. Still to be done: - Misbehavior reporting system - Payload-specific validation #302 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Enhanced query logic to ensure unique results for originator nodes. - Added a method to access `OriginatorNs` value in the `OriginatorEnvelope` struct. - Improved stream management and envelope processing in the sync worker. - **Bug Fixes** - Refined error handling for stream connections and envelope validation. - **Refactor** - Restructured stream and envelope handling to improve data encapsulation and processing logic. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
1911fb9
commit f223c36
Showing
4 changed files
with
79 additions
and
46 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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