CPubKey::CPubKey

Constructors

Synopses

Declared in <pubkey.h>

Construct an invalid public key.

CPubKey();
» more...

Construct a public key from a byte vector.

explicit
CPubKey(std::span<uint8_t const> _vch);
» more...

Construct a public key using begin/end iterators to byte data.

template<typename T>
CPubKey(
    T const pbegin,
    T const pend);
» more...

Parameters

NameDescription
_vchThe serialized public key bytes.
pbeginIterator to the first byte of the serialized key.
pendIterator past the last byte of the serialized key.