Ethan Buchman
3df5fd21cd
better abuse handling in pex
2018-01-14 03:22:01 -05:00
Ethan Buchman
68237911ba
NetAddress.Same checks ID or DialString
2018-01-14 01:15:37 -05:00
Ethan Buchman
f9e4f6eb6b
reorder peer.go methods
2018-01-14 01:15:37 -05:00
Ethan Buchman
8b74a8d6ac
NodeInfo not a pointer
2018-01-14 01:15:33 -05:00
Ethan Buchman
08f84cd712
a little more moving around
2018-01-13 23:56:57 -05:00
Ethan Buchman
452d10f368
cleanup switch
2018-01-13 17:37:52 -05:00
Ethan Buchman
7667e11973
remove RemoteAddr from NodeInfo
2018-01-13 17:36:03 -05:00
Ethan Buchman
53a5498fc5
more fixes from review
2018-01-13 17:34:12 -05:00
Ethan Buchman
e4d52401cf
some fixes from review
2018-01-13 16:06:51 -05:00
Ethan Buchman
9670519a21
remove PoW from ID
2018-01-13 15:50:59 -05:00
Ethan Buchman
b1485b181a
Merge branch 'p2p-consolidate' into p2p-id
2018-01-13 15:20:23 -05:00
Ethan Buchman
c1e167e330
note in trust metric test
2018-01-13 15:11:13 -05:00
Ethan Buchman
e2b3b5b58c
dial_persistent_peers -> dial_peers with persistent option
2018-01-13 14:50:58 -05:00
Anton Kaliaev
075ae1e301
minimal test for dialing seeds in pex reactor
2018-01-09 18:29:29 -06:00
Anton Kaliaev
705d51aa42
move dialSeedsIfAddrBookIsEmptyOrPEXFailedToConnect into PEX reactor
2018-01-09 17:54:29 -06:00
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
2018-01-09 16:18:05 -06:00
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
2018-01-09 16:03:24 -06:00
Adrian Brink
f602de437e
Move P2P docs into docs folder
2018-01-03 10:49:47 +01:00
Ethan Buchman
488ae529ad
p2p: authenticate peer ID
2018-01-01 23:23:11 -05:00
Ethan Buchman
6e823c6e87
p2p: support addr format ID@IP:PORT
2018-01-01 23:08:20 -05:00
Ethan Buchman
7d35500e6b
p2p: add ID to NetAddress and use for AddrBook
2018-01-01 22:39:08 -05:00
Ethan Buchman
a17105fd46
p2p: peer.Key -> peer.ID
2018-01-01 22:39:05 -05:00
Ethan Buchman
b289d2baf4
persistent node key and ID
2018-01-01 21:21:42 -05:00
Ethan Buchman
f2e0abf1dc
p2p: reorder some checks in addPeer; add comments to NodeInfo
2018-01-01 21:21:39 -05:00
Ethan Buchman
528154f1a2
p2p: PrivKey need not be Ed25519
2018-01-01 19:44:01 -05:00
Ethan Buchman
bc71840f06
more p2p docs
2018-01-01 16:30:36 -05:00
Ethan Buchman
1acb12edf5
p2p docs
2017-12-31 17:11:09 -05:00
Ethan Buchman
14c812a39c
tmlibs timer fix
2017-12-25 11:11:55 -05:00
Ethan Buchman and GitHub
652d1e3de8
Merge pull request #979 from tendermint/934-node-fails-to-parse-seeds
...
strip protocol if defined
2017-12-19 12:26:32 -05:00
Ethan Buchman
cb3ac6987e
remove some debugs
2017-12-19 10:11:37 -05:00
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
2017-12-16 19:16:08 -05:00
Ethan Buchman
d7cb2f850d
more logs in p2p
2017-12-16 13:36:52 -05:00
Ethan Buchman
bfe0a4a8ac
more logging
2017-12-16 13:36:52 -05:00
Ethan Buchman
0ec7909ec3
more logging in p2p and consensus
2017-12-16 13:36:52 -05:00
Anton Kaliaev
c513649df4
strip protocol if defined
...
Fixes #934
2017-12-15 13:36:08 -06:00
Anton Kaliaev
a6911825b0
PanicCrisis is deprecated
2017-12-15 13:35:49 -06:00
Ethan Buchman and GitHub
068d83bce8
Merge pull request #677 from tendermint/blockchain-test-store
...
blockchain: add tests for BlockStore
2017-12-15 13:33:55 -05:00
Ethan Buchman
78a682e4b6
blockchain: test fixes
2017-12-15 12:07:48 -05:00
Ethan Buchman and Anton Kaliaev
462b755a60
activate PEX reactor by default
2017-12-13 12:25:48 -06:00
Ethan Buchman
64f056b57d
Merge branch '916-remove-sleeps-from-tests' into develop
2017-12-12 16:43:36 -05:00
Ethan Buchman
90df9fa1bf
p2p/trust: remove extra channels
2017-12-12 16:43:19 -05:00
caffix
eae6e6381e
trust metric is now a service and the test ticker has been added
2017-12-12 15:33:42 -05:00
Petabyte Storage
8be708fe5b
fix spelling and makefile gometalinter.v2
2017-12-11 20:48:15 -08:00
Ethan Buchman
5511bd8e85
p2p: exponential backoff on reconnect. closes #939
2017-12-11 13:41:09 -05:00
Ethan Buchman
a37c1143ca
adr: update 007 trust metric usage
2017-12-10 19:00:44 -05:00
Zach and GitHub
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
2017-12-10 17:44:22 +00:00
caffix
44f62e5e27
built the WaitForStop functionality into the Stop method
2017-12-09 13:25:28 -05:00
caffix
5d464364a8
fixed the racy test and removed all the calls to Sleep
2017-12-08 15:51:18 -05:00
Anton Kaliaev
c609b18698
tolerate unresolvable seeds (Refs #880 )
2017-12-07 13:17:09 -06:00
Ethan Buchman and GitHub
58b4a8395b
Merge pull request #917 from tendermint/trust-metric-cleanup
...
Trust metric cleanup
2017-12-06 02:11:38 -05:00