tendermint/state
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
..
txindex switch back to original fork 2018-09-18 12:16:03 +04:00
errors.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
execution.go consensus: Wait for proposal or timeout before prevote (#2540) 2018-10-12 16:13:01 -04:00
execution_test.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
metrics.go consensus: Wait for proposal or timeout before prevote (#2540) 2018-10-12 16:13:01 -04:00
services.go mempool: Filter new txs if they have insufficient gas (#2385) 2018-09-22 02:50:06 +02:00
state.go state: require block.Time of the fist block to be genesis time (#2594) 2018-10-12 01:03:58 -04:00
state_test.go [R4R] Pass nil to NewValidatorSet() when genesis file's Validators field is nil (#2617) 2018-10-11 23:37:21 -04:00
store.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
tx_filter.go conesnsu: follow up to removing some consensus params (#2427) 2018-09-21 11:00:36 +02:00
tx_filter_test.go conesnsu: follow up to removing some consensus params (#2427) 2018-09-21 11:00:36 +02:00
validation.go state: require block.Time of the fist block to be genesis time (#2594) 2018-10-12 01:03:58 -04:00
validation_test.go state: require block.Time of the fist block to be genesis time (#2594) 2018-10-12 01:03:58 -04:00
wire.go crypto: Refactor to move files out of the top level directory 2018-07-18 08:38:44 -07:00