mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Introduce enum ServiceFlags for service flags
This commit is contained in:
@@ -257,7 +257,7 @@ protected:
|
||||
void Connected_(const CService &addr, int64_t nTime);
|
||||
|
||||
//! Update an entry's service bits.
|
||||
void SetServices_(const CService &addr, uint64_t nServices);
|
||||
void SetServices_(const CService &addr, ServiceFlags nServices);
|
||||
|
||||
public:
|
||||
/**
|
||||
@@ -592,7 +592,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SetServices(const CService &addr, uint64_t nServices)
|
||||
void SetServices(const CService &addr, ServiceFlags nServices)
|
||||
{
|
||||
LOCK(cs);
|
||||
Check();
|
||||
|
||||
Reference in New Issue
Block a user