![]() |
Bitcoin Core 28.0.0
P2P Digital Currency
|
Namespaces | |
| namespace | 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 class | Fragment { JUST_0 , JUST_1 , PK_K , PK_H , OLDER , AFTER , SHA256 , HASH256 , RIPEMD160 , HASH160 , WRAP_A , WRAP_S , WRAP_C , WRAP_D , WRAP_V , WRAP_J , WRAP_N , AND_V , AND_B , OR_B , OR_C , OR_D , OR_I , ANDOR , THRESH , MULTI , MULTI_A } |
| The different node types in miniscript. More... | |
| enum class | Availability { NO , YES , MAYBE } |
| enum class | MiniscriptContext { P2WSH , TAPSCRIPT } |
Functions | |
| consteval Type | operator""_mst (const char *c, size_t l) |
| Literal operator to construct Type objects. | |
| template<typename Key , typename... Args> | |
| NodeRef< Key > | MakeNodeRef (Args &&... args) |
| Construct a miniscript node as a shared_ptr. | |
| constexpr bool | IsTapscript (MiniscriptContext ms_ctx) |
| Whether the context Tapscript, ensuring the only other possibility is P2WSH. | |
| 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 = std::shared_ptr<const Node<Key>> |
Definition at line 187 of file miniscript.h.
| using miniscript::Opcode = std::pair<opcodetype, std::vector<unsigned char>> |
Definition at line 184 of file miniscript.h.
|
strong |
| Enumerator | |
|---|---|
| NO | |
| YES | |
| MAYBE | |
Definition at line 228 of file miniscript.h.
|
strong |
The different node types in miniscript.
Definition at line 194 of file miniscript.h.
|
strong |
| Enumerator | |
|---|---|
| P2WSH | |
| TAPSCRIPT | |
Definition at line 234 of file miniscript.h.
|
inline |
Definition at line 2612 of file miniscript.h.
|
constexpr |
Whether the context Tapscript, ensuring the only other possibility is P2WSH.
Definition at line 240 of file miniscript.h.
| NodeRef< Key > miniscript::MakeNodeRef | ( | Args &&... | args | ) |
Construct a miniscript node as a shared_ptr.
Definition at line 191 of file miniscript.h.
|
inlineconsteval |
Literal operator to construct Type objects.
Definition at line 153 of file miniscript.h.