Tachygrams
A tachygram is an opaque Poseidon commitment to the creation or destruction of a note1.
A tachyon transaction is published with a stamp containing tachygrams for the notes involved in its proven actions.
Every action publishes exactly two tachygrams, whichever kind it is.
An output action publishes its note commitment and a padding tachygram.
The pad commits to the note opening rather than to . Both values appear in the same published multiset, so a pad derived as would let an observer test every pair in the set for that relation, match each output to its own pad, and recover the output count. Deriving both from the opening leaves an observer with two unlinkable field elements.
A spend action publishes a nullifier for the present epoch and one for the next2.
Uniform arity is what makes the two action kinds indistinguishable in the published set: an observer counting tachygrams learns the action count and nothing about the split between spends and outputs.
Tachygram sets
A stamp contains the tachygrams of every action it covers.
A stamp's covered actions may be few (a single action, so two tachygrams) or many (aggregated actions, two apiece). Ideally, the consensus chain will contain aggregated3 bundles4.
The covering proof in a stamp has witnessed a commitment to an unordered set of those tachygrams.
This set is the atomic unit which folds into pool state to contribute to the anchor5.
Consensus validation
When a stamp is published, consensus checks that every tachygram in the stamp is absent from every block of the current epoch and the immediately preceding epoch. A duplicate within that two-epoch window is rejected.
The window spans two epochs because a stamp can republish a tachygram in two distinct ways.
A stamp's anchor may have been advanced within its epoch via StampLift6, so the stamp could have been built at any earlier height in the same epoch. Consensus therefore scans every block in the anchor's epoch, not just blocks after the anchor.
A spend publishes a nullifier for the current epoch and one for the next epoch7. The next-epoch nullifier published in epoch is the present-epoch nullifier that any later spend of the same note would have to publish in epoch . Including the previous epoch in the check catches that collision.
-
Nullifiers gives the derivation of from the note's master key, and why a spend publishes the pair rather than one value. ↩
-
See Aggregation for how stamps merge their tachygram sets. ↩
-
See Bundle for the on-wire encoding of bundles and the layout of a stamp trailer. ↩
-
See Anchor for the Poseidon chain that absorbs each stamp's tachygram-set commitment. ↩
-
See Proof Tree for how
StampLiftadvances a stamp's anchor within an epoch. ↩ -
See Nullifiers for the present/future nullifier pair published with each spend. ↩