public class MerkleTree extends Object
| Constructor and Description |
|---|
MerkleTree(List<byte[]> leafs) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Boolean> |
isProofValid(byte[] proof,
byte[] leafValue) |
Optional<byte[]> |
proofByLeaf(byte[] leaf) |
Optional<byte[]> |
proofByLeafHash(byte[] hash) |
Optional<byte[]> |
proofByLeafIndex(int i) |
byte[] |
rootHash() |
public MerkleTree(List<byte[]> leafs)
Copyright © 2019. All rights reserved.