Expand description
Chain-head external anchoring beyond MockAnchor.
Implements ADR-041 / WEFT-137:
FileLedgerAnchor— durable append-only hash-linked local ledger (useful production default until a public ledger is chosen)ExternalLedgerAnchor— wired external-ledger stub (intent log + optional endpoint binding; network POST deferred until a target is selected)AnchoringController— frequency policy (min_interval_secs,min_events_between) over anyChainAnchor
Config surface: clawft_types::config::ChainExternalAnchorConfig on
kernel.chain.external_anchor.
Structs§
- Anchor
Ack - The user daemon’s acknowledgement of an accepted statement. Authenticated by the transport only (see the module docs).
- Anchor
Frequency Policy - Frequency policy for external anchoring.
- Anchoring
Controller - Policy-gated wrapper around a
ChainAnchorbackend. - External
Intent Entry - Intent-log entry for the external-ledger stub.
- External
Ledger Anchor - Wired external-ledger stub.
- File
Ledger Anchor - Append-only, hash-linked local ledger of chain-head anchors.
- File
Ledger Entry - One line of the append-only file ledger (JSONL).
- Parent
Anchor - The
Parentanchor backend. - Parent
Anchor Config - Retry backoff and the submission deadline.
Enums§
- Anchor
Submit Error - Why a submission failed.
Constants§
- ANCHOR_
SOURCE - Chain event source of project anchors:
project.anchoron the user chain (the daemon’s record of an accepted statement) andproject.anchoredon the project chain (the acknowledgement). Reserved inproject_identity::RESERVED_SOURCESso achain.appendcaller cannot forge either. - KIND_
ANCHOR - Kind of the user-chain event the user daemon appends per accepted statement.
- KIND_
ANCHORED - Kind of the project-chain acknowledgement.
Traits§
- Parent
Transport - Sends statements to the user daemon.