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
Ethan Buchman
f6705f02c7
fixes post merge
6 years ago
ValarDragon
c798702764
crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey
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
17e1df0cbd
test validator set more thoroughly
Refs #693
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
6 years ago
Liamsi
96a3502126
delete everything
6 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.
6 years ago
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
6 years ago
Ethan Buchman
c394eef7b8
types: TestValidatorSetVerifyCommit
6 years ago
Ethan Buchman
f9921ae362
types/validator_set_test: move funcs around
6 years ago
Ethan Buchman
abeeeeb611
types: fix validator_set_test issue with UnmarshalBinary into ptr
6 years ago
Ethan Buchman
3395f5fb0e
types: builds
6 years ago
Ethan Buchman
d2cd079541
types: tests build
7 years ago
Anton Kaliaev
1339a44402
add safe*Clip funcs
7 years ago
Anton Kaliaev
69c3a7640b
add safeAdd & safeSub plus quickcheck tests
7 years ago
Anton Kaliaev
e8b0458f16
check for overflow and underflow while choosing proposer
Refs #919
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago
Ethan Buchman
e76ef2a8a1
types: unexpose valset.To/FromBytes
7 years ago
Anton Kaliaev
616b07ff6b
make AppOptions an interface{}
7 years ago
Ethan Buchman
d1926bcad1
use tmlibs
7 years ago
Ethan Buchman
5da9b3a803
postmerge
7 years ago
Ethan Buchman
0017fb7ffe
premerge
7 years ago
Ethan Frey
6d223d5526
Update to latest go-crypto
7 years ago
Ethan Frey
516e78ea54
Fix types to use updated go-crypto
7 years ago
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
7 years ago
Ethan Buchman
0fa34f7f67
fix ProposerSelection by persisting proposer
7 years ago
Ethan Buchman
55602b9be6
failing ProposerSelection test
7 years ago
Ethan Buchman
6f8c91b651
use NewValidator; fix setPrivValidatorIndex
8 years ago
Ethan Buchman
209bcf905e
proposer selection tests. closes #53
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
9 years ago
Ethan Buchman
dc7b912881
crypto byte arrays are fixed length
9 years ago
Jae Kwon
bc71e38bad
proposer selection fix
9 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
9 years ago
Jae Kwon
5bdd73f4a4
New genesis.json
9 years ago
Jae Kwon
13b6508ecd
Package import path change
9 years ago
Ethan Buchman
60f166e823
tendermint2
9 years ago
Jae Kwon
ab0ee97c18
ValidatorSet copy benchmark
9 years ago
Jae Kwon
135894ea88
Dot import -> named import
Changed modulename_ to short module names
Also removed Unreader, replaced with PrefixdReader in select locations
10 years ago
Jae Kwon
7a8a0fefc7
type Ed25519[Signature|PubKey] struct{[]byte} -> []byte
10 years ago
Jae Kwon
383335d93c
Added README docs for account/binary and renamed UInt -> Uint etc.
10 years ago
Jae Kwon
61d1635085
Fixed tests
10 years ago
Jae Kwon
810aeb7bcb
fix tests
10 years ago