3 ms·
If I understand your demo implementation correctly then you simply append 0x00 for leaf nodes and 0x01 for tree nodes? The paper isn't terribly clear on how to
by zaarn 9y ago
If I understand your demo implementation correctly then you simply append 0x00 for leaf nodes and 0x01 for tree nodes?
The paper isn't terribly clear on how to implement it, though I was only able to skim over it due to being otherwise occupied atm.
- zeveb 9y ago> If I understand your demo implementation correctly then you simply append 0x00 for leaf nodes and 0x01 for tree nodes? I I understand the paper correctly, one should append 0x00 for root nodes too. It's a little odd that roots & leaves are treated the same, but the math works out correctly. (also, I think the paper appends a 1 bit for roots & leaves and a 0 bit for interior nodes — but it's all much of a muchness)