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 |
6 years ago | |
---|---|---|
.. | ||
height_vote_set.go | [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) | 6 years ago |
height_vote_set_test.go | [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) | 6 years ago |
peer_round_state.go | libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) | 6 years ago |
round_state.go | remove some xxx comments and the config.mempool.recheck_empty (#2505) | 6 years ago |
round_state_test.go | Implement BFT time (#2203) | 6 years ago |
wire.go | separate mock evidence from real evidence (#2571) | 6 years ago |