Jae Kwon
d24e4cb821
Fix race testing
2018-04-06 17:02:29 -07:00
Jae Kwon
fb64314d1c
Review from Anton
2018-04-06 13:46:40 -07:00
Jae Kwon
32e1d195a0
Fix cmd and lite
2018-04-05 22:05:30 -07:00
Jae Kwon
3ca5292dc9
Fix rpc tests
2018-04-05 21:19:14 -07:00
Jae Kwon
c541d58d2f
WIP: fix rpc/core
2018-04-05 16:07:29 -07:00
Jae Kwon
3037b5b7ca
Fix rpc/lib/...
2018-04-05 15:45:11 -07:00
Jae Kwon
e4492afbad
Merge
2018-04-05 08:17:10 -07:00
Ethan Buchman
799beebd36
fix consensus tests
2018-04-05 17:54:26 +03:00
Jae Kwon
45ec5fd170
WIP consensus
2018-04-05 07:05:45 -07:00
Jae Kwon
5d1c758730
Fix evidence
2018-04-05 05:43:23 -07:00
Jae Kwon
1b9323f105
Fix blockchain tests
2018-04-05 05:17:43 -07:00
Jae Kwon
196f8410ba
WIP commit; Fix types/results_test
2018-04-03 07:03:08 -07:00
Jae Kwon
89cdde7f1e
Fix state tests
2018-04-03 06:50:53 -07:00
Jae Kwon
35a1d747b0
Fix mempool
2018-03-31 11:51:32 +02:00
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
Jae Kwon
901b456151
P2P now works with Amino
2018-03-26 06:40:02 +02:00
Jae Kwon
ced74251e9
maxPacketMsg -> packetMsgMax...
2018-03-21 02:47:38 +01:00
Jae Kwon
6c345f9fa2
First stab: p2p/conn
2018-03-21 02:27:10 +01:00
Ethan Buchman
ff1ec0260e
Merge pull request #1318 from tendermint/bucky/testnet-cmd-fix
...
testnet cmd: ensure config dir exists. closes #1290
2018-03-17 00:05:30 +01:00
Emmanuel T Odeke
7cb3188fbc
testnet cmd: ensure config dir exists. closes #1290
2018-03-16 14:26:43 +01:00
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
2018-03-16 16:32:17 +04:00
Ethan Buchman
68e049d3af
Merge pull request #1244 from tendermint/1147-using-mark-good-and-stop-peer-for-error
...
Using MarkGood and StopPeerForError
2018-03-15 18:58:29 +01:00
Anton Kaliaev
86ddf17db0
add a todo
...
Refs #1281
2018-03-15 11:58:20 +04:00
Anton Kaliaev
a655500047
fix copy-pasted comment [ci skip]
2018-03-15 11:58:20 +04:00
Anton Kaliaev
714f885dac
mark peer as good if it contributed enough votes or block parts
...
Refs #1147
2018-03-15 11:58:20 +04:00
Anton Kaliaev
b0d8f552c5
return err if peer has sent a vote that does not match our round
2018-03-15 11:58:20 +04:00
Anton Kaliaev
63cb69cb96
comment out ErrAddingVote because it breaks byzantine_test
2018-03-15 11:58:20 +04:00
Anton Kaliaev
266974cb59
stop peer if it sends invalid vote
2018-03-15 11:58:20 +04:00
Anton Kaliaev
bcf54b0aa3
PanicSanity is deprecated
2018-03-15 11:58:20 +04:00
Anton Kaliaev
d86855ad7a
stop peer if it sends us msg with unknown channel
2018-03-15 11:58:20 +04:00
Anton Kaliaev
d0c67bbe16
stop peer if evidence is not valid
2018-03-15 11:58:20 +04:00
Anton Kaliaev
4242352852
stop peer on decoding error
2018-03-15 11:58:19 +04:00
Anton Kaliaev
f299689573
return back defaultChannelCapacity
2018-03-15 11:58:19 +04:00
Anton Kaliaev
baf457e6d4
return error if peer sent us a block we didn't expect with a height too far ahead/behind
2018-03-15 11:58:19 +04:00
Anton Kaliaev
0c7e871ef0
[blockchain] replace timeoutsCh with more abstract errorsCh
2018-03-15 11:58:19 +04:00
Anton Kaliaev
87ce804b4a
cmn.PanicSanity is deprecated
2018-03-15 11:58:19 +04:00
Ethan Buchman
244d88dfda
Merge pull request #1314 from tendermint/add-go-amino-as-source-to-wire
...
Add go amino as source to wire
2018-03-15 01:10:38 +01:00
Anton Kaliaev
76e1dd41e4
fix Makefile's .PHONY
2018-03-14 21:42:35 +04:00
Anton Kaliaev
e39187a063
add go-amino as source for go-wire
2018-03-14 21:42:17 +04:00
Ethan Buchman
cd2ba4aa7f
Merge pull request #1286 from tendermint/feature/xla-priv-val-invert-dial
...
Invert privVal socket communication
2018-03-12 16:49:32 +01:00
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.
2018-03-12 10:03:11 +04:00
Ethan Buchman
f3000d0c84
Merge pull request #1292 from tendermint/1125-exp-backoff-for-ensure-peers
...
exponential backoff for addrs in the address book
2018-03-11 19:57:49 +01:00
Anton Kaliaev
fc5b0471d9
use time.Since
2018-03-11 14:13:34 +04:00
Anton Kaliaev
264bce4ddd
skip dialing based on last time dialed
2018-03-11 14:00:49 +04:00
Anton Kaliaev
0f41570c80
fixes from bucky's review
2018-03-11 13:22:37 +04:00
Anton Kaliaev
f85c8896d9
test pex_reactor's dialPeer
2018-03-09 16:23:52 +04:00
Anton Kaliaev
f0d4f56327
refactor pex_reactor tests
2018-03-09 16:02:24 +04:00
Anton Kaliaev
3d5c05e4e6
Merge pull request #1293 from tendermint/update-template
...
add 2 more points to ISSUE_TEMPLATE
2018-03-09 15:15:34 +04:00
Anton Kaliaev
018da09f14
do not run complete test suite on make
...
bad dev experience
2018-03-08 18:55:14 +04:00
Anton Kaliaev
60a64af28d
add 2 more points to ISSUE_TEMPLATE
...
Refs #1291
2018-03-08 18:53:11 +04:00