5109746b1c
Handshake uses ApplyBlock, no ConsensuState
2017-04-18 21:28:10 -04:00
ed03cb5c17
consensus/replay: remove timeout
2017-04-18 21:27:31 -04:00
54b26869d5
consensus/wal: #HEIGHT -> #ENDHEIGHT
2017-04-18 21:27:31 -04:00
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
2017-04-18 21:27:31 -04:00
c3f1b08b6a
tx indexing (Refs #237 )
...
save transactions to blockstore
move to a separate module
benchmark KVIndexer
batch write transactions
Benchmarks:
```
BenchmarkKVIndexerIndex-2 100000 516300 ns/op
PASS
ok github.com/tendermint/tendermint/blockchain/tx 56.506s
5,16 s for 10000 transactions
1 s for 2000 transactions
```
```
BenchmarkKVIndexerIndex-2 h 3000000 8622 ns/op
PASS
ok github.com/tendermint/tendermint/blockchain/tx 34.210s
86 ms for 10000 transactions
16 ms for 2000 transactions
```
```
BenchmarkKVIndexerIndex1-2 5000000 7160 ns/op
BenchmarkKVIndexerIndex500-2 20000 1750411 ns/op
BenchmarkKVIndexerIndex1000-2 10000 3573973 ns/op
BenchmarkKVIndexerIndex2000-2 5000 7836851 ns/op
BenchmarkKVIndexerIndex10000-2 1000 33438980 ns/op
PASS
ok github.com/tendermint/tendermint/blockchain/tx 209.482s
7,8 ms for 2000 transactions
```
[state] write test for ApplyBlock
review comments
- move txindexer to state
- fix type
save Tx Index as well
do not store tx itself in the result
2017-04-10 22:44:07 +04:00
09f7dabd5e
update comment
2017-03-28 14:06:03 -04:00
4fd1471f11
remove BaseService.OnStart
2017-03-28 12:09:11 -04:00
85e83934a1
fixes from review
2017-03-28 12:07:32 -04:00
077cf13a1f
consensus: timeout on replayLastBlock
2017-03-27 15:41:45 -04:00
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
2017-03-05 23:28:42 -05:00
749df0536f
test/docker: install abci apps first
2017-03-05 14:59:02 -05:00
2037d2631a
fix race
2017-03-05 03:40:36 -05:00
de0153a1c4
consensus: some more informative logging
2017-03-05 02:15:46 -05:00
8ba79252c8
types: use mtx on PartSet.String()
2017-03-02 23:50:59 -05:00
2c724d5eee
remove warning messages in favor of "Send failed"
2017-02-21 13:25:16 +04:00
6dbe9febce
log warning if peer send failed (Refs #174 )
...
make lint happy
remove dead code
remove not needed go-common dependency
check peer.Send failures (Refs #174 )
2017-02-21 11:57:33 +04:00
0c4b6cd071
consensus: more handshake replay tests
2017-02-20 21:45:53 -05:00
f9df4294f3
move some interfaces to types/services.go
2017-02-20 20:09:15 -05:00
0765613778
move handshake to consensus package
2017-02-20 19:52:36 -05:00
756213c5f5
check appHash
2017-02-20 17:08:38 -05:00
bc67859672
make ReplayBlocks logic exhaustive
2017-02-20 16:32:48 -05:00
44d472ddd3
comments from review
2017-02-18 22:15:59 -05:00
0bec99fbd4
consensus: handshake replay test using wal
2017-02-17 19:12:05 -05:00
edc5e272db
consensus: nice error msg if ApplyBlock fails
2017-02-17 10:57:09 -05:00
6403b2f468
fixes for handshake replay through consensus
2017-02-17 10:51:05 -05:00
cbe6dbe7a1
handshake replay through consensus using mockApp
2017-02-16 17:56:45 -05:00
99b068b313
BlockMeta uses BlockID
2017-02-14 17:06:58 -05:00
7d91d4300b
update glide
2017-02-13 21:07:26 -05:00
1af930441c
Support new Query message for proofs
2017-01-28 08:27:13 -08:00
a073b1db9c
Refactor replay console -> replay_file in consensus/replay_file.go
2017-01-15 16:19:02 -08:00
94b6dd65ee
AppendTx -> DeliverTx
2017-01-12 15:55:03 -05:00
c147b41013
TMSP -> ABCI
2017-01-12 15:53:32 -05:00
2dd7030579
tmsp: ResponseInfo and ResponseEndBlock
2017-01-12 15:21:20 -05:00
e7a12f8e38
cs.Wait()
2017-01-12 14:44:42 -05:00
0525e8ed5c
rearrange common_test.go; EnsureDir for privVal
2017-01-12 12:38:09 -05:00
814ef37f75
fix tests
2017-01-12 10:58:44 -05:00
3c589dac19
startConsensusNet and stopConsensusNet
2017-01-12 02:29:53 -05:00
ce0c638005
little fix
2017-01-11 18:37:36 -05:00
535fc6cd63
test we can make blocks with skip_timeout_commit=false
2017-01-11 18:00:27 -05:00
3308ac7d83
set skip_timeout_commit to true for tests
...
For the tests its better to not use the timeout_commit, and to wait for all the
votes, because otherwise we can end up with timing dependencies in the testing
code which can lead to nondeterministic failures. That was part of the reason
for this change originally.
2017-01-11 18:00:26 -05:00
a1fd312bb1
make progress asap on full precommit votes optional (Refs #348 )
2017-01-11 18:00:26 -05:00
44f939c841
Merge pull request #359 from tendermint/val-set-changes
...
Val set changes
2017-01-11 17:56:52 -05:00
d68cdce2d5
consensus: check HasAll when TwoThirdsMajority
2017-01-11 17:53:46 -05:00
43fdc4a1ce
Fix #341
2017-01-11 08:57:10 -08:00
cb2f2b94ee
log stages to stdout
2017-01-11 10:35:04 -05:00
4722410e5e
test validator set changes more extensively
2017-01-11 10:35:04 -05:00
55b4bfa1fe
consensus: let time.Timer handle non-positive durations
2017-01-11 10:24:40 -05:00
12d92fd5db
Merge pull request #343 from tendermint/restart_test
...
Crash/Restart tests
2017-01-06 11:55:05 -08:00
bae0bc02a6
consensus: be more explicit when we need to write height after handshake
2017-01-05 20:16:42 -08:00
f30a9752e2
more fixes from review
2016-12-23 11:11:22 -05:00