Skip to main content

Module plan

Module plan 

Source
Expand description

Plans (since 0.8): one signed, versioned document per name, written by a lease holder and ordered by (term, version), never by wall clock or HLC, so a stale holder whose clock runs ahead can’t override a newer holder’s plan.

Each plan is signed by the writing device’s node key over the user, record type, name and body, so a device that relays the page can’t alter or move it, and it only counts while the signer’s certificate is active. Stored as a normal record (configure the type RecordOptions::sealed to seal it).

Structs§

Plan
A plan as read back: the newest by (term, version) among valid ones.