Skip to main content

Module replication

Module replication 

Source
Expand description

Replication subsystem for the Autonomi network.

Implements Kademlia-style replication with:

  • Fresh replication with PoP verification
  • Neighbor sync with round-robin cycle management
  • Batched quorum verification
  • Storage audit protocol (anti-outsourcing)
  • PaidForList persistence and convergence
  • Responsibility pruning with hysteresis

Modules§

admission
Neighbor-sync hint admission rules (Section 7).
audit
Storage audit protocol (Section 15).
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 PaidForList backed by LMDB.
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.
scheduling
Scheduling and queue management (Section 12).
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§

ReplicationEngine
The replication engine manages all replication background tasks and state.