![]() |
Bitcoin Core
28.1.0
P2P Digital Currency
|
Namespaces | |
| internal | |
Classes | |
| struct | Node |
| A node in a miniscript expression. More... | |
| class | Type |
| This type encapsulates the miniscript type system properties. More... | |
Typedefs | |
| using | Opcode = std::pair< opcodetype, std::vector< unsigned char > > |
| template<typename Key > | |
| using | NodeRef = std::shared_ptr< const Node< Key > > |
Enumerations | |
| enum | Fragment { Fragment::JUST_0, Fragment::JUST_1, Fragment::PK_K, Fragment::PK_H, Fragment::OLDER, Fragment::AFTER, Fragment::SHA256, Fragment::HASH256, Fragment::RIPEMD160, Fragment::HASH160, Fragment::WRAP_A, Fragment::WRAP_S, Fragment::WRAP_C, Fragment::WRAP_D, Fragment::WRAP_V, Fragment::WRAP_J, Fragment::WRAP_N, Fragment::AND_V, Fragment::AND_B, Fragment::OR_B, Fragment::OR_C, Fragment::OR_D, Fragment::OR_I, Fragment::ANDOR, Fragment::THRESH, Fragment::MULTI, Fragment::MULTI_A } |
| The different node types in miniscript. More... | |
| enum | Availability { Availability::NO, Availability::YES, Availability::MAYBE } |
| enum | MiniscriptContext { MiniscriptContext::P2WSH, MiniscriptContext::TAPSCRIPT } |
Functions | |
| consteval Type | operator""_mst (const char *c, size_t l) |
| Literal operator to construct Type objects. More... | |
| template<typename Key , typename... Args> | |
| NodeRef< Key > | MakeNodeRef (Args &&... args) |
| Construct a miniscript node as a shared_ptr. More... | |
| constexpr bool | IsTapscript (MiniscriptContext ms_ctx) |
| Whether the context Tapscript, ensuring the only other possibility is P2WSH. More... | |
| template<typename Ctx > | |
| NodeRef< typename Ctx::Key > | FromString (const std::string &str, const Ctx &ctx) |
| template<typename Ctx > | |
| NodeRef< typename Ctx::Key > | FromScript (const CScript &script, const Ctx &ctx) |
| using miniscript::NodeRef = typedef std::shared_ptr<const Node<Key> > |
Definition at line 192 of file miniscript.h.
| using miniscript::Opcode = typedef std::pair<opcodetype, std::vector<unsigned char> > |
Definition at line 189 of file miniscript.h.
|
strong |
| Enumerator | |
|---|---|
| NO | |
| YES | |
| MAYBE | |
Definition at line 233 of file miniscript.h.
|
strong |
The different node types in miniscript.
Definition at line 199 of file miniscript.h.
|
strong |
| Enumerator | |
|---|---|
| P2WSH | |
| TAPSCRIPT | |
Definition at line 239 of file miniscript.h.
|
inline |
Definition at line 2622 of file miniscript.h.
|
inline |
| constexpr bool miniscript::IsTapscript | ( | MiniscriptContext | ms_ctx | ) |
Whether the context Tapscript, ensuring the only other possibility is P2WSH.
Definition at line 245 of file miniscript.h.
| NodeRef<Key> miniscript::MakeNodeRef | ( | Args &&... | args | ) |
Construct a miniscript node as a shared_ptr.
Definition at line 196 of file miniscript.h.
|
inline |
Literal operator to construct Type objects.
Definition at line 157 of file miniscript.h.
1.8.14