Skip to main content

Module sapling

Module sapling 

Source

Modules§

testingtest-dependencies

Constants§

BUNDLE_OVERHEAD
The per-bundle overhead of a Sapling bundle, excluding the per-spend and per-output data: CompactSize prefixes for the spends and outputs arrays (at most 9 + 9) + value_balance (8) + anchor (32) + binding_sig (64).
OUTPUT_DESCRIPTION_SIZE
The size in bytes of a Sapling output description in its v4 (pre-NU5) serialized form, as written by the internal write_output_v4 encoder.
SPEND_DESCRIPTION_SIZE
The size in bytes of a Sapling spend description in its v4 (pre-NU5) serialized form, as written by the internal write_spend_v4 encoder.

Traits§

MapAuth
A map from one bundle authorization to another.

Functions§

read_base
Consensus rules (§7.3) & (§7.4):
read_zkproof
Consensus rules (§4.4) & (§4.5):
temporary_zcashd_read_output_v4temporary-zcashd
temporary_zcashd_read_spend_v4temporary-zcashd
temporary_zcashd_read_v4_componentstemporary-zcashd
Reads the Sapling components of a v4 transaction.
temporary_zcashd_write_output_v4temporary-zcashd
temporary_zcashd_write_v4_componentstemporary-zcashd
Writes the Sapling components of a v4 transaction.
zip212_enforcement
Returns the enforcement policy for ZIP 212 at the given height.