Module shielded_data

Source
Expand description

Sapling shielded data for V4 and V5 Transactions.

Zebra uses a generic shielded data type for V4 and V5 transactions. The value_balance change is handled using the default zero value. The anchor change is handled using the AnchorVariant type trait.

Structs§

FieldNotPresent
This field is not present in this transaction version.
PerSpendAnchor
Per-Spend Sapling anchors, used in Transaction V4 and the spends_per_anchor method.
SharedAnchor
Shared Sapling anchors, used in Transaction V5.
ShieldedData
A bundle of Spend and Output descriptions and signature data.

Enums§

TransferData
A bundle of Spend and Output descriptions, and a shared anchor.

Traits§

AnchorVariant
A type trait to handle structural differences between V4 and V5 Sapling Transaction anchors.