aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.h
diff options
context:
space:
mode:
authorCorinne Dashjr <corinne+git@dashjr.org>2015-04-28 14:48:28 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-05-01 11:21:27 +0000
commit7e6d23b1719191f83af7d3e7b134a90889b5c1ef (patch)
tree04c8888faab17cbe87ca776ab1076b78da0e875b /src/addrman.h
parent18d28326785a7111b50528107550c3d37ec40d89 (diff)
downloadbitcoin-7e6d23b1719191f83af7d3e7b134a90889b5c1ef.tar.xz
Bugfix: Grammar fixes
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 5badd4ef95..98df370c7d 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -17,8 +17,8 @@
#include <stdint.h>
#include <vector>
-/**
- * Extended statistics about a CAddress
+/**
+ * Extended statistics about a CAddress
*/
class CAddrInfo : public CAddress
{
@@ -112,7 +112,7 @@ public:
* * 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
- * * The actual bucket is chosen from one of these, based on the range the address itself is located.
+ * * 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
* 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