aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2021-09-03 17:27:11 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2021-09-28 19:02:34 -0400
commit29727c2aa1233f7c5b91a17884c405e0aef10c6e (patch)
tree5e7318e377fa5faeb8067bdb7975936c5524866a /src/addrman.cpp
parent14f9e000d05f82b364d5a142cafc70b10406b660 (diff)
downloadbitcoin-29727c2aa1233f7c5b91a17884c405e0aef10c6e.tar.xz
[doc] Update comments
Maintain comments on the external interfaces rather than on the internal functions that implement them.
Diffstat (limited to 'src/addrman.cpp')
-rw-r--r--src/addrman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrman.cpp b/src/addrman.cpp
index 40e087f5fb..3ccd3751bc 100644
--- a/src/addrman.cpp
+++ b/src/addrman.cpp
@@ -23,7 +23,7 @@
static constexpr uint32_t ADDRMAN_TRIED_BUCKETS_PER_GROUP{8};
/** Over how many buckets entries with new addresses originating from a single group are spread */
static constexpr uint32_t ADDRMAN_NEW_BUCKETS_PER_SOURCE_GROUP{64};
-/** Maximum number of times an address can be added to the new table */
+/** Maximum number of times an address can occur in the new table */
static constexpr int32_t ADDRMAN_NEW_BUCKETS_PER_ADDRESS{8};
/** How old addresses can maximally be */
static constexpr int64_t ADDRMAN_HORIZON_DAYS{30};