Zach
a29c67563c
Update p2p README, closes #1102
2018-01-14 13:50:34 +00:00
Ethan Buchman
17f7a9b510
improve seed dialing logic
2018-01-14 03:56:15 -05:00
Ethan Buchman
3df5fd21cd
better abuse handling in pex
2018-01-14 03:22:01 -05:00
Ethan Buchman
99076f1942
Merge pull request #1105 from tendermint/p2p-switch
...
cleanup switch
2018-01-14 01:20:13 -05:00
Ethan Buchman
3368eeb03e
fix tests
2018-01-14 01:19:07 -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
8b3fb743cf
Merge pull request #1048 from tendermint/p2p-id
...
P2P ID
2018-01-13 17:35:21 -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
47a6928890
Merge pull request #1030 from tendermint/864-distinguish-between-seeds-and-manual-peers
...
Distinguish between seeds and manual peers
2018-01-13 15:12:47 -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
Ethan Buchman
e6b70baae0
Merge branch 'develop' into 864-distinguish-between-seeds-and-manual-peers
2018-01-13 14:34:32 -05:00
Anton Kaliaev
b40aa91b41
document event subscriptions
...
Refs #1100
2018-01-12 12:53:34 -06:00
Ethan Buchman
a13b17ec6c
Merge pull request #792 from tendermint/config
...
Config Improvements
2018-01-10 14:41:30 -05:00
Ethan Buchman
b32a507a1b
Merge pull request #1088 from tendermint/1087-update-docker
...
Update docker image
2018-01-10 14:23:06 -05:00
Ethan Buchman
d6e01e8cee
Merge pull request #1089 from tendermint/1075-document-underflow-overflow
...
document the maximum supported voting power due to overflow [ci skip]
2018-01-10 14:20:31 -05:00
Anton Kaliaev
c79ba3c349
document the maximum supported voting power due to overflow [ci skip]
...
Refs #1075
2018-01-10 14:21:26 -05:00
Anton Kaliaev
12ca972761
Merge branch 'develop' into 1087-update-docker
2018-01-10 11:08:14 -06:00
Zach Ramsay
657ad214cb
p2p tests: put priv_val in right place
2018-01-10 16:30:00 +00:00
Zach
39acf1c5e8
Merge branch 'develop' into config
2018-01-10 14:21:24 +00: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
ef0493ddf3
rewrite Peers section of Using Tendermint guide [ci skip]
2018-01-09 17:54:28 -06:00
Anton Kaliaev
1b455883d2
readd /dial_seeds
2018-01-09 17:54:28 -06:00
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
2018-01-09 16:18:05 -06:00
Anton Kaliaev
37f86f9518
update changelog [ci skip]
2018-01-09 16:04:07 -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
Anton Kaliaev
179d6062e4
try to connect through addrbook before requesting peers from seeds
...
we only use seeds if we can’t connect to peers in the addrbook.
Refs #864
2018-01-09 16:03:24 -06:00
Zach
c521f385a6
add quick start guide ( #1069 )
2018-01-09 20:35:47 +00:00
Anton Kaliaev
b8214fce66
Merge branch 'develop' into 1087-update-docker
2018-01-09 12:21:23 -06:00
Ethan Buchman
03a14d8342
docs/p2p: updates from review ( #1076 )
2018-01-09 11:44:49 -06:00
Anton Kaliaev
48638eaa20
update docker readme
2018-01-09 11:05:15 -06:00
Anton Kaliaev
170777300e
update docker
...
Closes #1087
2018-01-09 11:04:37 -06:00
Adrian Brink
32311acd01
Vulnerability in light client proxy ( #1081 )
...
* Vulnerability in light client proxy
When calling GetCertifiedCommit the light client proxy would call
Certify and even on error return the Commit as if it had been correctly
certified.
Now it returns the error correctly and returns an empty Commit on error.
* Improve names for clarity
The lite package now contains StaticCertifier, DynamicCertifier and
InqueringCertifier. This also changes the method receivers from one
letter to two letter names, which will make future refactoring easier
and follows the coding standards.
* Fix test failures
* Rename files
* remove dead code
2018-01-09 10:36:11 -06:00
Ethan Buchman
b9cbaf8f10
priv-val: fix timestamp for signing things that only differ by timestamp
2018-01-08 16:36:16 -05:00
Ethan Buchman
8d86b6c2d2
Merge pull request #1084 from tendermint/fix-make-dist-script
...
fix broken `make dist` target
2018-01-08 16:20:36 -05:00
Anton Kaliaev
555f560ecd
fix broken make dist
target
2018-01-08 13:13:47 -06:00
Zarko Milosevic
dba4815616
Define requirements of the proposer selection procedure
2018-01-08 14:10:01 +01:00
Ethan Buchman
cf42611187
Merge pull request #997 from tendermint/919-careful-with-validator-voting
...
check for overflow and underflow while choosing proposer
2018-01-07 16:48:39 -05:00
Ethan Buchman
90c691df2b
Merge pull request #1063 from tendermint/feature/Issue1020
...
NewInquiring returns error instead of swallowing it
2018-01-07 16:30:33 -05:00
Adrian Brink
13fa23c568
Add error checking
2018-01-06 22:24:58 +01:00
Jae Kwon
124c58d48f
Merge pull request #1071 from tendermint/revert-1053-feature/buildprocess
...
Revert "Changes to achieve a standardized build process and deterministic builds"
2018-01-05 22:42:19 -08:00