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
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
6b89639f90
update docs 2 [ci skip]
7 years ago
Anton Kaliaev
9b25f7325a
update docs [ci skip]
7 years ago
Anton Kaliaev
0093f9877a
change voting power change, not number of vals
7 years ago
Anton Kaliaev
cf0b5d3715
enforce <1/3 validator updates
Refs #950
7 years ago
Ethan Buchman
616f7e74db
Merge pull request #1001 from tendermint/makefile
Cleaned up makefile
7 years ago
Ethan Buchman
14c812a39c
tmlibs timer fix
7 years ago
Ethan Buchman
1e52751344
update tests for makefile
7 years ago
Jae Kwon
d7ac6e516a
Cleaned up makefile
7 years ago
Ethan Buchman
c2436c46e6
Merge pull request #972 from tendermint/feature/enhance-endblock
Update EndBlock parameters
7 years ago
Ethan Buchman
38608b1b0f
comment and tmlibs fix
7 years ago
Ethan Buchman
2b634dab32
Merge pull request #994 from tendermint/clean/block-validation
Clean/block validation
7 years ago
Ethan Buchman
91acc51cd1
fix test
7 years ago
Ethan Buchman
dc54ba67e4
state: TestValidateBlock
7 years ago
Ethan Buchman
35521b553a
save historical consensus params
7 years ago
Ethan Buchman
70a744558c
types: params.Update()
7 years ago
Ethan Buchman
4b789ff7e9
another cmn fix
7 years ago
Ethan Buchman
306657a118
no patience for metalinter right now
7 years ago
Ethan Buchman
be765e4cb9
update glide for cmn fixes
7 years ago
Ethan Buchman
b5857da877
forgot file
7 years ago
Ethan Buchman
3ad055ef3a
fix randPort
7 years ago
Ethan Buchman
3d00c477fc
separate block vs state based validation
7 years ago
Ethan Buchman
c2912d612a
update glide
7 years ago
Ethan Buchman
a3c7525249
Merge pull request #993 from tendermint/984-priv-validator-signing
priv validator returns last sign bytes if h/r/s matches
7 years ago
Ethan Buchman
f81025631e
update comment [ci skip]
7 years ago
Ethan Buchman
9c03c58de2
priv validator checks if only difference is timestamp; else error
7 years ago
Anton Kaliaev
0ffd60b8cf
ValidatorSetUpdates -> ValidatorUpdates
7 years ago
Ricardo Domingos
d5baa6601c
types: Add test for IsVoteTypeValid
7 years ago
Ricardo Domingos
19eeef0aad
types: Rename exampleVote to examplePrecommit on vote_test
exampleVote doesn't express the type of the vote.
7 years ago
Ricardo Domingos
e76392e330
types: Update String() test to assert Prevote type
7 years ago
Anton Kaliaev
a1cc9ac642
priv validator returns last sign bytes if h/r/s matches
since now we have time in the msgs and we might crash between writing
the priv val and writing to wal.
Refs #984
7 years ago
Emmanuel T Odeke
67c3af3bf8
cmd/tendermint: fix initialization file creation checks ( #991 )
* cmd/tendermint: fix initialization file creation checks
Fixes #989 .
The original initialization sequence started to inexplicably
fail
```shell
tendermint unsafe_reset_all
tendermint init
tendermint node --proxy_app=dummy
```
used to fail with
```shell
ERROR: Failed to create node: Couldn't read GenesisDoc file: open
/Users/emmanuelodeke/.tendermint/genesis.json: no such file or directory
```
because the initialization sequence always assumed that the
genesisDoc would only be set if the privValidator was generated.
However, `tendermint unsafe_reset_all` only created the
`priv_validator.json` file which would mean that then running
`tendermint init` would never create the `genesis.json` file
which if following the recommended sequence would then fail
since the `genesis.json` was absent.
* cmd/tendermint: Load PrivValidatorFS if existent, lest generate it
Feedback from @melekes
* change logging messages for init cmd
Refs #989
7 years ago