tendermint/lite
Ismail Khoffi 8888595b94 [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598)
* WIP: switching to fixed offsets for SignBytes

* add version field to sign bytes and update order

* more comments on test-cases and add a tc with a chainID

* remove amino:"write_empty" tag

- it doesn't affect if default fixed size fields ((u)int64) are
written or not
- add comment about int->int64 casting

* update CHANGELOG_PENDING

* update documentation

* add back link to issue #1622 in documentation

* remove JSON tags and add (failing test-case)

* fix failing test

* update test-vectors due to added `Type` field

* change Type field from string to byte and add new type alias

- SignedMsgType replaces VoteTypePrevote, VoteTypePrecommit and adds new
ProposalType to separate votes from proposal when signed

- update test-vectors

* fix remains from rebasing

* use SignMessageType instead of byte everywhere

* fixes from review
2018-10-12 19:21:46 -04:00
..
client Addressed review for #1815 except those marked as 'TODO make issue' 2018-08-02 03:10:50 -07:00
errors General Merkle Proof (#2298) 2018-09-28 20:03:19 -04:00
proxy lite support maxOpenConnections (#2413) 2018-10-04 20:39:24 -04:00
base_verifier.go lite: Add synchronization in lite verify (#2396) 2018-09-28 19:23:21 -04:00
base_verifier_test.go lite: Add synchronization in lite verify (#2396) 2018-09-28 19:23:21 -04:00
commit.go Addressed review for #1815 except those marked as 'TODO make issue' 2018-08-02 03:10:50 -07:00
dbprovider.go Addressed review for #1815 except those marked as 'TODO make issue' 2018-08-02 03:10:50 -07:00
doc.go General Merkle Follow Up (#2510) 2018-09-28 23:32:13 -04:00
dynamic_verifier.go General Merkle Follow Up (#2510) 2018-09-28 23:32:13 -04:00
dynamic_verifier_test.go consensus: Wait timeout precommit before starting new round (#2493) 2018-10-04 09:37:13 -04:00
helpers.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
multiprovider.go Addressed review for #1815 except those marked as 'TODO make issue' 2018-08-02 03:10:50 -07:00
provider.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
provider_test.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
types.go lite: Add synchronization in lite verify (#2396) 2018-09-28 19:23:21 -04:00