Skip to content

Commit

Permalink
Merge pull request #619 from HyunggyuJang/patch-5
Browse files Browse the repository at this point in the history
Fix ChildrenBitmap definition
  • Loading branch information
lamafab authored Feb 22, 2023
2 parents 798b59f + c1f1b97 commit f183578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 01_host/02_state/03_state-storage-trie.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,14 @@ and decode information stored in a branch node.
.<<defn-children-bitmap, Children Bitmap>>
====
Suppose stem:[N_b, N_c in cc N] and stem:[N_c] is a child of stem:[N_b]. We
define bit stem:[b_i : = 1] if and only if stem:[N] has a child with partial key
define bit stem:[b_i : = 1] if and only if stem:[N_b] has a child with index
stem:[i], therefore we define *ChildrenBitmap* functions as follows:
[stem]
++++
"ChildrenBitmap:"\
cc N_b -> bbb B_2\
N -> (b_(15), ...,b_8,b_7,...,b_0)_2
N_b -> (b_(15), ...,b_8,b_7,...,b_0)_2
++++
where
Expand Down

0 comments on commit f183578

Please sign in to comment.