Crate pallet_bitcoin
source ·Expand description
§Bitcoin Pallet
This pallet is designed to be minimalist, containing only one storage item for maintaining
the state of the UTXO (Unspent Transaction Output) set by processing the inputs and outputs
of each Bitcoin transaction wrapped in Call::transact
. There is no verification logic
within the pallet, all validation work should be performed outside the runtime. This approach
simplifies off-runtime execution, allowing for easier syncing performance optimization off
chain.
Re-exports§
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- A struct that implements the
WeightInfo
trait for Bitcoin transactions.
Traits§
- Weight functions needed for
pallet_bitcoin
.
Functions§
- Returns the storage key for the referenced output.
- Returns the final storage prefix for the storage item
Coins
.
Type Aliases§
- Transaction output index.