Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <addresstype.h>
Public Member Functions | |
WitnessV1Taproot () | |
WitnessV1Taproot (const XOnlyPubKey &xpk) | |
Public Member Functions inherited from XOnlyPubKey | |
XOnlyPubKey ()=default | |
Construct an empty x-only pubkey. More... | |
XOnlyPubKey (const XOnlyPubKey &)=default | |
XOnlyPubKey & | operator= (const XOnlyPubKey &)=default |
bool | IsFullyValid () const |
Determine if this pubkey is fully valid. More... | |
bool | IsNull () const |
Test whether this is the 0 key (the result of default construction). More... | |
constexpr | XOnlyPubKey (std::span< const unsigned char > bytes) |
Construct an x-only pubkey from exactly 32 bytes. More... | |
XOnlyPubKey (const CPubKey &pubkey) | |
Construct an x-only pubkey from a normal pubkey. More... | |
bool | VerifySchnorr (const uint256 &msg, Span< const unsigned char > sigbytes) const |
Verify a Schnorr signature against this public key. More... | |
uint256 | ComputeTapTweakHash (const uint256 *merkle_root) const |
Compute the Taproot tweak as specified in BIP341, with *this as internal key: More... | |
bool | CheckTapTweak (const XOnlyPubKey &internal, const uint256 &merkle_root, bool parity) const |
Verify that this is a Taproot tweaked output point, against a specified internal key, Merkle root, and parity. More... | |
std::optional< std::pair< XOnlyPubKey, bool > > | CreateTapTweak (const uint256 *merkle_root) const |
Construct a Taproot tweaked output point with this point as internal key. More... | |
std::vector< CKeyID > | GetKeyIDs () const |
Returns a list of CKeyIDs for the CPubKeys that could have been used to create this XOnlyPubKey. More... | |
CPubKey | GetEvenCorrespondingCPubKey () const |
const unsigned char & | operator[] (int pos) const |
const unsigned char * | data () const |
const unsigned char * | begin () const |
const unsigned char * | end () const |
unsigned char * | data () |
unsigned char * | begin () |
unsigned char * | end () |
bool | operator== (const XOnlyPubKey &other) const |
bool | operator!= (const XOnlyPubKey &other) const |
bool | operator< (const XOnlyPubKey &other) const |
SERIALIZE_METHODS (XOnlyPubKey, obj) | |
Implement serialization without length prefixes since it is a fixed length. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from XOnlyPubKey | |
static constexpr size_t | size () |
Static Public Attributes inherited from XOnlyPubKey | |
static const XOnlyPubKey | NUMS_H |
Nothing Up My Sleeve point H Used as an internal key for provably disabling the key path spend see BIP341 for more details. More... | |
Definition at line 88 of file addresstype.h.
|
inline |
Definition at line 90 of file addresstype.h.
|
inlineexplicit |
Definition at line 91 of file addresstype.h.