Expand description
Persistent PaidForList backed by LMDB.
Tracks keys this node believes are paid-authorized. Survives restarts
(Invariant 15). Bounded by PaidCloseGroup membership with
hysteresis-based pruning.
§Storage layout
{root}/paid_list.mdb/ -- LMDB environment directoryOne unnamed database stores set membership: key = 32-byte XorName,
value = empty byte slice.
§Out-of-range timestamps
Per-key PaidOutOfRangeFirstSeen and RecordOutOfRangeFirstSeen
timestamps live in memory only. On restart the hysteresis clock
restarts from zero, which is safe: the prune timer simply starts
fresh.
Structs§
- Paid
List - Persistent paid-for-list backed by LMDB.