Anton Kaliaev
63cb69cb96
comment out ErrAddingVote because it breaks byzantine_test
7 years ago
Anton Kaliaev
266974cb59
stop peer if it sends invalid vote
7 years ago
Anton Kaliaev
bcf54b0aa3
PanicSanity is deprecated
7 years ago
Anton Kaliaev
d86855ad7a
stop peer if it sends us msg with unknown channel
7 years ago
Anton Kaliaev
d0c67bbe16
stop peer if evidence is not valid
7 years ago
Anton Kaliaev
4242352852
stop peer on decoding error
7 years ago
Anton Kaliaev
f299689573
return back defaultChannelCapacity
7 years ago
Anton Kaliaev
baf457e6d4
return error if peer sent us a block we didn't expect with a height too far ahead/behind
7 years ago
Anton Kaliaev
0c7e871ef0
[blockchain] replace timeoutsCh with more abstract errorsCh
7 years ago
Anton Kaliaev
87ce804b4a
cmn.PanicSanity is deprecated
7 years ago
Anton Kaliaev
2a258a2c3f
revert removing private peers from persistent
7 years ago
Anton Kaliaev
a40518c7da
revert adding dial_peers's private flag
7 years ago
Anton Kaliaev
31deaa4a79
fix broken merge
7 years ago
Anton Kaliaev
736ea055a8
add a test for pex reactor
7 years ago
Anton Kaliaev
a39aec0bae
rename private_peers to private_peer_ids to distinguish from peers
7 years ago
Anton Kaliaev
8bef3eb1f4
private peers
Refs #1126
7 years ago
Ethan Buchman
244d88dfda
Merge pull request #1314 from tendermint/add-go-amino-as-source-to-wire
Add go amino as source to wire
7 years ago
Anton Kaliaev
76e1dd41e4
fix Makefile's .PHONY
7 years ago
Anton Kaliaev
e39187a063
add go-amino as source for go-wire
7 years ago
Ethan Buchman
cd2ba4aa7f
Merge pull request #1286 from tendermint/feature/xla-priv-val-invert-dial
Invert privVal socket communication
7 years ago
Emmanuel T Odeke
0de19420f6
cmd/tendermint/commands/lite: add tcp scheme to address URLs ( #1297 )
Noticed while investigating
https://github.com/tendermint/tendermint/issues/970
As reported by @zramsay , we'd get the warning
from tendermint/rpc/lib because we were passing in
scheme-less addresses, so by default use "tcp".
Also by default, "node" (nodeAddr) has been set to:
"tcp://localhost:46657"
instead of the bare:
"localhost:46657"
This change is just to clean up such warnings as
they spuriously would spook users for a package "lite"
that claims to be secure.
7 years ago
Ethan Buchman
f3000d0c84
Merge pull request #1292 from tendermint/1125-exp-backoff-for-ensure-peers
exponential backoff for addrs in the address book
7 years ago
Anton Kaliaev
fc5b0471d9
use time.Since
7 years ago
Anton Kaliaev
264bce4ddd
skip dialing based on last time dialed
7 years ago
Anton Kaliaev
0f41570c80
fixes from bucky's review
7 years ago
Emmanuel T Odeke
8723c91db9
types: Hash invoked for nil Data and Header should not panic
Fixes https://github.com/tendermint/tendermint/issues/1298
Fixes https://github.com/tendermint/tendermint/issues/1299
Found while writing tests in https://github.com/tendermint/tendermint/pull/1300
7 years ago
Anton Kaliaev
f85c8896d9
test pex_reactor's dialPeer
7 years ago
Anton Kaliaev
f0d4f56327
refactor pex_reactor tests
7 years ago
Anton Kaliaev
3d5c05e4e6
Merge pull request #1293 from tendermint/update-template
add 2 more points to ISSUE_TEMPLATE
7 years ago
Anton Kaliaev
018da09f14
do not run complete test suite on `make`
bad dev experience
7 years ago
Anton Kaliaev
60a64af28d
add 2 more points to ISSUE_TEMPLATE
Refs #1291
7 years ago
Zach
13a2013229
Testing refactor for Jenkins ( #1098 )
* de-mystify tests & run them in parallel (#1031 )
* test optimization for jenkins (#1093 )
* makefile cleanup
* tests: split fast and slow go tests, closes #1055
* pr comments
* restore circle conditions
* fix need_abci
* ...
* docker run: no :Z for circle?
* Remove cmd breaking comment
7 years ago
Anton Kaliaev
1941b5c769
fixes from @xla's review
7 years ago
Anton Kaliaev
21e2c41c6b
exponential backoff for addrs in the address book
Refs #1125
7 years ago
Alexander Simmerl
589781721a
Invert privVal socket communication
Follow-up to #1255 aligning with the expectation that the external
signing process connects to the node. The SocketClient will block on
start until one connection has been established, support for multiple
signers connected simultaneously is a planned future extension.
* SocketClient accepts connection
* PrivValSocketServer renamed to RemoteSigner
* extend tests
7 years ago
Ethan Buchman
2ce57a65ff
Merge pull request #1284 from tendermint/feature/xla-follow-priv-val
Follow-ups to PrivValidator
7 years ago
Alexander Simmerl
2aa77025c3
Fix typo
7 years ago
Alexander Simmerl
8e1856a90a
Use builtin panic
7 years ago
Alexander Simmerl
ca619c80b6
Stop privVal socket client on node shutdown
7 years ago
Alexander Simmerl
25ff699425
Improve method docs
7 years ago
Alexander Simmerl
879b4c0a2c
Use common method to determine file existence
7 years ago
Ethan Buchman
45d07a3d0b
Merge pull request #1283 from tendermint/feature/xla-run-integration-release
Speed up CircleCI builds
7 years ago
Admir Sabanovic
788354d81e
fix typo ( #1285 )
7 years ago
Alexander Simmerl
b7ce89e568
Speed up CircleCI builds
To achieve faster feedback cycles for our feature PRs this change
reduces the average buildtime from 35 to ~6min by utilising their new
2.0 offering based on docker and nomad. We make use of parallel build
steps wherever possible so that the duration is determined by the
slowest test suite (p2p).
This is an intermediate step until we move our CI/CD completely
on-premise for more control and added security.
7 years ago
Anton Kaliaev
8d81a259c7
Merge pull request #1280 from tendermint/zach/explain-determinism
docs: add 'On Determinism'
7 years ago
Zach Ramsay
3019761204
docs: add document 'On Determinism'
closes https://github.com/tendermint/abci/issues/56
7 years ago
Anton Kaliaev
6120a4c5e4
Merge pull request #1256 from tendermint/feature/more-priv-val
PrivValidatorAddr -> PrivValidatorListenAddr. Update ADR008
7 years ago
Alexander Simmerl
533ed2a876
adr: Amend decisions for PrivValidator
7 years ago
Ethan Buchman
d4e4055d57
PrivValidatorAddr -> PrivValidatorListenAddr. Update ADR008
7 years ago
Alexander Simmerl
ee51ad8e29
Make RPC handler protocol agnostic ( #1276 )
7 years ago