[−][src]Module lnpbp::bp
Re-exports
pub use bip32::DerivationInfo; |
pub use bip32::DerivationTemplate; |
pub use chain::Chain; |
pub use chain::P2pNetworkId; |
pub use short_id::ShortId; |
Modules
bip32 | |
blind | |
chain | |
dbc | |
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). |
scripts | |
short_id | |
tagged_hash | Bitcoin tagged hash helper types. |
Structs
HashLock | Hashed locks in HTLC |
HashPreimage | Pre-images for hashed locks in HTLC |
LockScript | Script which 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 keys |
PubkeyScript | A content of |
RedeemScript |
|
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] |
TxoutSeal | |
Witness | A content of the |
WitnessProgram | |
WitnessScript | A content of the script from |
Enums
Challenge | |
PubkeyParseError | Errors that may happen during LockScript parsing process |
ScriptPubkeyContent | |
ScriptPubkeyFormat | |
ScriptPubkeyStructure | Enum defining standard and providing all required data for script pubkey serialization. This enum is not designed for wallets; it covers only BIPs and Bitcoin Core extra-wallet parts. |
ScriptPubkeyTemplate | |
Strategy | Defines strategy for converting some source Bitcoin script (i.e.
LockScript) into both |
WitnessVersion | Version of the WitnessProgram: first byte of |
Traits
GenerateScripts | Script set generation from public key or a given LockScript (with [TapScript] support planned for the future). |