diff options
author | John Newbery <john@johnnewbery.com> | 2021-08-18 09:45:54 +0100 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-08-26 11:56:13 -0700 |
commit | 85b15ddc8ff499fe21d8ab35ece3994f8878b3de (patch) | |
tree | f2d5df057f4aac2c8aa8580335f6876e09fd6130 /src/addrman.h | |
parent | af9638a0fbb79bec743f4d2275b89e9573cfdc0a (diff) |
[refactor] [addrman] Update constant comments
Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>
Diffstat (limited to 'src/addrman.h')
-rw-r--r-- | src/addrman.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/addrman.h b/src/addrman.h index b6d115e741..2548b891ba 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -131,15 +131,15 @@ public: * configuration option will introduce (expensive) consistency checks for the entire data structure. */ -//! total number of buckets for tried addresses +/** Total number of buckets for tried addresses */ static constexpr int32_t ADDRMAN_TRIED_BUCKET_COUNT_LOG2{8}; static constexpr int ADDRMAN_TRIED_BUCKET_COUNT{1 << ADDRMAN_TRIED_BUCKET_COUNT_LOG2}; -//! total number of buckets for new addresses +/** Total number of buckets for new addresses */ static constexpr int32_t ADDRMAN_NEW_BUCKET_COUNT_LOG2{10}; static constexpr int ADDRMAN_NEW_BUCKET_COUNT{1 << ADDRMAN_NEW_BUCKET_COUNT_LOG2}; -//! maximum allowed number of entries in buckets for new and tried addresses +/** Maximum allowed number of entries in buckets for new and tried addresses */ static constexpr int32_t ADDRMAN_BUCKET_SIZE_LOG2{6}; static constexpr int ADDRMAN_BUCKET_SIZE{1 << ADDRMAN_BUCKET_SIZE_LOG2}; |