Skip to content

Commit f13dac9

Browse files
BitcoinPRReadingGrouptheuni
authored andcommitted
Comment edits and cleanup
Original PR here: bitcoin/bitcoin#6044
1 parent ff734e9 commit f13dac9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/addrman.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ class CAddrInfo : public CAddress
110110
*
111111
* To that end:
112112
* * Addresses are organized into buckets.
113-
* * Address that have not yet been tried go into 1024 "new" buckets.
114-
* * Based on the address range (/16 for IPv4) of source of the information, 64 buckets are selected at random
113+
* * Addresses that have not yet been tried go into 1024 "new" buckets.
114+
* * Based on the address range (/16 for IPv4) of the source of information, 64 buckets are selected at random.
115115
* * The actual bucket is chosen from one of these, based on the range in which the address itself is located.
116-
* * One single address can occur in up to 8 different buckets, to increase selection chances for addresses that
116+
* * One single address can occur in up to 8 different buckets to increase selection chances for addresses that
117117
* are seen frequently. The chance for increasing this multiplicity decreases exponentially.
118118
* * When adding a new address to a full bucket, a randomly chosen entry (with a bias favoring less recently seen
119119
* ones) is removed from it first.

0 commit comments

Comments
 (0)