Anchor
An anchor is an element produced by a Poseidon hash chain, representing a running commitment to the Tachyon pool state.
Each stamp and each epoch transition produces a new pool state, but consensus may only acknowledge pool states that represent the end of a block.
These end-of-block states are anchors.
The anchor advances by two kinds of fold. Both absorb an epoch index. A stamp absorption absorbs the epoch of the block that contains the stamp. A validator reads that epoch from the block height. A boundary digest absorbs the epoch being entered. The two folds hash under different Poseidon domains (Tachyon-AnchorSt and Tachyon-AnchorEp). The Poseidon domain of a fold identifies it as a stamp absorption or a boundary digest.
A block that publishes no stamp leaves the anchor unchanged, unless the block starts a new epoch. An anchor identifies a position in the sequence of stamp absorptions and boundary digests.
Stamp absorption
Each stamp lands at a definite position in a definite block, when the block is accepted by consensus. A stamp's contribution to the pool state is
where is the containing block's epoch and are the two 128-bit limbs of the stamp's tachygram-set commitment1 in compressed form. The compressed encoding carries with the sign of in its high bit, so the limb pair determines the point.
Epoch boundary
When the chain crosses from epoch into epoch :
The two folds differ in their Poseidon domain and in which epoch they absorb. A stamp absorption absorbs the epoch it sits in. A boundary digest absorbs the epoch being entered. A stamp absorption with the same output as a boundary digest is a Poseidon collision across the two domains. A proof can therefore check that an anchor is a boundary digest. Consensus membership of the eventual spend anchor binds the lineage to published epoch boundaries.
Two positions at the boundary have names. The entry anchor of is the first anchor of in the accepted chain: for , and for . The final anchor of is the last anchor inside , which equals the entry anchor when published no stamp. The crossing is the single fold joining them.
is a boundary digest for any . For , the entry anchor of is the boundary digest of into . A step that checks that an anchor is a boundary digest into has not checked that it is the entry anchor of .
Intra-block state vs end-of-block anchor
Within a block, each stamp's absorption produces an intermediate hash value.
Consensus actors should know about intermediate states, but may only acknowledge the anchor state at the end of a block.
A proof such as SpendableInit will produce a header that is likely at an intra-block state, and should be lifted to the end of a block by proving state continuity.
-
The tachygrams chapter gives the set commitment this absorbs, and the rule that full validation recomputes it from the published tachygrams. ↩