Zarko Milosevic
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
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!
2018-08-10 09:25:57 +04:00
Ethan Buchman
f6705f02c7
fixes post merge
2018-07-23 23:39:22 -04:00
ValarDragon
c798702764
crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey
2018-07-20 10:44:21 -07:00
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
2018-07-18 08:38:44 -07:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
...
This reverts commit 96a3502
2018-06-20 17:35:30 -07:00
Liamsi
96a3502126
delete everything
2018-06-20 15:19:08 -07:00
Ethan Buchman
c170800fbd
Merge branch 'develop' into jae/aminoify
2018-04-07 16:16:53 +03:00
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.
2018-04-02 10:21:17 +02:00
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
Ethan Buchman
c394eef7b8
types: TestValidatorSetVerifyCommit
2018-03-02 04:21:23 -05:00
Ethan Buchman
f9921ae362
types/validator_set_test: move funcs around
2018-03-02 03:52:44 -05:00
Ethan Buchman
abeeeeb611
types: fix validator_set_test issue with UnmarshalBinary into ptr
2018-03-02 01:49:59 -05:00
Ethan Buchman
3395f5fb0e
types: builds
2018-03-02 01:28:38 -05:00
Ethan Buchman
d2cd079541
types: tests build
2018-03-02 01:28:21 -05:00
Anton Kaliaev
1339a44402
add safe*Clip funcs
2017-12-26 14:13:12 -06:00
Anton Kaliaev
69c3a7640b
add safeAdd & safeSub plus quickcheck tests
2017-12-25 18:39:14 -06:00
Anton Kaliaev
e8b0458f16
check for overflow and underflow while choosing proposer
...
Refs #919
2017-12-25 18:39:14 -06:00
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
2017-11-27 22:39:11 +00:00
Ethan Buchman
e76ef2a8a1
types: unexpose valset.To/FromBytes
2017-10-26 00:27:02 -04:00
Anton Kaliaev
616b07ff6b
make AppOptions an interface{}
2017-10-16 10:58:52 +04:00
Ethan Buchman
d1926bcad1
use tmlibs
2017-04-21 18:12:54 -04:00
Ethan Buchman
5da9b3a803
postmerge
2017-04-21 18:09:47 -04:00
Ethan Buchman
0017fb7ffe
premerge
2017-04-21 17:38:40 -04:00
Ethan Frey
6d223d5526
Update to latest go-crypto
2017-04-21 16:55:58 -04:00
Ethan Frey
516e78ea54
Fix types to use updated go-crypto
2017-04-21 16:50:27 -04:00
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
2017-03-05 23:28:42 -05:00
Ethan Buchman
0fa34f7f67
fix ProposerSelection by persisting proposer
2017-03-05 19:45:24 -05:00
Ethan Buchman
55602b9be6
failing ProposerSelection test
2017-03-05 15:05:36 -05:00
Ethan Buchman
6f8c91b651
use NewValidator; fix setPrivValidatorIndex
2016-11-22 20:38:14 -05:00
Ethan Buchman
209bcf905e
proposer selection tests. closes #53
2015-11-10 13:41:49 -08:00
Jae Kwon
e12f9d10e7
Bare consensus refactor
2015-11-01 11:34:08 -08:00
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
2015-10-22 17:39:06 -07:00
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
2015-08-11 11:01:18 -07:00