TreeNode⚓︎
- TreeNode
- Node in a compact Patricia tree.
Extended by⚓︎
Constructors⚓︎
new TreeNode()⚓︎
Creates a tree node.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
path |
PatriciaTreePath |
Node path. |
Returns⚓︎
TreeNode
Properties⚓︎
| Property | Type | Description |
|---|---|---|
path |
PatriciaTreePath |
Node path. |
Accessors⚓︎
hexPath⚓︎
Get Signature⚓︎
- TreeNode.hexPath
- Gets hex representation of path.
Returns⚓︎
string
Hex representation of path.
Methods⚓︎
calculateHash()⚓︎
- TreeNode.calculateHash
- Calculates node hash.
Returns⚓︎
Hash of the node.