Anton Kaliaev
dc0e8de9b0
extract some of the consensus types into ./types
so they can be used in rpc/core/types/responses.go.
```
So, it seems like we could use the actual structs here, but we don't want to have to import consensus to get them, as then clients are importing too much crap. So probably we should move some types from consensus into consensus/types so we can import.
Will these raw messages be identical to:
type ResultDumpConsensusState struct {
RoundState cstypes.RoundState
PeerRoundStates map[string]cstypes.PeerRoundState
}
```
https://github.com/tendermint/tendermint/pull/724#discussion_r143598193
7 years ago
Ethan Buchman
8c6bd44929
log stack trace on consensus failure
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
3a03fe5a15
updated to match adr 005
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Zach Ramsay
70b95135e6
consensus: use filepath for windows compatibility, closes #595
7 years ago
Ethan Buchman
9ceccbe9a4
consensus: recover panics in receive routine
7 years ago
Ethan Buchman
0bf66deb3c
fixes from review
7 years ago
Ethan Buchman
37f1390473
CreateEmptyBlocks and CreateEmptyBlocksInterval
8 years ago
Ethan Buchman
fb47ca6d35
fixes from review
8 years ago
Ethan Buchman
b8ac67e240
some fixes
8 years ago
Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
8 years ago
Ethan Buchman
10f8101314
fix race
8 years ago
Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
8 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
8 years ago
Ethan Buchman
cf3abe5096
consensus: remove rs from handleMsg
8 years ago
Ethan Buchman
ecdda69fab
commit empty blocks when needed to prove app hash
8 years ago
Ethan Buchman
fc3fe9292f
fixes from review
8 years ago
Ethan Buchman
124032e3e9
NoEmptyBlocks config option
8 years ago
Ethan Buchman
4beac54bd9
no empty blocks
8 years ago
Ethan Buchman
39493bcd9a
consensus: isProposer func
8 years ago
Ethan Buchman
e9b7221292
consensus: more comments
8 years ago
Ethan Buchman
74a3a2b56a
fix comments
8 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>
8 years ago
Ethan Buchman
612726d9f6
consensus: better logging
8 years ago
Ethan Buchman
5888ddaab1
consensus: improve logging for conflicting votes
8 years ago
Ethan Buchman
0d1fa8e884
fixes from review
8 years ago
Ethan Buchman
468982ffe4
fixes
8 years ago
Ethan Buchman
3c0128a680
undo some megacheck suggestions
8 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