Ethan Buchman
935f70a346
comments and cleanup
8 years ago
Ethan Buchman
5109746b1c
Handshake uses ApplyBlock, no ConsensuState
8 years ago
Ethan Buchman
1684ec163f
ABCIResponses not needed as field in state
8 years ago
Ethan Buchman
3a973b80ac
update glide
8 years ago
Ethan Buchman
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
8 years ago
Ethan Buchman
d572bb0c5d
state/txindex and pkg per indexer impl
8 years ago
Anton Kaliaev
63704454a3
expose `/tx?hash="XXXXXXXXXXXX"` RPC call
8 years ago
Anton Kaliaev
b08f29cb71
add config option for tx indexing and disable it by default
8 years ago
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
7228b11e3f
state: remove StateIntermediate
8 years ago
Jae Kwon
67ab574e98
Cleanup, add stub for VerifyCommitAny
8 years ago
Ethan Buchman
0e7694ca94
state: AppHashIsStale -> IntermediateState
8 years ago
Jae Kwon
6f88d04ac4
call db.SetSync when necessary
8 years ago
Ethan Buchman
0fe53dc5cf
remove privValIndex; Stale->AppHashIsStale
8 years ago
Ethan Buchman
e0db20c0cf
update privValidatorIndex on valset change
8 years ago
Ethan Buchman
655b6300f5
val set changes
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
8ec1839f5d
save block b4 apply; track stale apphash
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
799efb0629
merge/rebase fixes
9 years ago
Ethan Buchman
0be13d1d27
move alert, events, rpc into own repos
9 years ago
Jae Kwon
3e3c0083c7
Make order be decided first; Remove TMSP Commit/Rollback
9 years ago
Ethan Buchman
b9e143d956
Fireable -> EventSwitch; rs in EventDataRoundState; fixes from review
9 years ago
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
9 years ago
Jae Kwon
d69b5c5ab6
Conform to go-wire 1.0
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Ethan Buchman
b59ed8c9d2
refactor some state functions into state/types
9 years ago
Jae Kwon
b96fd8a031
Beginning of complete merkle proofs
9 years ago
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
9 years ago
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
9 years ago
Jae Kwon
0ef5c3ad07
Fix returning prematurely within if(runCall){...}.
Renames
9 years ago
Ethan Buchman
8e50bf15de
panic wrapper functions
9 years ago
Jae Kwon
1e7cc32597
tendermint/account -> acm
9 years ago
Jae Kwon
21295f4ae2
fixes for develop+permissions merge
9 years ago
Ethan Buchman
75fb6c184e
getter/setters for state trees
9 years ago
Ethan Buchman
a0f3b94e83
account permissions and some gendoug
10 years ago
Ethan Buchman
a7ecdd10de
Merge from panic branch
9 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
9 years ago
Jae Kwon
01b5540ffe
consensus/state is 2-step asynchronous
9 years ago
Jae Kwon
1a652a1cbb
Fix usage of SimpleProof for PartSet
9 years ago
Ethan Buchman
cff6bcfb31
copy entry on get, use strings for name/data, uint64 for expires
10 years ago
Ethan Buchman
8631d5085e
name reg
10 years ago
Ethan Buchman
8a2d9525f0
network > chain_id, put in genesis.json
9 years ago
Ethan Buchman
65f669160f
more fixes from review
10 years ago
Ethan Buchman
d27e0bbad5
event cache and fireable interace
10 years ago
Ethan Buchman
2e918e8c0b
rpc: websocket events testing
10 years ago