Ethan Buchman
14abdd57f3
genDoc.ValidateAndComplete
7 years ago
Ethan Buchman
bf576f0097
state: minor comment fixes
7 years ago
Adrian Brink
8eda3efa28
Cleanup lines to fit within 72 characters
7 years ago
Ethan Buchman
fae0603413
more fixes from review
7 years ago
Ethan Buchman
9deb647303
fixes from review
7 years ago
Ethan Buchman
34beff117a
state: comments; use wire.BinaryBytes
7 years ago
Ethan Buchman
78446fd99c
state: persist validators
7 years ago
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err")
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Adrian Brink
eb9ca23250
log whether node is a validator in each round
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
29c0e6e4f4
remove viper from blockchain and state
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
29a893b193
update comment
8 years ago
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