Module serialize

Source
Expand description

Contains impls of ZcashSerialize, ZcashDeserialize for all of the transaction types, so that all of the serialization logic is in one place.

Structs§

SerializedTransaction
A serialized transaction.

Constants§

MIN_TRANSPARENT_INPUT_SIZE 🔒
A Tx Input must have an Outpoint (32 byte hash + 4 byte index), a 4 byte sequence number, and a signature script, which always takes a min of 1 byte (for a length 0 script).
MIN_TRANSPARENT_OUTPUT_SIZE 🔒
A Transparent output has an 8 byte value and script which takes a min of 1 byte.
MIN_TRANSPARENT_TX_SIZE
All txs must have at least one input, a 4 byte locktime, and at least one output.
MIN_TRANSPARENT_TX_V4_SIZE
The minimum transaction size for v4 transactions.
MIN_TRANSPARENT_TX_V5_SIZE
The minimum transaction size for v5 transactions.