All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jd.blockchain.ledger.MerkleProofLevel Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.ledger;

import com.jd.blockchain.crypto.HashDigest;

/**
 * 默克尔证明的哈希子节点层级;
 * 
 * 

* 每层由互为兄弟的哈希节点组成; * * @author huanghaiquan * */ public interface MerkleProofLevel { /** * 证明点,即在本层的哈希节点列表({@link #getHashNodes()})中属于证明路径的哈希节点的列表位置; *

* * @return 返回值大于等于 0,小于 {@link #getHashNodes()} 的长度; */ int getProofPoint(); /** * 哈希节点列表; * * @return */ HashDigest[] getHashNodes(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy