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
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04: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
94c016a04e
use MarshalJSONIndent for init files. closes #1506
2018-04-26 21:32:18 -04:00
c170800fbd
Merge branch 'develop' into jae/aminoify
2018-04-07 16:16:53 +03:00
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.
2018-04-02 10:21:17 +02:00
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
9bf5862def
types: fix genesis.AppStateJSON
2018-03-27 11:20:09 -04:00
4e86835163
update changelog for 0.17.0 release
2018-03-27 09:06:32 +02:00
1c82281b77
make app_options -> app_state backwards compatible
2018-03-26 21:51:07 +02:00
4806b3b9bf
AppOptions -> AppStateJSON
2018-02-28 23:44:10 +04:00
7a5060dc52
replace data.Bytes with cmn.HexBytes
2018-02-03 03:47:01 -05:00
616b07ff6b
make AppOptions an interface{}
2017-10-16 10:58:52 +04:00
321061125f
add app_options to GenesisDoc (Refs #564 )
2017-10-16 10:58:52 +04:00
1f0985689d
ConsensusParams ptr in GenesisDoc for json
2017-09-21 15:22:58 -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
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00
14abdd57f3
genDoc.ValidateAndComplete
2017-09-21 14:51:29 -04:00
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
2017-09-21 14:51:29 -04:00
29bfcb0a31
minor comments/changes
2017-09-21 14:51:29 -04:00
3065059da7
update changelog
2017-06-26 17:20:27 -04:00
12c084c8c0
ParseGenesisFile -> types.GenesisDocFromFile
2017-06-26 16:16:54 -04:00
e4caf96bcb
Calculate validator hash from genesis doc
2017-06-26 17:06:49 +02:00
bdb34f9f4e
types: []byte -> data.Bytes
2017-04-27 19:01:18 -04:00
d1926bcad1
use tmlibs
2017-04-21 18:12:54 -04:00
5da9b3a803
postmerge
2017-04-21 18:09:47 -04:00
0017fb7ffe
premerge
2017-04-21 17:38:40 -04:00
e325ffc681
Lots of updates to use new go-crypto / json style
2017-04-21 16:51:17 -04:00
67ab574e98
Cleanup, add stub for VerifyCommitAny
2017-01-29 13:50:53 -08:00
9b4b533f2f
Pretty print JSON
2016-03-19 16:58:15 -07:00
08d7980d80
Conform to go-wire new TypeByte behavior
2015-12-21 14:48:44 -08:00
e67f385574
Conform to go-common WriteFile*(path,mode)
2015-12-04 00:03:09 -08:00
09351996a4
Add GenesisDoc.SaveAs utility method
2015-12-03 09:51:10 -08:00
ef43af19ab
Tendermint <-> Application refactor
2015-12-01 20:12:01 -08:00
e12f9d10e7
Bare consensus refactor
2015-11-01 11:34:08 -08:00