XOnlyPubKey::IsFullyValid

Determine if this pubkey is fully valid. This is true for approximately 50% of all possible 32-byte arrays. If false, VerifySchnorr, CheckTapTweak and CreateTapTweak will always fail.

Synopsis

Declared in <pubkey.h>

bool
IsFullyValid() const;

Return Value

true if this is a fully valid x-only public key.