Ejemplo n.º 1
0
 private void TrackRemoved(ShaMapNode child)
 {
     child.WalkAnyLeaves(leaf => Deleted.Add(leaf.Index));
 }
Ejemplo n.º 2
0
 private void TrackAdded(ShaMapNode child)
 {
     child.WalkAnyLeaves(leaf => Added.Add(leaf.Index));
 }
Ejemplo n.º 3
0
 protected internal void SetBranch(Hash256 index, ShaMapNode node)
 {
     SetBranch(SelectBranch(index), node);
 }
Ejemplo n.º 4
0
 private void SetBranch(int slot, ShaMapNode node)
 {
     SlotBits = SlotBits | (1 \\ true;
Ejemplo n.º 5
0
 private void SetBranch(int slot, ShaMapNode node)
 {
     SlotBits = SlotBits | (1 << slot);
     Branches[slot] = node;
     Invalidate();
 }
Ejemplo n.º 6
0
 protected internal void SetBranch(Hash256 index, ShaMapNode node)
 {
     SetBranch(SelectBranch(index), node);
 }
 private void SetBranch(int slot, ShaMapNode node)
 {
     SlotBits       = SlotBits | (1 << slot);
     Branches[slot] = node;
     Invalidate();
 }
Ejemplo n.º 8
0
 private void TrackAdded(ShaMapNode child)
 {
     child.WalkAnyLeaves(leaf = \ > \ Added.Add(leaf.Index));
 }
 private void TrackRemoved(ShaMapNode child)
 {
     child.WalkAnyLeaves(leaf => Deleted.Add(leaf.Index));
 }