@Beta
public interface MerkleTree
Modifier and Type | Field and Description |
---|---|
static String |
ROOT_HASH_KEY
Key to the root node in the Merkle tree
|
Modifier and Type | Method and Description |
---|---|
String |
getHashAlgorithm() |
Map<Integer,String> |
getLeaves() |
Map<String,String> |
getNodes() |
int |
getNumberOfLeaves() |
ProtocolVersion |
getProtocolVersion()
Protocol version describes how to build the tree and the proof
|
String |
getRootHash() |
Map<Integer,String> |
getSalts() |
static final String ROOT_HASH_KEY
@Nullable ProtocolVersion getProtocolVersion()
ProtocolVersion
protocolVersion@Nullable Map<String,String> getNodes()
Map<Integer, String>
the nodes of the tree@Nullable Map<Integer,String> getLeaves()
Map<Integer, String>
the leaves mapping position to value@Nullable Map<Integer,String> getSalts()
@Nullable String getHashAlgorithm()
int getNumberOfLeaves()
Copyright © 2020 SAP SE. All rights reserved.