Class MerkleTreeAlgo


  • public class MerkleTreeAlgo
    extends java.lang.Object
    MerkleTreeAlgo
    • Constructor Detail

      • MerkleTreeAlgo

        public MerkleTreeAlgo​(DigestType digestType)
        Parameters:
        digestType -
    • Method Detail

      • addLeaf

        public void addLeaf​(byte[] data)
        adds leaf to the MerkleTree
        Parameters:
        data -
      • generateMerkle

        public MerkleTree generateMerkle()
        Returns:
        MerkleTree