Constructors
Synopses
Declared in <pubkey.h>
Construct an invalid public key.
CPubKey();
Construct a public key from a byte vector.
explicit
CPubKey(std::span<uint8_t const> _vch);
Construct a public key using begin/end iterators to byte data.
template<typename T>
CPubKey(
T const pbegin,
T const pend);
Parameters
Name |
Description |
_vch |
The serialized public key bytes. |
pbegin |
Iterator to the first byte of the serialized key. |
pend |
Iterator past the last byte of the serialized key. |
Created with MrDocs