Ethan Buchman
|
cc418e5dab
|
state.VerifyEvidence enforces EvidenceParams.MaxAge
|
7 years ago |
Ethan Buchman
|
c7acdfadf2
|
evidence: more funcs in store.go
|
7 years ago |
Ethan Buchman
|
869d873d5c
|
state.ApplyBlock takes evpool and calls MarkEvidenceAsCommitted
|
7 years ago |
Ethan Buchman
|
3271634e7a
|
types: evidence cleanup
|
7 years ago |
Ethan Buchman
|
4854c231e1
|
evidence store comments and cleanup
|
7 years ago |
Ethan Buchman
|
7a18fa887d
|
evidence linked with consensus/node. compiles
|
7 years ago |
Ethan Buchman
|
6c4a0f9363
|
cleanup evidence pkg. state.VerifyEvidence
|
7 years ago |
Ethan Buchman
|
f7731d38f6
|
some comments and cleanup
|
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
|
fe4b53a463
|
EvidencePool
|
7 years ago |
Ethan Buchman
|
5b1f987ed1
|
mempool: remove Peer interface. use p2p.Peer
|
7 years ago |
Ethan Buchman
|
48d778c4b3
|
types/params: introduce EvidenceParams
|
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
|
39299e5cc1
|
consensus: note about duplicate evidence
|
7 years ago |
Ethan Buchman
|
eeab0efa56
|
types: tx.go comments
|
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 |
Ethan Buchman
|
f80f6445a6
|
fix test
|
7 years ago |
Ethan Buchman
|
336c2f4fe1
|
rpc: fix getHeight
|
7 years ago |
Ethan Buchman
|
bfcb40bf6b
|
validate block.ValidatorsHash
|
7 years ago |
Ethan Buchman
|
051c2701ab
|
remove LastConsensusParams
|
7 years ago |
Ethan Buchman
|
028ee58580
|
call it LastResultsHash
|
7 years ago |
Ethan Buchman
|
801e3dfacf
|
rpc: getHeight helper function
|
7 years ago |
Ethan Buchman
|
4171bd3bae
|
fixes
|
7 years ago |
Ethan Buchman
|
73fb1c3a17
|
consolidate saveResults/SaveABCIResponses
|
7 years ago |
Ethan Frey
|
d65234ed51
|
Add /block_results?height=H as rpc endpoint
Expose it in rpc client
Move ABCIResults into tendermint/types from tendermint/state
|
7 years ago |
Ethan Frey
|
58c5df729b
|
Add ResultHash to header
|
7 years ago |
Ethan Frey
|
632cc918b4
|
Save/Load Results for every height
Add some tests.
Behaves like saving validator set, except it always saves at each height
instead of a reference to last changed.
|
7 years ago |
Ethan Frey
|
f870a49f42
|
Add ABCIResults with Hash and Proof to State
State maintains LastResultsHash
Verify that we can produce unique hashes for each result,
and provide valid proofs from the root hash.
|
7 years ago |
Ethan Buchman
|
d844799b3b
|
Merge branch '950-enforce-less-13-val-changes-per-block' into develop
|
7 years ago |
Ethan Buchman
|
3ea1145486
|
bring back test
|
7 years ago |
Ethan Buchman
|
d4716fc03c
|
state
|
7 years ago |
Ethan Buchman
|
16227594ef
|
notes about block 1
|
7 years ago |
Ethan Buchman
|
65cdb07f0c
|
merkle
|
7 years ago |
Ethan Buchman
|
eb73e82279
|
encoding.md
|
7 years ago |
Ethan Buchman
|
d6fbfddddd
|
spec.md -> blockchain.md. some fixes
|
7 years ago |
Anton Kaliaev
|
1339a44402
|
add safe*Clip funcs
|
7 years ago |
Anton Kaliaev
|
b8215d8ac8
|
more test cases
|
7 years ago |
Ethan Buchman
|
289d92c97d
|
consensus: remove log stmt. closes #987
|
7 years ago |
Ethan Buchman
|
6c39c77fc5
|
Merge pull request #996 from ricardohsd/types-add-tests-to-vote
Add more tests to types/vote.go
|
7 years ago |
Anton Kaliaev
|
69c3a7640b
|
add safeAdd & safeSub plus quickcheck tests
|
7 years ago |
Anton Kaliaev
|
e8b0458f16
|
check for overflow and underflow while choosing proposer
Refs #919
|
7 years ago |
Anton Kaliaev
|
6b89639f90
|
update docs 2 [ci skip]
|
7 years ago |
Anton Kaliaev
|
9b25f7325a
|
update docs [ci skip]
|
7 years ago |