![]() |
Bitcoin Core
22.0.0
P2P Digital Currency
|
#include <standard.h>
Public Member Functions | |
| void | Merge (TaprootSpendData other) |
| Merge other TaprootSpendData (for the same scriptPubKey) into this. More... | |
Public Attributes | |
| XOnlyPubKey | internal_key |
| The BIP341 internal key. More... | |
| uint256 | merkle_root |
| The Merkle root of the script tree (0 if no scripts). More... | |
| std::map< std::pair< CScript, int >, std::set< std::vector< unsigned char >, ShortestVectorFirstComparator > > | scripts |
| Map from (script, leaf_version) to (sets of) control blocks. More... | |
Definition at line 223 of file standard.h.
| void TaprootSpendData::Merge | ( | TaprootSpendData | other | ) |
Merge other TaprootSpendData (for the same scriptPubKey) into this.
Definition at line 399 of file standard.cpp.
| XOnlyPubKey TaprootSpendData::internal_key |
The BIP341 internal key.
Definition at line 226 of file standard.h.
| uint256 TaprootSpendData::merkle_root |
The Merkle root of the script tree (0 if no scripts).
Definition at line 228 of file standard.h.
| std::map<std::pair<CScript, int>, std::set<std::vector<unsigned char>, ShortestVectorFirstComparator> > TaprootSpendData::scripts |
Map from (script, leaf_version) to (sets of) control blocks.
The control blocks are sorted by size, so that the signing logic can easily prefer the cheapest one.
Definition at line 232 of file standard.h.
1.8.14