mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Introduce enum ServiceFlags for service flags
This commit is contained in:
parent
15bf863219
commit
ee06e04369
11 changed files with 89 additions and 83 deletions
|
|
@ -133,7 +133,7 @@ CAddress::CAddress() : CService()
|
|||
Init();
|
||||
}
|
||||
|
||||
CAddress::CAddress(CService ipIn, uint64_t nServicesIn) : CService(ipIn)
|
||||
CAddress::CAddress(CService ipIn, ServiceFlags nServicesIn) : CService(ipIn)
|
||||
{
|
||||
Init();
|
||||
nServices = nServicesIn;
|
||||
|
|
@ -141,7 +141,7 @@ CAddress::CAddress(CService ipIn, uint64_t nServicesIn) : CService(ipIn)
|
|||
|
||||
void CAddress::Init()
|
||||
{
|
||||
nServices = 0;
|
||||
nServices = NODE_NONE;
|
||||
nTime = 100000000;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue