CAddress::CAddress

Constructs an address from a service endpoint, its service flags, and a last-seen time.

Synopsis

Declared in <protocol.h>

CAddress(
    CService ipIn,
    ServiceFlags nServicesIn,
    NodeSeconds time);

Parameters

NameDescription
ipInThe service endpoint (network address and port).
nServicesInThe advertised service flags for this address.
timeThe last time this address was seen.