CNetAddr::IsAddrV1Compatible

Check if the current object can be serialized in pre-ADDRv2/BIP155 format.

Synopsis

Declared in <netaddress.h>

bool
IsAddrV1Compatible() const;

Return Value

True when the address fits the legacy ADDRv1 encoding.