Author | SHA1 | Message | Date |
---|---|---|---|
Ismail Khoffi | 1f68318875 |
fix order of BlockID and Timestamp in Vote and Proposal (#3078)
* Consistent order fields of Timestamp/BlockID fields in CanonicalVote and CanonicalProposal * update spec too * Introduce and use IsZero & IsComplete: - update IsZero method according to spec and introduce IsComplete - use methods in validate basic to validate: proposals come with a "complete" blockId and votes are either complete or empty - update spec: BlockID.IsNil() -> BlockID.IsZero() and fix typo * BlockID comes first * fix tests |
6 years ago |
Ethan Buchman |
56a4fb4d72
|
add signing spec (#3061)
* add signing spec * fixes from review * more fixes * fixes from review |
6 years ago |