AddrMan::Attempt

Mark an entry as connection attempted to.

Synopsis

Declared in <addrman.h>

void
Attempt(
    CService const& addr,
    bool fCountFailure,
    NodeSeconds time = Now<NodeSeconds>());

Parameters

NameDescription
addrThe address that a connection was attempted to.
fCountFailureWhether to count this attempt toward the failure counter.
timeThe time the connection attempt was made.