Module zebra_chain::transaction::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§
- A serialized transaction.
Constants§
- 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).
- A Transparent output has an 8 byte value and script which takes a min of 1 byte.
- All txs must have at least one input, a 4 byte locktime, and at least one output.
- The minimum transaction size for v4 transactions.
- The minimum transaction size for v5 transactions.