aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.h
diff options
context:
space:
mode:
authorBitcoinPRReadingGroup <gsanders.87@gmail.com>2015-04-22 09:02:01 -0400
committerCory Fields <cory-nospam-@coryfields.com>2015-05-14 01:02:01 -0400
commitf13dac972c9cf308abf72a1d1a54135b1392eaea (patch)
tree9edcf2d4494b3db32c88e5089fc7a46108ec141b /src/addrman.h
parentff734e905f643e996d784e7b3f850ce4f798bee4 (diff)
downloadbitcoin-f13dac972c9cf308abf72a1d1a54135b1392eaea.tar.xz
Comment edits and cleanup
Original PR here: https://github.com/bitcoin/bitcoin/pull/6044
Diffstat (limited to 'src/addrman.h')
-rw-r--r--src/addrman.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/addrman.h b/src/addrman.h
index e0494cab39..373b0f39f3 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -110,10 +110,10 @@ public:
*
* To that end:
* * Addresses are organized into buckets.
- * * Address that have not yet been tried go into 1024 "new" buckets.
- * * Based on the address range (/16 for IPv4) of source of the information, 64 buckets are selected at random
+ * * Addresses that have not yet been tried go into 1024 "new" buckets.
+ * * Based on the address range (/16 for IPv4) of the source of information, 64 buckets are selected at random.
* * The actual bucket is chosen from one of these, based on the range in which the address itself is located.
- * * One single address can occur in up to 8 different buckets, to increase selection chances for addresses that
+ * * One single address can occur in up to 8 different buckets to increase selection chances for addresses that
* are seen frequently. The chance for increasing this multiplicity decreases exponentially.
* * When adding a new address to a full bucket, a randomly chosen entry (with a bias favoring less recently seen
* ones) is removed from it first.