Re-exports
pub extern crate secp256k1;
Modules
Structs
- Inner type representing future (non-tapscript) leaf versions. See
LeafVer::Future
. - 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
- the provided value {value} for {matter} is non-standard; while it is accepted by the bitcoin consensus rules, the software prohibits from using it.
- 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. - 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 whenInternalPk
andOutputPk
do not apply: as an output of BIP32 key derivation functions, inside tapscripts/ leafscripts etc. - A variable-length unsigned integer.
- Witness program as defined in BIP141.
Enums
- The leaf version for tapleafs.
- Represents the parity passed between FFI function calls.
- An ECDSA signature-related error.
- Version of the witness program.
Constants
- The Threshold for deciding whether a lock time value is a height or a time (see Bitcoin Core).
- Taproot annex prefix.
- Tapleaf mask for getting the leaf version from first byte of control block.
- Tapscript leaf version.