TreeNode

TreeNode

Node in a compact Patricia tree.

Constructor

new TreeNode(path)

Description:
  • Creates a tree node.

Source:
Parameters:
Name Type Description
path PatriciaTreePath

Node path.

Classes

TreeNode

Members

hexPath

Description:
  • Gets hex representation of path.

Source:

Gets hex representation of path.

path :PatriciaTreePath

Description:
  • Node path.

Source:

Node path.

Type:

Methods

calculateHash() → {Hash256}

Description:
  • Calculates node hash.

Source:
Returns:

Hash of the node.

Type
Hash256