Add ADR-0005 client-side earned reward eligibility gate#151
Closed
grumbach wants to merge 1 commit into
Closed
Conversation
Collect the signed audit reports that quote responders now ship, and gate quote collection on them so a client prefers to pay nodes that have earned their place (a clean audited week at the quoted size). This is earned future eligibility, not slashing: it only affects who a client chooses to pay next, never settled payments. - eligibility predicate: majority-of-opinions vouch bar (floor 3), with a two-tier fallback (dues-at-any-size, then today's ungated rules) so the network never stalls under fast growth or churn; - verify each report's signature, request nonce, and size caps before trusting its rows; the gate leaves payee selection and payment verification untouched; - observe-only by default so shadow eligibility can be calibrated before any hard gate is enabled. Pin ant-protocol and ant-node to the immutable ADR-0005 PR revs so the build is reproducible, and add the client-side ADR document.
grumbach
force-pushed
the
adr-0005-earned-reward-eligibility-v2
branch
from
July 9, 2026 23:15
9e86f98 to
30efa69
Compare
Contributor
Author
|
Parking ADR-0005 (earned reward eligibility) for now: deprioritized while we focus on the ADR-0004 production fixes and capacity recovery. Closing to keep the review queue tidy, will reopen when we revisit. Branch stays intact. |
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.
Summary
Client-side of ADR-0005 "earned reward eligibility". Collects the signed audit reports that quote responders now ship and gates quote collection on them, so a client prefers to pay nodes that have earned their place (a clean audited week at the quoted size).
This is earned future eligibility, not slashing: it only affects who a client chooses to pay next, never settled payments.
What it does
See
docs/adr/ADR-0003-client-earned-reward-eligibility-gate.md(client predicate) and the canonical ant-node ADR-0005 for the full design.Coordinated cutover
Part of the ADR-0005 wire cutover. Pins
ant-protocolandant-nodeto the immutable PR revs for a reproducible build; the[patch.crates-io]block is marked STRIP BEFORE MERGE and is replaced by the publishedant-protocol 3.0.0at release.Depends on: