Module wallet::script [−][src]
Structs
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 |
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] |
SigScript | A content of |
TapScript | Any valid branch of Tapscript (BIP-342) |
Witness | A content of the |
WitnessProgram | |
WitnessScript | A content of the script from |
Enums
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
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 |