Package org.symbol.sdk.symbol
Class Merkle.BranchNode
java.lang.Object
org.symbol.sdk.symbol.Merkle.TreeNode
org.symbol.sdk.symbol.Merkle.BranchNode
- Enclosing class:
Merkle
- BranchNode
- Branch node in a compact Patricia tree.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CryptoTypes.Hash256[]Branch links — a 16-element array, each element either a hash ornull.Fields inherited from class org.symbol.sdk.symbol.Merkle.TreeNode
path -
Method Summary
Modifier and TypeMethodDescriptionCalculates the hash of this node.Methods inherited from class org.symbol.sdk.symbol.Merkle.TreeNode
hexPath
-
Field Details
-
links
Branch links — a 16-element array, each element either a hash ornull.
-
-
Method Details
-
calculateHash
- BranchNode.calculateHash
- Description copied from class:
Merkle.TreeNode
Calculates the hash of this node.- Specified by:
calculateHashin classMerkle.TreeNode- Returns:
- Hash of the node.
-