git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Commit 8b3b6ad9bccab11efb8cdb0f5a71e03b011e8ee0

docs

Signed-off-by: wanderer <mjbecze@gmail.com>
wanderer committed on 10/2/2017, 6:21:55 PM
Parent: 11be8699369866363129c6162babf55dfaf9bf10

Files changed

docs/spec.mdchanged
docs/spec.mdView
@@ -74,10 +74,12 @@
7474
7575 If an other key "bin" with the value "number" is add the tree will have two nodes
7676
7777 The root node will be
78-`0x0b1862696eaf39aa98eb0350611f230cbeb2e68dbe95ab5ecc6e756d626572`
7978
79 +```
80 +0x0b1862696eaf39aa98eb0350611f230cbeb2e68dbe95ab5ecc6e756d626572
81 +
8082 0xb this node has an extention, a right branch and a value
8183 0x18 this the extention has a length of 24 bits
8284 0x62696e the value extention "bin"
8385 0xaf39aa98eb0350611f230cbeb2e68dbe95ab5ecc a merkle link to another node
@@ -91,4 +93,5 @@
9193 0x17 this the extention has a length of 23 bits
9294 0x30b93c the extention 'ary' = 0x617279 that is shift left one bit. 'a' is 0x61 which
9395 is read 100001100 (little endian) The was first bit is was used to choose the branch (right)
9496 turns into 0x30 (110000)
97 +```

Built with git-ssb-web