Zahary Karadjov
6be00f7c4b
Extract the varints code being used in the latest LibP2P back-end
...
Originally, this code was taken from
https://github.com/status-im/nim-libp2p/blob/master/libp2p/varint.nim
The API was refactored to make it easier to use in the networking
back-ends where the data is being consumed byte by byte.
2019-08-01 17:21:14 +03:00
Zahary Karadjov
2334aa0fb3
More code migrated from the beacon-chain repo
2019-07-31 02:25:12 +03:00
Zahary Karadjov
3fce87f0f5
Refactor the bitranges module
...
* The bit procs defined over number values and openarray are now part of
the bitops2 module and use the more traditional LittleEndian indexing.
* Added BitSeq and BitArray types as defined in the ETH2 spec.
2019-07-31 02:20:49 +03:00
Jacek Sieka
7a87693eaf
refactor bitops2, add endians2
2019-07-06 20:47:08 +02:00
Jacek Sieka
904f84c8e0
add ranges
2019-07-06 20:45:27 +02:00
Jacek Sieka
c95cee45bc
add byteutils
2019-07-06 20:07:41 +02:00
Jacek Sieka
a9612d7320
add docs/appveyor/travis/test runner
2019-07-06 20:00:37 +02:00