Jeremiah Andrews
6c4ca140ed
Add private peer ID tracking to AddrBook ( #1989 )
* Add private peer ID tracking to AddrBook
* Remove private peer tracking/blocking from pex
* debug level msg when we fail to add private address
6 years ago
Dev Ojha
dae7dc30e0
Switch usage of math/rand to cmn's rand ( #1980 )
This commit switches all usage of math/rand to cmn's rand. The only
exceptions are within the random file itself, the tools package, and the
crypto package. In tools you don't want it to lock between the go-routines.
The crypto package doesn't use it so the crypto package have no other
dependencies within tendermint/tendermint for easier portability.
Crypto/rand usage is unadjusted.
Closes #1343
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Anton Kaliaev
6e39ec6e26
do not even try to dial ourselves
also, remove address from the book (plus mark it as our address)
and return an error if we fail to parse peers list
7 years ago
Anton Kaliaev
cee7b5cb54
GetSelectionWithBias
Refs #1130
7 years ago
Anton Kaliaev
f0d4f56327
refactor pex_reactor tests
7 years ago
Ethan Buchman
44e967184a
p2p: tmconn->conn and types->p2p
7 years ago
Ethan Buchman
5b5cbaa66a
p2p: use sub dirs
7 years ago
Ethan Buchman
03550c7076
wip addrbook
7 years ago
Ethan Buchman
53a5498fc5
more fixes from review
7 years ago
Ethan Buchman
e4d52401cf
some fixes from review
7 years ago
Ethan Buchman
7d35500e6b
p2p: add ID to NetAddress and use for AddrBook
7 years ago
Ethan Buchman
c4b695f78d
minor fixes from review
7 years ago
Ethan Buchman
40e93a5f9e
p2p/addrbook: fix addToOldBucket
7 years ago
Ethan Buchman
435eb6e2b3
p2p/addrbook: add non-terminating test
7 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
23a6a6f8fc
move into p2p package
8 years ago
Anton Kaliaev
0277e52bd5
fix merge
8 years ago
Anton Kaliaev
cf18bf2966
add public RemoveAddress API
after discussion with @ebuchman (https://github.com/tendermint/go-p2p/pull/10#discussion_r96471729 )
8 years ago
Anton Kaliaev
108beae7a8
more tests for AddrBook
8 years ago
rigelrozanski
26275ba66c
dial seeds error handling
8 years ago
Ethan Buchman
2cee364692
addrbook: toggle strict routability
8 years ago
Jae Kwon
abc3a2cc3c
initial commit
9 years ago