12 Commits

Author SHA1 Message Date
Miran
d37e77a72b
make it more Nim 1.4+ compatible (#131)
* make it more 1.6-compatible

* these changes are from 1.4 forward
2022-07-26 17:52:59 +00:00
Jacek Sieka
8a405309c6
enable styleCheck:usages (#93) 2021-12-02 16:24:02 +01:00
Jacek Sieka
86ac01122c
ssz no longer uses stew/bitseqs 2020-06-03 11:22:32 +02:00
Zahary Karadjov
50562b515a
Add bitseqs.bitsLen(openarray) 2020-01-29 02:42:50 +02:00
Jacek Sieka
1edeabb453
Renames (#17)
* renames and warning fixes
* gitignore: nimcache
2019-12-20 13:23:30 +01:00
Zahary Karadjov
43bbe48e5f Cosmetic rename for more clarity 2019-08-19 18:43:25 +03:00
Zahary Karadjov
888a5aa82d Fix the failing overlaps test 2019-08-19 18:43:25 +03:00
Zahary Karadjov
5e11e1f1db
Add BitSeq.isZeros 2019-08-07 05:19:53 +03:00
Zahary Karadjov
19fd0cc489
Hide the complexity of dealing with the BitSeq marker bit inside an efficient machine words iterator 2019-08-06 21:02:03 +03:00
Zahary Karadjov
2334aa0fb3
More code migrated from the beacon-chain repo 2019-07-31 02:25:12 +03:00
Zahary Karadjov
ff326d686c
support $ op for bit arrays/seqs 2019-07-31 02:20:49 +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