Commit Graph

7 Commits

Author SHA1 Message Date
andri lim 323204d939
deals with short node len < 32 2020-04-29 13:06:22 +07:00
andri lim 9cebceaf8e
hex prefix encoding minor optimization 2020-04-29 13:06:21 +07:00
andri lim c33fb4deed
block witness: trie node encoding roundtrip test success using recursive functions 2020-04-29 13:06:20 +07:00
andri lim 809f9d13bd
move witness types from tree_from_witness.nim to witness_types.nim 2020-04-29 13:06:20 +07:00
andri lim 2a4228c7a7
use stew/endians2/fromBytesLE to parse uint32 2020-04-29 13:05:14 +07:00
Zahary Karadjov 8ab61abacd
Use the latest FastStreams API 2020-04-29 12:47:56 +07:00
andri lim c943c699f2
implement tree builder [skip ci] ***NO_CI*** 2020-04-29 12:47:56 +07:00