diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2021-09-10 18:16:37 -0600 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-09-28 22:21:10 -0400 |
commit | dd8f7f250095e58bbf4cd4effb481b52143bd1ed (patch) | |
tree | 04068c2a49362c5ab7958fcb8bc268c55f5fc59d /src/addrman.h | |
parent | 3c263d3f63c3598954ee2b65a0e721e3c22e52f8 (diff) |
scripted-diff: Rename CAddrMan to AddrMan
-BEGIN VERIFY SCRIPT-
git grep -l CAddrMan src/ test/ | xargs sed -i 's/CAddrMan/AddrMan/g'
-END VERIFY SCRIPT-
Diffstat (limited to 'src/addrman.h')
-rw-r--r-- | src/addrman.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/addrman.h b/src/addrman.h index b0944bcfd5..fcb2147832 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -51,14 +51,14 @@ static constexpr int32_t DEFAULT_ADDRMAN_CONSISTENCY_CHECKS{0}; * * Several indexes are kept for high performance. Setting m_consistency_check_ratio with the -checkaddrman * configuration option will introduce (expensive) consistency checks for the entire data structure. */ -class CAddrMan +class AddrMan { const std::unique_ptr<AddrManImpl> m_impl; public: - explicit CAddrMan(std::vector<bool> asmap, bool deterministic, int32_t consistency_check_ratio); + explicit AddrMan(std::vector<bool> asmap, bool deterministic, int32_t consistency_check_ratio); - ~CAddrMan(); + ~AddrMan(); template <typename Stream> void Serialize(Stream& s_) const; @@ -128,8 +128,8 @@ public: const std::vector<bool>& GetAsmap() const; - friend class CAddrManTest; - friend class CAddrManDeterministic; + friend class AddrManTest; + friend class AddrManDeterministic; }; #endif // BITCOIN_ADDRMAN_H |