Module spend

Source
Expand description

Sapling spends for V4 and V5 Transactions.

Zebra uses a generic spend type for V4 and V5 transactions. The anchor change is handled using the AnchorVariant type trait.

Structs§

Spend
A Spend Description, as described in protocol specification §7.3.
SpendPrefixInTransactionV5
The serialization prefix fields of a Spend in Transaction V5.

Constants§

ANCHOR_PER_SPEND_SIZE 🔒
The size of a spend with a per-spend anchor.
SHARED_ANCHOR_SPEND_PREFIX_SIZE 🔒
The size of a spend with a shared anchor, without associated fields.
SHARED_ANCHOR_SPEND_SIZE 🔒
The size of a spend with a shared anchor, including associated fields.