Class StorePatriciaBranchNode


public final class StorePatriciaBranchNode
extends PatriciaBranchNode
A branch node usable for store-backed implementation, or for nodes in abridged form.
  • Field Details

    • value

      @Nullable public final byte[] value
      The value associated with this node (or null).
    • childrenCaps

      @Nullable public final byte[][] childrenCaps
      The cap values (i.e. result of the yellowpaper's node cap function n - equation 196) of all children of this node. Must have size 16.

      For empty slots in branch nodes, null is used.

  • Constructor Details

    • StorePatriciaBranchNode

      public StorePatriciaBranchNode​(byte[] value, byte[][] childrenCaps)
  • Method Details