Skip to content

security(p0): pre-quorum certified delivery JSON budget and bounded signed votes - #212

Merged
the-code-learner merged 10 commits into
mainfrom
fix-p0-certified-delivery-prequorum-budget
Nov 13, 2026
Merged

the-code-learner merged 10 commits into
mainfrom
fix-p0-certified-delivery-prequorum-budget

Conversation

@the-code-learner

Copy link
Copy Markdown
Owner

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.

@the-code-learner
the-code-learner marked this pull request as ready for review November 13, 2026 17:37
@the-code-learner
the-code-learner merged commit 93e3a90 into main Nov 13, 2026
12 checks passed
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

Successfully merging this pull request may close these issues.

1 participant