Ethan Buchman
162811476a
update some comments
7 years ago
Ethan Buchman
e9804d76cf
fixes from review
7 years ago
Ethan Buchman
658060150c
rpc: add voting power totals to vote bitarrays
7 years ago
Ethan Buchman
c45ba2967a
fixes from review
7 years ago
Ethan Buchman
a2d77cbe4e
add MarshalJSON methods to fix dump_consensus_state
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Ethan Buchman
ca3655a409
types: p2pID -> P2PID
7 years ago
Ethan Buchman
fd58645dd2
types: remove dep on p2p
7 years ago
Zach Ramsay
1c01671ec6
improve vague error msg, closes #1158
7 years ago
Ethan Buchman
ee674f919f
StopPeerForError in blockchain and consensus
7 years ago
Ethan Buchman
a17105fd46
p2p: peer.Key -> peer.ID
7 years ago
Ethan Buchman
d0e0ac5fac
types: better error messages for votes
7 years ago
Ethan Buchman
35587658cd
verify evidence in block
7 years ago
Ethan Buchman
4661c98c17
add pubkey to conflicting vote evidence
7 years ago
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
Ethan Buchman
5466720d75
minor changes from @odeke-em PR #725
7 years ago
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Ethan Buchman
97e9802255
fix out of range error in VoteSet.addVote
7 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Jae Kwon
43fdc4a1ce
Fix #341
8 years ago
Ethan Buchman
faf23aa0d4
consensus: TimeoutTicker, skip TimeoutCommit on HasAll
8 years ago
Ethan Buchman
69ef1da58c
types: copy vote set bit array
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
fd128c7180
Fix comments from review
8 years ago
Jae Kwon
b73a6905a1
Initial pass at bft_fix_2 completion
8 years ago
Jae Kwon
1173a85c85
Use BlockID everywhere
8 years ago
Jae Kwon
7221887330
VoteSet can handle conflicting votes. TODO: add more tests
8 years ago
Jae Kwon
3c5a2f55c2
Add validator index and address to Vote.
8 years ago
Jae Kwon
ad17090a0f
No global config
9 years ago
Ethan Buchman
eaf222a756
check vote exists before verifiying
9 years ago
Jae Kwon
f17c4c1d57
s/Validation/Commit/g
9 years ago
Jae Kwon
9247b0fbd2
Fix HeightVoteSet bug where first catchup vote doesn't get added
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
5631b1a728
fixes #152 and #153
9 years ago
Ethan Buchman
2b8157ce2a
addVote takes index
9 years ago
Jae Kwon
5e015bc669
Probable fix for #140
9 years ago
Jae Kwon
5bf0040f14
Parts -> PartsHeader; *_parts -> *_parts_header in sign_bytes
9 years ago
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
9 years ago
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
9 years ago
Ethan Buchman
8e50bf15de
panic wrapper functions
9 years ago
Jae Kwon
1e7cc32597
tendermint/account -> acm
9 years ago
Jae Kwon
41d04cf5b8
consensus reactor code polish, fixed prs BitArray cache invalidation bug
9 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
10 years ago
Jae Kwon
9e1794eaea
Fixed tests
10 years ago
Jae Kwon
9b96e2e171
ProposalPOLRound...
10 years ago
Jae Kwon
7752405945
Draft of consensus/reactor refactor.
10 years ago