Hendrik Hofstadt
49b52ee3c7
Add test for MakePartSet with evidence
6 years ago
Ethan Buchman
0e127562bf
register evidence interface wherever its used
6 years ago
ValarDragon
99e582d79a
crypto: Refactor to move files out of the top level directory
Currently the top level directory contains basically all of the code
for the crypto package. This PR moves the crypto code into submodules
in a similar manner to what `golang/x/crypto` does. This improves code
organization.
Ref discussion: https://github.com/tendermint/tendermint/pull/1966
Closes #1956
6 years ago
Anton Kaliaev
37ce4e549e
add more tests for evidence
Refs #693
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
ec710395b7
RIPEMD160 -> SHA256
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Ethan Buchman
aa8be33da1
fix fmt
7 years ago
Ethan Buchman
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
7 years ago
Jae Kwon
5d1c758730
Fix evidence
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
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Ethan Buchman
51628aea08
types: revert to old wire. builds
7 years ago
Ethan Buchman
3395f5fb0e
types: builds
7 years ago
Ethan Buchman
200787ede2
types: update for new go-wire. WriteSignBytes -> SignBytes
7 years ago
Ethan Buchman
4e3488c677
update types
7 years ago
Ethan Buchman
28bbeac763
state: send byzantine validators in BeginBlock
7 years ago
Ethan Buchman
d0e0ac5fac
types: better error messages for votes
7 years ago
Ethan Buchman
6a4fd46479
fixes from rebase
7 years ago
Ethan Buchman
0f293bfc2b
remove some TODOs
7 years ago
Ethan Buchman
c13e93d63e
evidence: store tests and fixes
7 years ago
Ethan Buchman
3271634e7a
types: evidence cleanup
7 years ago
Ethan Buchman
6c4a0f9363
cleanup evidence pkg. state.VerifyEvidence
7 years ago
Ethan Buchman
df3f4de7c3
check evidence is from validator; some cleanup
7 years ago
Ethan Buchman
10c43c9edc
introduce evidence store
7 years ago
Ethan Buchman
7d086e9524
check if we already have evidence
7 years ago
Ethan Buchman
6e9433c7a8
post rebase fix
7 years ago
Ethan Buchman
77e45756f2
types: Evidences for merkle hashing; Evidence.String()
7 years ago
Ethan Buchman
9cdcffbe4b
types: comments; compiles; evidence test
7 years ago
Ethan Buchman
50850cf8a2
verify sigs on both votes; note about indices
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
Ethan Buchman
7928659f70
track evidence, include in block
7 years ago