Crate wallet[−][src]
Re-exports
pub use blockchain::MinedTransaction; |
pub use blockchain::TimeHeight; |
pub use blockchain::Utxo; |
pub use blockchain::BITCOIN_GENESIS_BLOCKHASH; |
Modules
bip32 | |
blockchain | Blockchain-specific data types useful for wallets |
descriptor | General workflow for working with ScriptPubkey* types: |
features | |
psbt | PSBT extensions, including implementation of different
[ |
resolvers | Resolvers are traits allow accessing or computing information from a bitcoin transaction graph (from blockchain, state channel, index, PSBT etc). |
script |
Structs
AddressCompat | See also |
HashLock | HTLC payment hash |
HashPreimage | HTLC payment preimage |
LockScript | Script whose knowledge is required for spending some specific transaction output. This is the deepest nested version of Bitcoin script containing no hashes of other scripts, including P2SH redeemScript hashes or witnessProgram (hash or witness script), or public key hashes |
Psbt | A Partially Signed Transaction. |
PubkeyScript | A content of |
RedeemScript |
|
SECP256K1 | Global Secp256k1 context object |
SECP256K1_PUBKEY_DUMB | |
ScriptSet | Scripting data for both transaction output and spending transaction input parts that can be generated from some complete bitcoin Script (LockScript) or public key using particular [ConversionStrategy] |
SigScript | A content of |
Slice32 | Wrapper type for all slice-based 256-bit types implementing many important traits, so types based on it can simply derive their implementations |
TapScript | Any valid branch of Tapscript (BIP-342) |
Witness | A content of the |
WitnessProgram | |
WitnessScript | A content of the script from |
Enums
AddressFormat | |
AddressNetwork | |
AddressParseError | |
AddressPayload | See also [ |
PubkeyParseError | Errors that may happen during LockScript parsing process |
WitnessVersion | Version of the WitnessProgram: first byte of |
WitnessVersionError | A error covering only one possible failure in WitnessVersion creation: when the provided version > 16 |
Traits
IntoPk | |
LexOrder | |
ToLockScript | Conversion to |
ToP2pkh | |
ToPubkeyScript | Conversion for data types (public keys, different types of script) into
a |
ToScripts | Script set generation from public keys or a given |