Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of originator payloads (sid, timestamp, signature), with misbehavior reports #302

Open
Tracked by #118
richardhuaaa opened this issue Dec 3, 2024 · 0 comments
Assignees

Comments

@richardhuaaa
Copy link
Contributor

No description provided.

@richardhuaaa richardhuaaa self-assigned this Dec 3, 2024
richardhuaaa added a commit that referenced this issue Dec 19, 2024
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 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant