BranchNode⚓︎
- BranchNode
- Branch node in a compact Patricia tree.
Extends⚓︎
Constructors⚓︎
new BranchNode()⚓︎
Creates a branch node.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
path |
PatriciaTreePath |
Branch path. |
links |
Hash256[] |
Branch links. |
Returns⚓︎
BranchNode
Overrides⚓︎
Properties⚓︎
| Property | Type | Description | Inherited from |
|---|---|---|---|
links |
Hash256[] |
Branch links. | - |
path |
PatriciaTreePath |
Node path. | TreeNode.path |
Accessors⚓︎
hexPath⚓︎
Get Signature⚓︎
- BranchNode.hexPath
- Gets hex representation of path.
Returns⚓︎
string
Hex representation of path.
Inherited from⚓︎
Methods⚓︎
calculateHash()⚓︎
- BranchNode.calculateHash
- Calculates node hash.
Returns⚓︎
Hash of the node.