Concepts¶
Entity¶
A participant with a wallet and a DID derived from its public key. Its type is controller or auditor, and it belongs to a scope.
Scope¶
An independent group with its own epochs, quorum and leader.
Epoch and quorum¶
For the duration of an epoch, a quorum of controllers is responsible for a scope. A new quorum is elected for each epoch.
Leader, term and lease¶
One member of the quorum leads at a time. A leader's term is limited, and the next member follows. A lease is the right to act in a term. It is identified as <epoch>:<term>.
Task and action¶
A task asks for an action, such as kv.put, with an input. Action modules execute actions.
Threshold¶
2n/3 + 1 votes, rounded down. With four members, three must agree.
Ledger¶
All decisions are transactions on a replicated ledger based on CometBFT. Its rules, not the services, decide what is valid.
Evidence¶
A claim by an auditor that an entity misbehaved, with facts that other auditors check for themselves.
Trust file¶
trust.json names the chain, the DIDs of the authorities (registry, VRF, lease, watcher), clients, enclaves, and root certificates. Every service has a copy.