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
|
7b87cdaed8
|
p2p: seed disconnects after sending addrs
|
7 years ago |
Ethan Buchman
|
c2f97e6454
|
p2p: seed mode fixes from rebase and review
|
7 years ago |
Ethan Buchman
|
88eb3e7af0
|
some minor renames
|
7 years ago |
caffix
|
949211a137
|
added a test for PEX reactor seed mode
|
7 years ago |
Ethan Buchman
|
fc7915ab4c
|
fixes from review
|
7 years ago |
Ethan Buchman
|
17f7a9b510
|
improve seed dialing logic
|
7 years ago |
Ethan Buchman
|
3df5fd21cd
|
better abuse handling in pex
|
7 years ago |
Ethan Buchman
|
08f84cd712
|
a little more moving around
|
7 years ago |
Ethan Buchman
|
7667e11973
|
remove RemoteAddr from NodeInfo
|
7 years ago |
Ethan Buchman
|
53a5498fc5
|
more fixes from review
|
7 years ago |
Ethan Buchman
|
e4d52401cf
|
some fixes from review
|
7 years ago |
Anton Kaliaev
|
075ae1e301
|
minimal test for dialing seeds in pex reactor
|
7 years ago |
Anton Kaliaev
|
705d51aa42
|
move dialSeedsIfAddrBookIsEmptyOrPEXFailedToConnect into PEX reactor
|
7 years ago |
Anton Kaliaev
|
e4897b7bdd
|
rename manual peers to persistent peers
|
7 years ago |
Anton Kaliaev
|
28fc15028a
|
distinguish between seeds and manual peers in the config/flags
- we only use seeds if we can’t connect to peers in the addrbook.
- we always connect to nodes given in config/flags
Refs #864
|
7 years ago |
Ethan Buchman
|
7d35500e6b
|
p2p: add ID to NetAddress and use for AddrBook
|
7 years ago |
Ethan Buchman
|
a17105fd46
|
p2p: peer.Key -> peer.ID
|
7 years ago |
Ethan Buchman
|
0ec7909ec3
|
more logging in p2p and consensus
|
7 years ago |
Ethan Buchman
|
78a682e4b6
|
blockchain: test fixes
|
7 years ago |
Ethan Buchman
|
462b755a60
|
activate PEX reactor by default
|
7 years ago |
Ethan Buchman
|
a37c1143ca
|
adr: update 007 trust metric usage
|
7 years ago |
Anton Kaliaev
|
691e266bef
|
ignore ErrAlreadyStarted when starting addrbook in PEXReactor
|
7 years ago |
Anton Kaliaev
|
69b5da766c
|
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
|
7 years ago |
Ethan Buchman
|
9529f12c28
|
more linting
|
7 years ago |
Zach Ramsay
|
15651a931e
|
linting errors: tackle p2p package
|
7 years ago |
Zach Ramsay
|
46ccbcbff6
|
linting: apply 'gofmt -s -w' throughout
|
7 years ago |
Ethan Buchman
|
c4b695f78d
|
minor fixes from review
|
7 years ago |
Ethan Buchman
|
be1a16a601
|
p2p/pex: simplify ensurePeers
|
7 years ago |
Ethan Buchman
|
c931279960
|
p2p: some fixes re @odeke-em issues #813,#816,#817
|
7 years ago |
Ethan Buchman
|
e01986e2b3
|
p2p: update readme, some minor things
|
7 years ago |
Ethan Buchman
|
0bbf38141a
|
blockchain/pool: some comments and small changes
|
7 years ago |
Ethan Buchman
|
aea8629272
|
peer interface
|
7 years ago |
Anton Kaliaev
|
b4ece65726
|
standardize key for errors (should be "err")
|
8 years ago |
zramsay
|
cf31f8d06f
|
core: apply megacheck vet tool (unused, gosimple, staticcheck)
|
8 years ago |
Anton Kaliaev
|
f803544195
|
new logging
|
8 years ago |
Ethan Buchman
|
23a6a6f8fc
|
move into p2p package
|
8 years ago |
Ethan Buchman
|
eaeb547938
|
use tmlibs
|
8 years ago |
Ethan Buchman
|
75bad132fc
|
msgCountByPeer is a CMap
|
8 years ago |
Ethan Buchman
|
391c738959
|
update comment about outbound peers and addrbook
|
8 years ago |
Anton Kaliaev
|
17ec70fc09
|
revert 2710873
|
8 years ago |
Anton Kaliaev
|
9ce71013df
|
revert e448199
|
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
|
324293f4cb
|
note on preventing abuse [ci skip]
|
8 years ago |
Anton Kaliaev
|
52d9cf080e
|
make GoLint happy
|
8 years ago |
Anton Kalyaev
|
07e7b98c70
|
improve ensurePeers routine
optimizations:
- if we move peer to the old bucket as soon as connected and pick only
from new group, we can skip alreadyConnected check
|
8 years ago |
Anton Kalyaev
|
873d34157d
|
prevent abuse from peers
|
8 years ago |