Expand description
Transparent-related (Bitcoin-inherited) functionality.
Modules§
- address 🔒
- Transparent Address types.
- arbitrary 🔒
- keys 🔒
- Transparent key trait impls, around secp256k1::PublicKey
- opcodes 🔒
- Zebra script opcodes.
- script 🔒
- Bitcoin script for Zebra
- serialize 🔒
- Serializes and deserializes transparent data.
- utxo 🔒
- Unspent transparent output data structures and functions.
Structs§
- Coinbase
Data - Arbitrary data inserted by miners into a coinbase transaction.
- Ordered
Utxo - A
Utxo
, and the index of its transaction within its block. - OutPoint
- OutPoint
- Output
- A transparent output from a transaction.
- Script
- An encoding of a Bitcoin script.
- Utxo
- An unspent
transparent::Output
, with accompanying metadata.
Enums§
- Address
- Transparent Zcash Addresses
- Coinbase
Spend Restriction - A restriction that must be checked before spending a transparent output of a coinbase transaction.
- Input
- A transparent input to a transaction.
Constants§
- EXTRA_
ZEBRA_ COINBASE_ DATA - Extra coinbase data that identifies some coinbase transactions generated by Zebra. https://emojipedia.org/zebra/
- GENESIS_
COINBASE_ DATA - The coinbase data for a genesis block.
- MAX_
COINBASE_ DATA_ LEN - The maximum length of the coinbase data.
- MAX_
COINBASE_ HEIGHT_ DATA_ LEN - The maximum length of the encoded coinbase height.
- MIN_
TRANSPARENT_ COINBASE_ MATURITY - The maturity threshold for transparent coinbase outputs.
Functions§
- new_
ordered_ outputs - Compute an index of newly created
OrderedUtxo
s, given a block and a list of precomputed transaction hashes. - new_
ordered_ outputs_ with_ height - Compute an index of newly created
OrderedUtxo
s, given a block and a list of precomputed transaction hashes. - new_
outputs - Compute an index of newly created
Utxo
s, given a block and a list of precomputed transaction hashes. - new_
outputs_ with_ height - Compute an index of newly created
Utxo
s, given a block and a list of precomputed transaction hashes. - new_
transaction_ ordered_ outputs - Compute an index of newly created
OrderedUtxo
s, given a transaction, its precomputed transaction hash, the transaction’s index in its block, and the block’s height. - outputs_
from_ utxos - Compute an index of
transparent::Output
s, given an index ofUtxo
s. - utxos_
from_ ordered_ utxos - Compute an index of
Utxo
s, given an index ofOrderedUtxo
s.