andri lim
|
7c2ed75b09
|
treebuilder will raise exception on parsing error
|
2020-04-29 16:22:39 +07:00 |
andri lim
|
fdb750f67e
|
implement witness header encoding decoding and implement buildForest
|
2020-04-29 15:29:25 +07:00 |
andri lim
|
90c2ede43b
|
deals with EIP170 error
|
2020-04-29 13:06:27 +07:00 |
andri lim
|
c325ce1863
|
fix contract code retrieval from db
|
2020-04-29 13:06:27 +07:00 |
andri lim
|
4974ca49db
|
fix buildWitness API
|
2020-04-29 13:06:27 +07:00 |
andri lim
|
4e12ba825c
|
separate underdeveloped stack based witness builder source code from recursive code
|
2020-04-29 13:06:26 +07:00 |
andri lim
|
d95ded217b
|
implement account storage encoding and decoding
|
2020-04-29 13:06:26 +07:00 |
andri lim
|
4de8eaa81d
|
implement account code encoding and decoding
|
2020-04-29 13:06:26 +07:00 |
andri lim
|
2ae02fd629
|
implement account serializer and deserializer
|
2020-04-29 13:06:25 +07:00 |
andri lim
|
a540b8cbeb
|
InputStream still unstable, use seq[byte] again
|
2020-04-29 13:06:25 +07:00 |
andri lim
|
692bed176e
|
allow test_block_witness to run single test
|
2020-04-29 13:06:24 +07:00 |
andri lim
|
a1a6b7b9c4
|
add some remarks on interesting findings during experiment
|
2020-04-29 13:06:24 +07:00 |
andri lim
|
9589f9cd90
|
remove shallowcopy from witness builder
|
2020-04-29 13:06:24 +07:00 |
andri lim
|
8db1109515
|
remove 17th elem code from branch node parser/encoder
|
2020-04-29 13:06:23 +07:00 |
andri lim
|
649597e714
|
cleanup unused code
|
2020-04-29 13:06:23 +07:00 |
andri lim
|
cecb8986a4
|
readU32 new spec, change LE to BE
|
2020-04-29 13:06:23 +07:00 |
andri lim
|
73c487fdb0
|
switch back to InputStream
|
2020-04-29 13:06:22 +07:00 |
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
|
2b00c1923a
|
block witness test using jsonTest new feature
|
2020-04-29 13:06:21 +07:00 |
andri lim
|
ef038c6125
|
witness_from_tree minor refactor
|
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
|
5ae1bac115
|
implement crude block witness tester
|
2020-04-29 13:05:20 +07:00 |
andri lim
|
785e1dadce
|
implement crude witness builder
|
2020-04-29 13:05:19 +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 |