Skip to main content

Module fresh

Module fresh 

Source
Expand description

Fresh replication (Section 6.1).

When a node accepts a newly written record with valid PoP:

  1. Store locally (already done by chunk handler).
  2. Send fresh offers to CLOSE_GROUP_SIZE nearest peers (excluding self).
  3. Send PaidNotify to all peers in PaidCloseGroup(K).

Structs§

FreshWriteEvent
A newly-stored chunk that needs fresh replication.

Functions§

replicate_fresh
Execute fresh replication for a newly accepted record.