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
aea8629272
peer interface
7 years ago
Ethan Buchman
35a4912449
dont panic on getVoteBitArray
7 years ago
Ethan Buchman
c5a657f540
consensus: test proposal heartbeat
7 years ago
Ethan Buchman
c9e11de2a7
consensus: log ProposalHeartbeat msg
7 years ago
Ethan Buchman
b0728260e9
comments
7 years ago
Ethan Buchman
92ada55e5a
make conR.FastSync() thread safe
7 years ago
Ethan Buchman
b8ac67e240
some fixes
7 years ago
Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
7 years ago
Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
7 years ago
Ethan Buchman
e9b7221292
consensus: more comments
7 years ago
ramil
6f8d385dfa
fast sync status
7 years ago
Ethan Buchman
5f6b996d22
breakup some long lines; add more comments to consensus reactor
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
ca8c34f966
add consensus reactor sleep durations to the config
7 years ago
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err")
8 years ago
Anton Kaliaev
562dd67e16
fix invalid keys (space is prohibited by logfmt encoder)
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
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
f803544195
new logging
8 years ago
Ethan Buchman
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
56c60fba23
go-p2p -> tendermint/p2p
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
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
Ethan Buchman
99b068b313
BlockMeta uses BlockID
8 years ago
Jae Kwon
43fdc4a1ce
Fix #341
8 years ago
Ethan Buchman
f30a9752e2
more fixes from review
8 years ago
Ethan Buchman
b126ca0606
consensus: no internal vars in reactor.String()
8 years ago
Ethan Buchman
0fe53dc5cf
remove privValIndex; Stale->AppHashIsStale
8 years ago
Ethan Buchman
2f9063c1d6
consensus: test validator set change
8 years ago
Ethan Buchman
a3d863f83b
consensus: track index of privVal
8 years ago
Ethan Buchman
c6a648fad7
consensus: lock before loading commit
8 years ago
Jae Kwon
95c8bb4252
Fixing issues from review in #229
8 years ago
Jae Kwon
c1729addce
Fix BFT issue where VoteSetMaj23Message wasn't being sent where prs.Round == blockStore.Round()
8 years ago
Jae Kwon
3e3b034252
Make ConsensusReactor use ConsensusState's blockstore; debug functions
8 years ago
Ethan Buchman
9d0c7f6ec7
fix bft test. still halts
8 years ago
Ethan Buchman
c5a803a146
DataChannel -> StateChannel for Maj23Msg
8 years ago
Ethan Buchman
7afcf92539
consensus: fix panic on POLRound=-1
8 years ago
Ethan Buchman
57da2e4af5
make byzantine logic testable
9 years ago
Jae Kwon
ea4b60a602
Fix compile bug
8 years ago
Jae Kwon
b73a6905a1
Initial pass at bft_fix_2 completion
8 years ago
Jae Kwon
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
8 years ago
Jae Kwon
3c5a2f55c2
Add validator index and address to Vote.
8 years ago
Ethan Buchman
3ff9355e7b
change some logs to debug
8 years ago
Jae Kwon
480f44f16c
QuitService->BaseService
8 years ago
Ethan Buchman
7d493774c7
log: move some Info to Debug
8 years ago