Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
7 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
7 years ago
Ethan Buchman
cf3abe5096
consensus: remove rs from handleMsg
7 years ago
Ethan Buchman
ecdda69fab
commit empty blocks when needed to prove app hash
7 years ago
Ethan Buchman
fc3fe9292f
fixes from review
7 years ago
Ethan Buchman
124032e3e9
NoEmptyBlocks config option
7 years ago
Ethan Buchman
4beac54bd9
no empty blocks
7 years ago
Ethan Buchman
39493bcd9a
consensus: isProposer func
7 years ago
Ethan Buchman
e9b7221292
consensus: more comments
7 years ago
Ethan Buchman
74a3a2b56a
fix comments
7 years ago
Adrian Brink
b07d01f102
Add more comments on public functions and extra logging during 'enterPrevote'
Signed-off-by: Adrian Brink <adrian@brink-holdings.com>
7 years ago
Ethan Buchman
612726d9f6
consensus: better logging
7 years ago
Ethan Buchman
5888ddaab1
consensus: improve logging for conflicting votes
7 years ago
Ethan Buchman
0d1fa8e884
fixes from review
7 years ago
Ethan Buchman
468982ffe4
fixes
7 years ago
Ethan Buchman
3c0128a680
undo some megacheck suggestions
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
Ethan Buchman
30a19fc899
[consensus] Info->Debug for is a validator log msg
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
3e1343dc6b
has as a base16 string
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Frey
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
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
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
935f70a346
comments and cleanup
8 years ago
Ethan Buchman
5109746b1c
Handshake uses ApplyBlock, no ConsensuState
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
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
de0153a1c4
consensus: some more informative logging
8 years ago
Ethan Buchman
8ba79252c8
types: use mtx on PartSet.String()
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
0bec99fbd4
consensus: handshake replay test using wal
8 years ago
Ethan Buchman
edc5e272db
consensus: nice error msg if ApplyBlock fails
8 years ago