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.
- Spend
Prefix InTransaction V5 - The serialization prefix fields of a
Spendin 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.