Zarko Milosevic
c5905900eb
Simplify proposal msg ( #2735 )
...
* Align Proposal message with spec
* Update spec
2018-10-31 10:27:11 -04:00
Ismail Khoffi
a530352f61
Align Vote/Proposal fields with canonical order and fields ( #2730 )
...
* reorder fields
* add TestVoteString & update tests
* remove redundant info from Proposal.String()
* update spec
* revert changes on vote.String() -> more human friendly
2018-10-30 12:16:55 -04:00
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
2018-10-24 21:34:01 -04:00
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
2018-09-28 19:57:29 -04:00
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
Ethan Buchman
720ce658f1
Merge branch 'release/v0.23.0' into bucky/merge-0.23.0-to-develop
2018-08-05 16:42:04 -04:00
Ethan Buchman
309a6772d7
types: fix formatting when printing signatures
...
- use cmn.Fingerprint and %X
2018-08-05 16:35:43 -04:00
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
2018-08-05 15:46:57 -04:00
Jae Kwon
bf0ff212b9
Refactor "lite" to handle delayed validator set changes.
...
Also, fix consensus liveness issue.
2018-06-25 17:12:25 -07: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
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
Ethan Buchman
3395f5fb0e
types: builds
2018-03-02 01:28:38 -05:00
Ethan Buchman
200787ede2
types: update for new go-wire. WriteSignBytes -> SignBytes
2018-03-02 01:25:54 -05:00
Ethan Frey
599673690c
Add timestamp to vote canonical encoding
2017-12-12 12:59:51 +01:00
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.
2017-12-12 12:59:51 +01:00
Anton Kaliaev
922af7c405
int64 height
...
uint64 is considered dangerous. the details will follow in a blog post.
2017-12-01 19:04:53 -06:00
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
2017-12-01 17:17:22 -05:00
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
2017-10-04 16:40:45 -04:00
Ethan Buchman
d1a00c684e
types: comments
2017-09-22 12:00:37 -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 Buchman
1b3766d802
types: canonical_json.go
2016-12-17 21:21:27 -05:00
zachary balder
da8b043612
sign bytes w struct literals
2016-12-17 21:21:27 -05:00
Jae Kwon
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
2016-11-15 18:35:17 -05:00
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
2015-12-01 20:12:01 -08:00
Jae Kwon
d69b5c5ab6
Conform to go-wire 1.0
2015-11-10 13:10:43 -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