Jae Kwon
7afe74a963
Update go-crypto to 0.6.1 and change config/toml.go privval address
7 years ago
Jae Kwon
02531ca5a3
Fix race testing (cont;) Bump version to 0.19.0
7 years ago
Jae Kwon
d24e4cb821
Fix race testing
7 years ago
Jae Kwon
fb64314d1c
Review from Anton
7 years ago
Jae Kwon
32e1d195a0
Fix cmd and lite
7 years ago
Jae Kwon
3ca5292dc9
Fix rpc tests
7 years ago
Jae Kwon
c541d58d2f
WIP: fix rpc/core
7 years ago
Jae Kwon
3037b5b7ca
Fix rpc/lib/...
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Ethan Buchman
799beebd36
fix consensus tests
7 years ago
Jae Kwon
45ec5fd170
WIP consensus
7 years ago
Jae Kwon
5d1c758730
Fix evidence
7 years ago
Jae Kwon
1b9323f105
Fix blockchain tests
7 years ago
Jae Kwon
196f8410ba
WIP commit; Fix types/results_test
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Jae Kwon
35a1d747b0
Fix mempool
7 years ago
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Jae Kwon
901b456151
P2P now works with Amino
7 years ago
Jae Kwon
ced74251e9
maxPacketMsg -> packetMsgMax...
7 years ago
Jae Kwon
6c345f9fa2
First stab: p2p/conn
7 years ago
Ethan Buchman
ff1ec0260e
Merge pull request #1318 from tendermint/bucky/testnet-cmd-fix
testnet cmd: ensure config dir exists. closes #1290
7 years ago
Emmanuel T Odeke
7cb3188fbc
testnet cmd: ensure config dir exists. closes #1290
7 years ago
Alexander Simmerl
9b9022f8df
privVal: Improve SocketClient network code ( #1315 )
Follow-up to feedback from #1286 , this change simplifies the connection
handling in the SocketClient and makes the communication via TCP more
robust. It introduces the tcpTimeoutListener to encapsulate accept and
i/o timeout handling as well as connection keep-alive, this type could
likely be upgraded to handle more fine-grained tuning of the tcp stack
(linger, nodelay, etc.) according to the properties we desire. The same
methods should be applied to the RemoteSigner which will be overhauled
when the priv_val_server is fleshed out.
* require private key
* simplify connect logic
* break out conn upgrades to tcpTimeoutListener
* extend test coverage and simplify component setup
7 years ago
Ethan Buchman
68e049d3af
Merge pull request #1244 from tendermint/1147-using-mark-good-and-stop-peer-for-error
Using MarkGood and StopPeerForError
7 years ago
Anton Kaliaev
86ddf17db0
add a todo
Refs #1281
7 years ago
Anton Kaliaev
a655500047
fix copy-pasted comment [ci skip]
7 years ago
Anton Kaliaev
714f885dac
mark peer as good if it contributed enough votes or block parts
Refs #1147
7 years ago
Anton Kaliaev
b0d8f552c5
return err if peer has sent a vote that does not match our round
7 years ago
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
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
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