Adrian Brink
eb9ca23250
log whether node is a validator in each round
8 years ago
Anton Kaliaev
1dfb95f719
[consensus] color code different consensus instances in consensus tests
(Refs #492 )
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
c9cd8de9c6
set logger
8 years ago
Anton Kaliaev
3e1343dc6b
has as a base16 string
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
46151720f8
fix tests
8 years ago
Ethan Buchman
9109b20852
SetRoot
8 years ago
Ethan Frey
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
8 years ago
Ethan Frey
92dee7ea3c
Commands compile (mostly) with new config reading
8 years ago
Ethan Frey
604bf03f3a
Pulled out all config structs (except p2p.PeerConfig) into config package
8 years ago
Ethan Buchman
92bafa7ecd
consensus: fix tests
8 years ago
Ethan Buchman
6afee8f117
rpc: fix tests
8 years ago
Ethan Buchman
1ef7c1d25b
cmd: fixes for new config
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
95c74b2ccd
remove some more viper
8 years ago
Ethan Buchman
1fcc9dc654
remove viper from proxy
8 years ago
Ethan Buchman
7c0f51e24b
remove viper from mempool
8 years ago
Ethan Buchman
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
0be3480729
consensus: comment about test_data [ci skip]
8 years ago
Ethan Buchman
495283e2d4
fix replay tests and update test wals for InitChain
8 years ago
Adrian Brink
842609ddcb
Send InitChain message from ABCI to Core on Genesis
InitChain is send from the ABCI to the Core node when the ABCI
app has no blocks stored.
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
56c60fba23
go-p2p -> tendermint/p2p
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Frey
6a0217688f
Ensure private validator addresses are hex
8 years ago
Anton Kaliaev
7e56aad51a
[consensus/test_data/build.sh] install tendermint if absent
8 years ago
Jae Kwon
cf4074cc80
defer gr.Close() fixes
8 years ago
Ethan Buchman
cb2ed5bb7c
fixes from review
8 years ago
Ethan Buchman
2ba3656ffd
wal: gr.Close()
8 years ago
Jae Kwon
cd9e9e9f45
s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g
8 years ago
Ethan Buchman
f9d0096744
support #HEIGHT based WAL
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
ed03cb5c17
consensus/replay: remove timeout
8 years ago
Ethan Buchman
54b26869d5
consensus/wal: #HEIGHT -> #ENDHEIGHT
8 years ago
Ethan Buchman
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
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
09f7dabd5e
update comment
8 years ago
Ethan Buchman
4fd1471f11
remove BaseService.OnStart
8 years ago
Ethan Buchman
85e83934a1
fixes from review
8 years ago
Ethan Buchman
077cf13a1f
consensus: timeout on replayLastBlock
8 years ago
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
8 years ago
Ethan Buchman
749df0536f
test/docker: install abci apps first
8 years ago
Ethan Buchman
2037d2631a
fix race
8 years ago
Ethan Buchman
de0153a1c4
consensus: some more informative logging
8 years ago
Ethan Buchman
8ba79252c8
types: use mtx on PartSet.String()
8 years ago
Anton Kaliaev
2c724d5eee
remove warning messages in favor of "Send failed"
8 years ago
Anton Kaliaev
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 )
8 years ago