Module zebra_chain::transparent
source · Expand description
Transparent-related (Bitcoin-inherited) functionality.
Modules§
- address 🔒Transparent Address types.
- keys 🔒Transparent key trait impls, around secp256k1::PublicKey
- opcodes 🔒Zebra script opcodes.
- script 🔒Bitcoin script for Zebra
- Serializes and deserializes transparent data.
- utxo 🔒Unspent transparent output data structures and functions.
Structs§
- Arbitrary data inserted by miners into a coinbase transaction.
- A
Utxo
, and the index of its transaction within its block. - OutPoint
- A transparent output from a transaction.
- An encoding of a Bitcoin script.
- An unspent
transparent::Output
, with accompanying metadata.
Enums§
- Transparent Zcash Addresses
- A restriction that must be checked before spending a transparent output of a coinbase transaction.
- A transparent input to a transaction.
Constants§
- Extra coinbase data that identifies some coinbase transactions generated by Zebra. https://emojipedia.org/zebra/
- The coinbase data for a genesis block.
- The maximum length of the coinbase data.
- The maximum length of the encoded coinbase height.
- The maturity threshold for transparent coinbase outputs.
Functions§
- Compute an index of newly created
OrderedUtxo
s, given a block and a list of precomputed transaction hashes. - Compute an index of newly created
OrderedUtxo
s, given a block and a list of precomputed transaction hashes. - Compute an index of newly created
Utxo
s, given a block and a list of precomputed transaction hashes. - Compute an index of newly created
Utxo
s, given a block and a list of precomputed transaction hashes. - 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. - Compute an index of
transparent::Output
s, given an index ofUtxo
s. - Compute an index of
Utxo
s, given an index ofOrderedUtxo
s.