Ethan Buchman
8b74a8d6ac
NodeInfo not a pointer
7 years ago
Ethan Buchman
08f84cd712
a little more moving around
7 years ago
Ethan Buchman
452d10f368
cleanup switch
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
Ethan Buchman
9670519a21
remove PoW from ID
7 years ago
Ethan Buchman
c1e167e330
note in trust metric test
7 years ago
Ethan Buchman
e2b3b5b58c
dial_persistent_peers -> dial_peers with persistent option
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
Adrian Brink
f602de437e
Move P2P docs into docs folder
7 years ago
Ethan Buchman
488ae529ad
p2p: authenticate peer ID
7 years ago
Ethan Buchman
6e823c6e87
p2p: support addr format ID@IP:PORT
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
b289d2baf4
persistent node key and ID
7 years ago
Ethan Buchman
f2e0abf1dc
p2p: reorder some checks in addPeer; add comments to NodeInfo
7 years ago
Ethan Buchman
528154f1a2
p2p: PrivKey need not be Ed25519
7 years ago
Ethan Buchman
bc71840f06
more p2p docs
7 years ago
Ethan Buchman
1acb12edf5
p2p docs
7 years ago
Ethan Buchman
14c812a39c
tmlibs timer fix
7 years ago
Ethan Buchman
cb3ac6987e
remove some debugs
7 years ago
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
7 years ago
Ethan Buchman
d7cb2f850d
more logs in p2p
7 years ago
Ethan Buchman
bfe0a4a8ac
more logging
7 years ago
Ethan Buchman
0ec7909ec3
more logging in p2p and consensus
7 years ago
Anton Kaliaev
c513649df4
strip protocol if defined
Fixes #934
7 years ago
Anton Kaliaev
a6911825b0
PanicCrisis is deprecated
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
90df9fa1bf
p2p/trust: remove extra channels
7 years ago
caffix
eae6e6381e
trust metric is now a service and the test ticker has been added
7 years ago
Petabyte Storage
8be708fe5b
fix spelling and makefile gometalinter.v2
7 years ago
Ethan Buchman
5511bd8e85
p2p: exponential backoff on reconnect. closes #939
7 years ago
Ethan Buchman
a37c1143ca
adr: update 007 trust metric usage
7 years ago
Zach
12c5a57415
determinisitic linter ( #902 )
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
7 years ago
caffix
44f62e5e27
built the WaitForStop functionality into the Stop method
7 years ago
caffix
5d464364a8
fixed the racy test and removed all the calls to Sleep
7 years ago
Anton Kaliaev
c609b18698
tolerate unresolvable seeds (Refs #880 )
7 years ago
Ethan Buchman
e101aa9fc8
fix for legacy gowire
7 years ago
Ethan Buchman
cb9a1dbb4f
p2p/trust: lock on Copy()
7 years ago
Ethan Buchman
814541f6d9
p2p/trust: split into multiple files and improve function order
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
Ethan Buchman
55b81cc1a1
address linting FIXMEs
7 years ago
Zach Ramsay
478a10aa41
Write doesn't need error checked
7 years ago