d470945503
update gometalinter to 3.0.0 ( #3233 )
...
in the attempt to fix https://circleci.com/gh/tendermint/tendermint/43165
also
code is simplified by running gofmt -s .
remove unused vars
enable linters we're currently passing
remove deprecated linters
2019-01-30 12:24:26 +04:00
8d50bb9dad
conesnsu: follow up to removing some consensus params ( #2427 )
...
* follow up to removing some consensus params Refs #2382
* change args type to int64 in state#makeParams
* make valsCount and evidenceCount ints again
* MaxEvidenceBytesPerBlock: include magic number in godoc
* [spec] creating a proposal
* test state#TxFilter
* panic if MaxDataBytes is less than 0
* fixes after review
* use amino#UvarintSize to calculate overhead
0c74291f3b/encoder.go (L85-L90)
* avoid cyclic imports
* you can do better Go, come on
* remove testdouble package
2018-09-21 11:00:36 +02:00
38bced2440
[types] add Address to GenesisValidator ( #2418 )
...
Refs #1714
2018-09-18 11:59:52 +04:00
7b88172f41
Implement BFT time ( #2203 )
...
* Implement BFT time
* set LastValidators when creating state in state helper
for heights >= 2
2018-08-31 19:33:51 -04:00
eb98f1c3a9
add missing changelog entries ( #2224 )
2018-08-14 19:16:18 -04:00
0f931eeb10
types: allow genesis file to have 0 validators ( #2148 )
...
* fixing issue 2015
* Remove comments for code review
* Update tests
2018-08-14 19:02:53 +04:00
c798702764
crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey
2018-07-20 10:44:21 -07:00
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
2018-07-18 08:38:44 -07:00
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
...
This reverts commit 96a3502
2018-06-20 17:35:30 -07:00
96a3502126
delete everything
2018-06-20 15:19:08 -07:00
2c125b6c78
Fix validValue rule
2018-05-14 16:17:21 -04:00
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
4ce79baac7
rename app_options to app_state in genesis_test
2018-02-28 23:44:10 +04:00
843e1ed400
Updates -> ValidatoSetUpdates
2017-12-19 13:03:39 -06:00
87cc277b38
Merge pull request #721 from tendermint/564-add-app-options-to-genesis-resp
...
Add app_options to GenesisDoc
2017-10-23 16:03:45 -04:00
f24f03906f
types: ConsensusParams: add feedback from @ebuchman and @melekes
2017-10-20 00:11:30 -06:00
321061125f
add app_options to GenesisDoc (Refs #564 )
2017-10-16 10:58:52 +04:00
d56b44f3a5
all: no more anonymous imports
2017-10-04 16:40:45 -04:00
3089bbf2b8
Amount -> Power. Closes #166
2017-09-21 14:59:27 -04:00
5feeb65cf0
dont use pointers for ConsensusParams
2017-09-21 14:59:24 -04:00
715e74186c
fixes from review
2017-09-21 14:51:29 -04:00
3a03fe5a15
updated to match adr 005
2017-09-21 14:51:29 -04:00
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00