Lists, limits and the policy

Rules

A policy is a table of rules over a subject (the sender or each output owner): require a list, forbid a list, or any of several. The templates are the policies of the Custom Rings examples.

[[policy.rules]]
subject = "sender"
require = "allow"

[[policy.rules]]
subject = "sender"
forbid = "frozen"

Lists

ListTypical use
allowmembers who may send and receive
blockowners who may never receive
frozenmembers whose sends are stopped
approvala second route into a closed Ring
private-blocka block list checked against enrolled owners

Each list reads the Ring's own registry or one curator's registry. A policy reads at most one curator tree.

Limits

A limit per mint sets a cap per transfer and a bound above which the co-signer must sign. A zero turns either off.

Pinning a new table

The policy authority pins a new table and its generation goes up by one. Proofs built against the old table are refused from then on. A Ring created without a policy table cannot take rules later.