com.jd.blockchain.ledger.MerkleNode Maven / Gradle / Ivy
package com.jd.blockchain.ledger;
import com.jd.blockchain.crypto.HashDigest;
public interface MerkleNode {
HashDigest getNodeHash();
/**
* 节点的深度;
*
* 叶子节点的深度为 0;每一级父节点的深度加 1 ;
*
* @return
*/
int getLevel();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy