Check whether a byte vector has a valid public key length for its header byte.
Declared in <pubkey.h>
static
bool
ValidSize(std::vector<unsigned char> const& vch);
true if the vector's length matches the length implied by its first byte.
| Name | Description |
|---|---|
| vch | The candidate serialized public key. |