Anton Kaliaev
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
8 years ago
Ethan Buchman
f9df4294f3
move some interfaces to types/services.go
8 years ago
Ethan Buchman
0765613778
move handshake to consensus package
8 years ago
Ethan Buchman
756213c5f5
check appHash
8 years ago
Ethan Buchman
bc67859672
make ReplayBlocks logic exhaustive
8 years ago
Ethan Buchman
44d472ddd3
comments from review
8 years ago
Ethan Buchman
7228b11e3f
state: remove StateIntermediate
8 years ago
Ethan Buchman
0bec99fbd4
consensus: handshake replay test using wal
8 years ago
Ethan Buchman
3c5adebcd3
applyBlock to simplify replay of many blocks. still wip
8 years ago
Ethan Buchman
6403b2f468
fixes for handshake replay through consensus
8 years ago
Ethan Buchman
cbe6dbe7a1
handshake replay through consensus using mockApp
8 years ago
Ethan Buchman
99b068b313
BlockMeta uses BlockID
8 years ago
Jae Kwon
67ab574e98
Cleanup, add stub for VerifyCommitAny
8 years ago
Ethan Buchman
94b6dd65ee
AppendTx -> DeliverTx
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
2dd7030579
tmsp: ResponseInfo and ResponseEndBlock
8 years ago
Ethan Buchman
bae0bc02a6
consensus: be more explicit when we need to write height after handshake
8 years ago
Ethan Buchman
0c01b0ded9
state.State and wal.writeHeight after handshake
8 years ago
Ethan Buchman
0e7694ca94
state: AppHashIsStale -> IntermediateState
8 years ago
Ethan Buchman
38783e7fa1
types: SignatureEd25519 -> Signature
8 years ago
Ethan Buchman
2425711734
blockchain: use ApplyBlock
8 years ago
Jae Kwon
6f88d04ac4
call db.SetSync when necessary
8 years ago
Jae Kwon
4202c4bf20
Fix Merge pull request #319
8 years ago
Ethan Buchman
b74a97a4f6
update grpc broadcast tx
8 years ago
Ethan Buchman
0fe53dc5cf
remove privValIndex; Stale->AppHashIsStale
8 years ago
Ethan Buchman
2f9063c1d6
consensus: test validator set change
8 years ago
Ethan Buchman
5046d5b181
more handshake replay cleanup
8 years ago
Ethan Buchman
e0db20c0cf
update privValidatorIndex on valset change
8 years ago
Ethan Buchman
e1e2c1c740
cleanup ReplayBlocks
8 years ago
Ethan Buchman
655b6300f5
val set changes
8 years ago
Ethan Buchman
d7f6c0775a
remove LastCommitHeight
8 years ago
Ethan Buchman
07597dfd45
post rebase fixes for BlockID, partSize
8 years ago
Ethan Buchman
4360c360a4
move handshake to state, use Handshaker, more tests
8 years ago
Ethan Buchman
befd8b0cb2
post rebase fixes
8 years ago
Ethan Buchman
3f90fcae48
fail tests and fix
8 years ago
Ethan Buchman
8ec1839f5d
save block b4 apply; track stale apphash
8 years ago
Ethan Buchman
fb9735ef46
rebase fixes and BeginBlock(hash,header)
8 years ago
Ethan Buchman
138de19e1e
test: app persistence
8 years ago
Ethan Buchman
d3ae920bd0
state: ApplyBlock
8 years ago
Ethan Buchman
a0e4253edc
handshake
8 years ago
Jae Kwon
1173a85c85
Use BlockID everywhere
8 years ago
Ethan Buchman
3ff9355e7b
change some logs to debug
8 years ago
Ethan Buchman
94ac890859
send BeginBlock
8 years ago
Ethan Buchman
7d493774c7
log: move some Info to Debug
8 years ago
Ethan Buchman
35d4cca8bb
type safe events
8 years ago
Ethan Frey
22979d9365
Fire proper EventData object on append transaction
8 years ago
Ethan Buchman
3a7ee13ece
proxy: typed app conns
8 years ago
Ethan Buchman
3ac9ff0dcc
test: dont run cloud test on push to master
8 years ago
Ethan Buchman
8ca615c301
wait until txs removed from mempool to fire tx events
9 years ago
Ethan Buchman
65ebc344ac
broadcast_commit
9 years ago