Constructor
new LeafNode(path, value)
- Description:
Creates a leaf node.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
path |
PatriciaTreePath | Leaf path. |
value |
Hash256 | Leaf value. |
Classes
Members
value :Hash256
- Description:
Leaf value.
- Source:
Leaf value.
Type:
Methods
calculateHash() → {Hash256}
- Description:
Calculates node hash.
- Source:
Returns:
Hash of the node.
- Type
- Hash256