Check whether a byte vector has a valid public key length for its header byte.

Synopsis

Declared in <pubkey.h>

static
bool
ValidSize(std::vector<unsigned char> const& vch);

Return Value

true if the vector's length matches the length implied by its first byte.

Parameters

Name

Description

vch

The candidate serialized public key.

Created with MrDocs