Bitcoin Core 28.99.0
P2P Digital Currency
|
Context for solving a Miniscript. More...
Public Types | |
using | Key = Pk |
Public Member Functions | |
Satisfier (const SigningProvider &provider LIFETIMEBOUND, SignatureData &sig_data LIFETIMEBOUND, const BaseSignatureCreator &creator LIFETIMEBOUND, const CScript &witscript LIFETIMEBOUND, miniscript::MiniscriptContext script_ctx) | |
template<typename I > | |
std::optional< CPubKey > | CPubFromPKHBytes (I first, I last) const |
Get a CPubKey from a key hash. Note the key hash may be of an xonly pubkey. More... | |
std::vector< unsigned char > | ToPKBytes (const Key &key) const |
Conversion to raw public key. More... | |
bool | CheckAfter (uint32_t value) const |
Time lock satisfactions. More... | |
bool | CheckOlder (uint32_t value) const |
miniscript::Availability | SatSHA256 (const std::vector< unsigned char > &hash, std::vector< unsigned char > &preimage) const |
Hash preimage satisfactions. More... | |
miniscript::Availability | SatRIPEMD160 (const std::vector< unsigned char > &hash, std::vector< unsigned char > &preimage) const |
miniscript::Availability | SatHASH256 (const std::vector< unsigned char > &hash, std::vector< unsigned char > &preimage) const |
miniscript::Availability | SatHASH160 (const std::vector< unsigned char > &hash, std::vector< unsigned char > &preimage) const |
miniscript::MiniscriptContext | MsContext () const |
Static Public Member Functions | |
static bool | KeyCompare (const Key &a, const Key &b) |
Public Attributes | |
const SigningProvider & | m_provider |
SignatureData & | m_sig_data |
const BaseSignatureCreator & | m_creator |
const CScript & | m_witness_script |
const miniscript::MiniscriptContext | m_script_ctx |
The context of the script we are satisfying (either P2WSH or Tapscript). More... | |
Context for solving a Miniscript.
If enough material (access to keys, hash preimages, ..) is given, produces a valid satisfaction.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const BaseSignatureCreator& Satisfier< Pk >::m_creator |
const SigningProvider& Satisfier< Pk >::m_provider |
const miniscript::MiniscriptContext Satisfier< Pk >::m_script_ctx |
SignatureData& Satisfier< Pk >::m_sig_data |