diff options
| author | Pieter Wuille <[email protected]> | 2016-06-08 19:12:22 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-13 17:40:16 +0200 |
| commit | ee06e04369c37da21e048fda849cce2a1f066f84 (patch) | |
| tree | e38a64000268b4c41c00184b3d2f9da118bd98ce /src/addrman.h | |
| parent | Don't require services in -addnode (diff) | |
| download | discoin-ee06e04369c37da21e048fda849cce2a1f066f84.tar.xz discoin-ee06e04369c37da21e048fda849cce2a1f066f84.zip | |
Introduce enum ServiceFlags for service flags
Diffstat (limited to 'src/addrman.h')
| -rw-r--r-- | src/addrman.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrman.h b/src/addrman.h index 7e36e2228..1caf54075 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -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(); |