Constructors
Synopses
Declared in <protocol.h>
Constructs an address with default‐initialized fields.
CAddress();
Constructs an address from a service endpoint and its advertised service flags.
CAddress(
CService ipIn,
ServiceFlags nServicesIn);
Constructs an address from a service endpoint, its service flags, and a last‐seen time.
CAddress(
CService ipIn,
ServiceFlags nServicesIn,
NodeSeconds time);
Parameters
Name |
Description |
ipIn |
The service endpoint (network address and port). |
nServicesIn |
The advertised service flags for this address. |
time |
The last time this address was seen. |
Created with MrDocs