Marko
41bf54a906
gocritic (1/2) ( #3836 )
Add gocritic as a linter
The linting is not complete, but should i complete in this PR or in a following.
23 files have been touched so it may be better to do in a following PR
Commits:
* Add gocritic to linting
- Added gocritic to linting
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* gocritic
* pr comments
* remove switch in cmdBatch
5 years ago
Zach
27fcf96556
update genesis docs, closes #2814 ( #2831 )
6 years ago
Anton Kaliaev
38bced2440
[types] add Address to GenesisValidator ( #2418 )
Refs #1714
6 years ago
Ethan Buchman
eabb1ece8e
tmtime: Canonical, some comments ( #2312 )
6 years ago
Anton Kaliaev
0f7485690e
limit chain ID to 50 symbols max
6 years ago
b00f
0f931eeb10
types: allow genesis file to have 0 validators ( #2148 )
* fixing issue 2015
* Remove comments for code review
* Update tests
6 years ago
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
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
b271c40783
remove deprecated `app_options` field from genesis
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
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
94c016a04e
use MarshalJSONIndent for init files. closes #1506
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
9bf5862def
types: fix genesis.AppStateJSON
7 years ago
Anton Kaliaev
4e86835163
update changelog for 0.17.0 release
7 years ago
Anton Kaliaev
1c82281b77
make app_options -> app_state backwards compatible
7 years ago
Ethan Buchman
6596bff8ec
types: bring back json.Marshal/Unmarshal for genesis/priv_val
7 years ago
Ethan Buchman
6cf5100645
types: working on tests...
7 years ago
rigelrozanski
4806b3b9bf
AppOptions -> AppStateJSON
7 years ago
Ethan Buchman
7a5060dc52
replace data.Bytes with cmn.HexBytes
7 years ago
Anton Kaliaev
616b07ff6b
make AppOptions an interface{}
7 years ago
Anton Kaliaev
321061125f
add app_options to GenesisDoc (Refs #564 )
7 years ago
Ethan Buchman
1f0985689d
ConsensusParams ptr in GenesisDoc for json
7 years ago
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
5feeb65cf0
dont use pointers for ConsensusParams
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
14abdd57f3
genDoc.ValidateAndComplete
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Ethan Buchman
29bfcb0a31
minor comments/changes
7 years ago
Ethan Buchman
3065059da7
update changelog
8 years ago
Ethan Buchman
12c084c8c0
ParseGenesisFile -> types.GenesisDocFromFile
8 years ago
Ethan Frey
e4caf96bcb
Calculate validator hash from genesis doc
8 years ago
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Ethan Frey
e325ffc681
Lots of updates to use new go-crypto / json style
8 years ago
Jae Kwon
67ab574e98
Cleanup, add stub for VerifyCommitAny
8 years ago
Jae Kwon
9b4b533f2f
Pretty print JSON
9 years ago
Jae Kwon
08d7980d80
Conform to go-wire new TypeByte behavior
9 years ago
Jae Kwon
e67f385574
Conform to go-common WriteFile*(path,mode)
9 years ago
Jae Kwon
09351996a4
Add GenesisDoc.SaveAs utility method
9 years ago
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago