CAddress::CAddress

Constructors

Synopses

Declared in <protocol.h>

Constructs an address with default-initialized fields.

CAddress();
» more...

Constructs an address from a service endpoint and its advertised service flags.

CAddress(
    CService ipIn,
    ServiceFlags nServicesIn);
» more...

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

CAddress(
    CService ipIn,
    ServiceFlags nServicesIn,
    NodeSeconds time);
» more...

Parameters

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