Commit Graph

11 Commits

Author SHA1 Message Date
Paul Hauner
a87fe88d97
Fix bug in boolean bitfield
The length generated when converting from a string was incorrect.
2018-09-30 14:24:03 +09:30
Paul Hauner
da1e0c8a59
Change bitfield serialization to little-endian 2018-09-25 22:09:30 +10:00
Paul Hauner
029a69a4a5
Add method to bitfield to read specific byte 2018-09-24 18:06:47 +10:00
Paul Hauner
890aaf7335
Add num_bytes() to bitfield 2018-09-22 21:58:54 +10:00
Paul Hauner
67f2850d37
Fix bug on BooleanBitfield decoding 2018-09-22 15:52:10 +10:00
Paul Hauner
1bbf4a86cb
Merge branch 'master' into validate_block 2018-09-22 14:11:27 +10:00
Paul Hauner
681c1247ad
Add SSZ and fixes for BooleanBitfield
Related to #22
2018-09-22 14:07:14 +10:00
Paul Hauner
928bafb3da
Ensure an empty bitfield serializes to 1 byte 2018-09-19 16:46:33 +10:00
Paul Hauner
e12a93783d Tidy up boolean_bitfield 2018-09-10 08:51:51 +02:00
Paul Hauner
67bbc75c86 Update ssz
- Add u16 and u8.
 - Add comments
 - Consildate functions
2018-09-10 07:50:35 +02:00
Paul Hauner
fd1eea561e Move boolean_bitfield into own crate 2018-08-23 15:20:10 +10:00