Repository navigation
security(p0): pre-quorum certified delivery JSON budget and bounded signed votes - #212
Merged
the-code-learner merged 10 commits intoNov 13, 2026
Merged
Conversation
the-code-learner
marked this pull request as ready for review
November 13, 2026 17:37
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #205 #42 #128. Adds ledger-level prospective encoded certified-delivery size budget before consensus proposal recording/vote, at certified block consensus validation and on imported certified evidence. Budget accounts for duplicate transaction vectors in block and proposal, JSON escaping, conservative per-validator signed vote maximum, wrapper bytes and 64MiB transport ceiling. Enforces serialized signed Vote cap (4KiB) before crypto work and keeps inbound/outbound 64MiB aligned with ledger protocol constant. Negative tests cover exact budget, +1, arithmetic overflow, JSON-escaped 512 tx and excessive validator roster; dedicated repeated race CI. Does not change quorum, truncate transactions or authorize mainnet. Additional #205 exact-body, streaming, persistence/restart, seven-validator and live multihost adversarial evidence remains required before closure. Draft until 5 exact-head workflow SUCCESS, real sleep180, protected expected-head squash and independent 3 exact-main push workflow SUCCESS.