com.jd.blockchain.ledger.MerkleProof Maven / Gradle / Ivy
package com.jd.blockchain.ledger;
import com.jd.blockchain.crypto.HashDigest;
public interface MerkleProof extends Iterable {
/**
* 返回根节点的哈希;
*
* @return
*/
HashDigest getRootHash();
/**
* 返回数据节点的哈希;
*
* @return
*/
HashDigest getDataHash();
/**
* 返回哈希路径;
*
* @return
*/
HashDigest[] getHashPaths();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy