BranchNode

BranchNode

Branch node in a compact Patricia tree.

Constructor

new BranchNode(path, links)

Description:
  • Creates a branch node.

Source:
Parameters:
Name Type Description
path PatriciaTreePath

Branch path.

links Array.<Hash256>

Branch links.

Classes

BranchNode

Members

Description:
  • Branch links.

Source:

Branch links.

Type:

Methods

calculateHash() → {Hash256}

Description:
  • Calculates node hash.

Source:
Returns:

Hash of the node.

Type
Hash256