CConnman::CheckIncomingNonce

Return whether the given nonce differs from every outbound connection's local nonce.

Synopsis

Declared in <net.h>

bool
CheckIncomingNonce(uint64_t nonce);

Return Value

true if the nonce does not match any outbound connection's local nonce.

Parameters

NameDescription
noncethe nonce received from an incoming connection.