Marko
a88537bb88
ints: stricter numbers ( #4939 )
5 years ago
Marko
e03b61abd2
proto: add proto files for ibc unblock ( #4853 )
## Description
these proto files are meant to help unblock ibc in their quest of migrating the ibc module to proto.
Closes: #XXX
5 years ago
Marko
044f1bf288
format: add format cmd & goimport repo ( #4586 )
* format: add format cmd & goimport repo
- replaced format command
- added goimports to format command
- ran goimports
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* fix outliers & undo proto file changes
5 years ago
Marko
48f073d796
privval: return error on getpubkey ( #4534 )
closes #3602
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
5 years ago
Anton Kaliaev
3e1516b624
linters: enable stylecheck ( #4153 )
Refs #3262
5 years ago
Phil Salant
d1d517a9b7
linters: enable scopelint ( #3963 )
* Pin range scope vars
* Don't disable scopelint
This PR repairs linter errors seen when running the following commands:
golangci-lint run --no-config --disable-all=true --enable=scopelint
Contributes to #3262
5 years ago
Catalin Pirvu
46d32af055
Add tests for ValidateBasic methods ( #2754 )
Fixes #2740
6 years ago
Zarko Milosevic
c5905900eb
Simplify proposal msg ( #2735 )
* Align Proposal message with spec
* Update spec
6 years ago
Ismail Khoffi
6643c5dd11
Catch up with amino 0.13.0 ( #2690 )
* catch up with amino changes in
https://github.com/tendermint/go-amino/pull/222
* WIP: update to amino v0.13.0
* update to fixed amino release
6 years ago
Ismail Khoffi
fc073746a0
privval: Switch to amino encoding in SignBytes ( #2459 )
* switch to amino for SignBytes and add Reply with error message
- currently only Vote is done
* switch Reply type in socket for other messages
- add error description on error
* add TODOs regarding error handling
* address comments from peer review session (thx @xla )
- contains all changes besides the test-coverage / error'ing branches
* increase test coverage:
- add tests for each newly introduced error'ing code path
* return error if received wrong response
* add test for wrong response branches (ErrUnexpectedResponse)
* update CHANGELOG_PENDING and related documentation (spec)
* fix typo: s/CanonicallockID/CanonicalBlockID
* fixes from review
6 years ago
Ethan Buchman
309a6772d7
types: fix formatting when printing signatures
- use cmn.Fingerprint and %X
6 years ago
ValarDragon
f903947ff3
crypto: Remove interface from crypto.Signature
Signatures are now []byte, which saves on the number of bytes after
amino encoding
(squash this) address Ismail's comment
6 years ago
Anton Kaliaev
3ffda994c2
Revert "rename privval#GetAddress and GetPubKey to Address and PubKey"
This reverts commit 58d0c8de89
.
7 years ago
Anton Kaliaev
ff8ddee708
rename privval#GetAddress and GetPubKey to Address and PubKey
7 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 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
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Ethan Buchman
3395f5fb0e
types: builds
7 years ago
Ethan Buchman
d2cd079541
types: tests build
7 years ago
Ethan Buchman
8da2a6a147
types/priv_validator: fixes for latest p2p and cmn
7 years ago
Ethan Frey
5ffb5f01cc
Add more tests for Proposal/Vote serialization
String() and Proposal valid after serializing.
To be safe, but mainly to increase test coverage for the PR
7 years ago
Ethan Frey
599673690c
Add timestamp to vote canonical encoding
7 years ago
Ethan Frey
7deda53b7c
Add Timestamp to Proposal for issue #929
Store it as time.Timestamp locally, encode it as RFC3339 with milliseconds
before signing the canonical form.
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
4382c8d28b
fix tests
7 years ago
Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
90c0267bc1
types: privVal.Sign returns an error
7 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Ethan Buchman
1b3766d802
types: canonical_json.go
8 years ago
Ethan Buchman
ed42f70248
types: benchmark WriteSignBytes
8 years ago
Jae Kwon
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
8 years ago
Jae Kwon
ad17090a0f
No global config
9 years ago
Jae Kwon
03115cbf93
Fix tests; Tests run in their own directory
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
10 years ago
Jae Kwon
1e7cc32597
tendermint/account -> acm
10 years ago
Ethan Buchman
dc7b912881
crypto byte arrays are fixed length
10 years ago
Jae Kwon
9e1794eaea
Fixed tests
10 years ago
Ethan Buchman
41502e05c1
chain_id written as string not hex in WriteSignBytes
10 years ago
Ethan Buchman
2045aee9cd
pass chainID through sign interfaces
10 years ago
Ethan Buchman
8a2d9525f0
network > chain_id, put in genesis.json
10 years ago
Jae Kwon
489bf767cb
importing tendermint/config/tendermint_test applies the test config
10 years ago
Jae Kwon
75ef479547
Config is passed into each module. Remove tendermint/confer
10 years ago
Jae Kwon
85c8850ac2
Config names have no dots, are under_scored.
10 years ago
Jae Kwon
b92c0401e6
Made all JSON fields lower_case
10 years ago