#include <pubkey.h>
Definition at line 219 of file pubkey.h.
◆ XOnlyPubKey()
XOnlyPubKey::XOnlyPubKey |
( |
Span< const unsigned char > |
bytes | ) |
|
|
explicit |
Construct an x-only pubkey from exactly 32 bytes.
Definition at line 170 of file pubkey.cpp.
◆ CheckPayToContract()
bool XOnlyPubKey::CheckPayToContract |
( |
const XOnlyPubKey & |
base, |
|
|
const uint256 & |
hash, |
|
|
bool |
parity |
|
) |
| const |
◆ data()
const unsigned char* XOnlyPubKey::data |
( |
| ) |
const |
|
inline |
◆ operator[]()
const unsigned char& XOnlyPubKey::operator[] |
( |
int |
pos | ) |
const |
|
inline |
◆ size()
size_t XOnlyPubKey::size |
( |
| ) |
const |
|
inline |
◆ VerifySchnorr()
bool XOnlyPubKey::VerifySchnorr |
( |
const uint256 & |
msg, |
|
|
Span< const unsigned char > |
sigbytes |
|
) |
| const |
Verify a Schnorr signature against this public key.
sigbytes must be exactly 64 bytes.
Definition at line 176 of file pubkey.cpp.
◆ m_keydata
The documentation for this class was generated from the following files: