9 Commits

Author SHA1 Message Date
Mark Spanbroek
76d08b8054 Pad big endian bytes with 0's to the right 2023-11-02 08:54:04 +01:00
Mark Spanbroek
fa7c27a833 move unmarshal into its own module called 'io'
Includes separate tests for unmarshalling that
were previously tested as part of the merkleRoot
calculation.

Includes tests for unmarshalling little endian
and big endian byte arrays.
2023-10-31 14:59:06 +01:00
Mark Spanbroek
93013b286a Test merkleRoot() against reference
Co-Authored-By: Balazs Komuves <bkomuves@gmail.com>
2023-10-30 10:56:58 +01:00
Mark Spanbroek
25878c88cf Determine merkle root of byte arrays 2023-10-26 14:39:27 +02:00
Mark Spanbroek
0e91bea0f6 Convert under_scores to camelCase 2023-10-26 09:52:28 +02:00
Mark Spanbroek
f73bce6aa1 convert visual inspection tests to unit tests 2023-10-26 09:52:28 +02:00
Mark Spanbroek
b72c92639b Fix imports 2023-10-26 09:52:28 +02:00
Mark Spanbroek
5220f372c1 Add nimble dependency on constantine 2023-10-26 09:52:28 +02:00
Mark Spanbroek
9f202e0a39 Moving files around to be compatible with nimble 2023-10-26 09:52:28 +02:00