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.md | changed |
docs/spec.md | |||
---|---|---|---|
@@ -74,10 +74,12 @@ | |||
74 | 74 … | ||
75 | 75 … | If an other key "bin" with the value "number" is add the tree will have two nodes | |
76 | 76 … | ||
77 | 77 … | The root node will be | |
78 | -`0x0b1862696eaf39aa98eb0350611f230cbeb2e68dbe95ab5ecc6e756d626572` | ||
79 | 78 … | ||
79 … | +``` | ||
80 … | +0x0b1862696eaf39aa98eb0350611f230cbeb2e68dbe95ab5ecc6e756d626572 | ||
81 … | + | ||
80 | 82 … | 0xb this node has an extention, a right branch and a value | |
81 | 83 … | 0x18 this the extention has a length of 24 bits | |
82 | 84 … | 0x62696e the value extention "bin" | |
83 | 85 … | 0xaf39aa98eb0350611f230cbeb2e68dbe95ab5ecc a merkle link to another node | |
@@ -91,4 +93,5 @@ | |||
91 | 93 … | 0x17 this the extention has a length of 23 bits | |
92 | 94 … | 0x30b93c the extention 'ary' = 0x617279 that is shift left one bit. 'a' is 0x61 which | |
93 | 95 … | is read 100001100 (little endian) The was first bit is was used to choose the branch (right) | |
94 | 96 … | turns into 0x30 (110000) | |
97 … | +``` |
Built with git-ssb-web