The Annex
struct enforces first byte to be 0x50
.
BIP32 chain code used for hierarchical derivation
Derivation path that consisting only of single type of segments.
Inner type representing future (non-tapscript) leaf versions. See
LeafVer::Future
.
Index for hardened children derivation; ensures that the index always >=
2^31.
Internal taproot public key, which can be present only in key fragment
inside taproot descriptors.
Internal taproot public key, which can be present only in key fragment
inside taproot descriptors.
invalid taproot leaf version {0}.
invalid parity value {0} - must be 0 or 1
Error constructing timelock from the provided value.
Value for a transaction nTimeLock
field which is guaranteed to represent a
block height number which is always less than 500000000.
Value for a transaction nTimeLock
field which is guaranteed to represent a
UNIX timestamp which is always either 0 or a greater than or equal to
500000000.
the provided value {value} for {matter} is non-standard; while it is
accepted by the bitcoin consensus rules, the software prohibits from using
it.
Index for unhardened children derivation; ensures that the inner value
is always < 2^31
Output taproot key - an
InternalPk
tweaked with merkle root of the
script tree - or its own hash. Used only inside addresses and raw taproot
descriptors.
Type used for generating sighash in SegWit signing
Efficiently calculates signature hash message for legacy, segwit and taproot
inputs.
A compact size unsigned integer representing the number of leaf hashes, followed by a list
of leaf hashes, followed by the 4 byte master key fingerprint concatenated with the
derivation path of the public key. The derivation path is represented as 32-bit little
endian unsigned integer indexes concatenated with each other. Public keys are those needed
to spend this output. The leaf hashes are of the leaves which involve this public key. The
internal key does not have leaf hashes, so can be indicated with a hashes len of 0.
Finalizers should remove this field after PSBT_IN_FINAL_SCRIPTWITNESS
is constructed.
Non-empty taproot script tree.
Structure representing data on unsigned transaction the way it is stored in PSBTv1 global key.
A variable-length unsigned integer.
Witness program as defined in BIP141.
Generic taproot x-only (BIP-340) public key - a wrapper around
XOnlyPublicKey
providing APIs compatible with the rest of the library.
Should be used everywhere when
InternalPk
and
OutputPk
do not apply:
as an output of BIP32 key derivation functions, inside tapscripts/
leafscripts etc.
Deterministic part of the extended public key.
Deterministic part of the extended public key.