Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
7 years ago
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
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Anton Kaliaev
f803544195
new logging
7 years ago
Ethan Buchman
d1926bcad1
use tmlibs
7 years ago
Jae Kwon
c1729addce
Fix BFT issue where VoteSetMaj23Message wasn't being sent where prs.Round == blockStore.Round()
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
0098387fbf
consensus: hvs.StringIndented needed a lock. addresses #284
8 years ago
Ethan Buchman
33d9877599
consensus: hvs.Reset(height, valSet)
8 years ago
Jae Kwon
ad17090a0f
No global config
8 years ago
Jae Kwon
9247b0fbd2
Fix HeightVoteSet bug where first catchup vote doesn't get added
9 years ago
Jae Kwon
ea378c5565
Improve logging
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Ethan Buchman
2b8157ce2a
addVote takes index
9 years ago
Ethan Buchman
555ecb095d
precommit nil if locked and no POL
9 years ago
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
9 years ago
Ethan Buchman
8e50bf15de
panic wrapper functions
9 years ago
Ethan Buchman
bb4ca1407f
info->notice, debug->info
9 years ago
Jae Kwon
f325675b83
Do not wipe cs.Votes upon SwitchToConsensus
9 years ago
Jae Kwon
1a1b9aaaab
fix HeightVoteSet SetRound(0) bug which wipes out Prevotes; More logging for consensus/state addVote()
9 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
9 years ago
Jae Kwon
d05276ee87
wordings and clarifications, unnecessary code uncommenting
9 years ago
Jae Kwon
9e1794eaea
Fixed tests
9 years ago
Jae Kwon
9b96e2e171
ProposalPOLRound...
9 years ago
Jae Kwon
927823140b
fast-forward when +2/3 precommits found for future round
9 years ago
Jae Kwon
01b5540ffe
consensus/state is 2-step asynchronous
9 years ago
Jae Kwon
1b95c09160
consensus refactor: add HeightVoteSet
9 years ago