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§
- pallet
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet. - types
Structs§
- Bitcoin
Transaction Weight - A struct that implements the
WeightInfo
trait for Bitcoin transactions.
Traits§
- Weight
Info - Weight functions needed for
pallet_bitcoin
.
Functions§
- coin_
storage_ key - Returns the storage key for the referenced output.
- coin_
storage_ prefix - Returns the final storage prefix for the storage item
Coins
.
Type Aliases§
- Output
Index - Transaction output index.