com.jd.blockchain.consensus.manage.ConsensusView Maven / Gradle / Ivy
package com.jd.blockchain.consensus.manage;
import utils.net.NetworkAddress;
public interface ConsensusView {
/**
* 视图编号;
*
* @return
*/
int getViewID();
/**
* 节点列表;
*
* @return
*/
Node[] getNodes();
public static interface Node {
/**
* 副本编号;
*
* @return
*/
int getReplicaId();
/**
* 网址;
*
* @return
*/
NetworkAddress getNetworkAddress();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy