Expand description
Replication subsystem for the Autonomi network.
Implements Kademlia-style replication with:
- Fresh replication with
PoPverification - Neighbor sync with round-robin cycle management
- Batched quorum verification
- Storage audit protocol (anti-outsourcing)
PaidForListpersistence and convergence- Responsibility pruning with hysteresis
Modules§
- admission
- Neighbor-sync hint admission rules (Section 7).
- audit
- Storage audit protocol (Section 15).
- audit_
coordinator - Auditor-side per-target admission for outbound
AuditChallenges. - bootstrap
- New-node bootstrap logic (Section 16).
- commitment
- Storage-bound audit via piggybacked commitments.
- commitment_
state - Responder-side commitment builder + rotation state.
- config
- Tunable parameters for the replication subsystem.
- fresh
- Fresh replication (Section 6.1).
- neighbor_
sync - Neighbor replication sync (Section 6.2).
- paid_
list - Persistent
PaidForListbacked by LMDB. - pointer
- Pointer replication (ADR-0016).
- possession
- Delayed possession verification for fresh replication (ADR-0003).
- protocol
- Wire protocol messages for the replication subsystem.
- pruning
- Post-cycle responsibility pruning (Section 11).
- quorum
- Quorum verification logic (Section 9).
- recent_
provers - Holder-eligibility cache: which peers recently proved storage of which key, against which commitment.
- retention
- Pressure-gated retention (ADR-0028).
- scheduling
- Scheduling and queue management (Section 12).
- slice
- BLAKE3 verified-slice possession proofs for the storage-commitment audit (ADR-0002 round 2, V2-685).
- storage_
commitment_ audit - Gossip-triggered contiguous-subtree storage audit (ADR-0002).
- subtree
- Gossip-triggered contiguous-subtree storage proof (ADR-0002).
- types
- Core types for the replication subsystem.
Structs§
- Monetized
PinEvent - ADR-0004: a commitment that backed a payment, surfaced by the payment verifier’s cross-check so it can receive a deterministic first audit.
- Replication
Engine - The replication engine manages all replication background tasks and state.
Functions§
- fresh_
offer_ admission_ refusals - Cumulative fresh-offer admission refusals in this process.
- fresh_
offer_ refusals_ global_ pool - Fresh-offer refusals caused by the class-wide pool being exhausted.
- fresh_
offer_ refusals_ per_ peer_ share - Fresh-offer refusals caused by one source exhausting its per-peer share.
- paid_
notify_ admission_ refusals - Cumulative paid-list notification admission refusals in this process.