Re-exports§
pub use chain_view::validate_prevout_amounts_against_chain;pub use chain_view::ChainView;pub use chain_view::ChainViewError;pub use chain_view::KEEP_CHAIN_URL_ENV;pub use key_proof::build_key_proof_psbt;pub use key_proof::sign_key_proof;pub use key_proof::verify_key_proof;pub use psbt::PsbtAnalysis;pub use psbt::PsbtSigner;pub use recovery::PolicyInput;pub use recovery::PolicyTierInput;pub use recovery::RecoveryConfig;pub use recovery::RecoveryOutput;pub use recovery::RecoveryTier;pub use recovery::SpendingTier;pub use recovery_tx::merge_tap_script_sig;pub use recovery_tx::script_spend_sighashes;pub use recovery_tx::verify_all_script_spend_input_bindings;pub use recovery_tx::verify_script_spend_input_binding;pub use recovery_tx::RecoveryTxBuilder;pub use recovery_tx::ScriptSpendSighash;pub use recovery_tx::SweepUtxo;pub use recovery_tx::TAPROOT_DUST_LIMIT_SATS;pub use bitcoin;
Modules§
- chain_
view - Chain-view abstraction for responder-side prevout validation (#502).
- frost_
bip32 - BIP-32 unhardened child-key primitives for FROST group keys (#487).
- key_
proof - psbt
- recovery
- recovery_
tx
Structs§
Enums§
- Bitcoin
Error - Network
- The cryptocurrency network to act on.
Functions§
- change_
script_ at_ index - Derive the change (internal,
/1/*)script_pubkeyatindexfrom a BIP-86 external descriptor (.../0/*), applying the same/0/* -> /1/*rewrite asDescriptorExport::internal_descriptor. - descriptor_
address - Derive the address for a definite (non-ranged) descriptor string on
network. Used to pick the sweep destination from a finalized FROST wallet descriptor, which is definite (tr(<xonly>,<tree>), no wildcard). - descriptor_
address_ at_ index - Resolve a ranged OR definite descriptor at a concrete derivation
indexand return its address onnetwork. Unlikedescriptor_address, this accepts a ranged descriptor (.../0/*) by resolving it atindexrather than rejecting it. Used to pick the single deterministic migration-sweep destination for a successor FROST wallet descriptor:index0 is the first external/0/0receive address, which both proposer and responder derive identically from the same persisted descriptor. - descriptor_
script_ pubkey - Derive the
script_pubkeyfor a definite (non-ranged) descriptor string. Used to bind a suppliedcrate::RecoveryOutputto the descriptor identified by a canonical hash before sweeping its coins. A recovery output is by definition a single, non-ranged output, so a ranged descriptor is rejected rather than silently resolved at an arbitrary index. - multipath_
from_ external - Build a BIP-389 multipath descriptor from a single-path external descriptor.
- xpub_
to_ x_ only