com.jd.blockchain.consensus.manage.ConsensusManageService Maven / Gradle / Ivy
package com.jd.blockchain.consensus.manage;
import com.jd.blockchain.consensus.Replica;
import utils.concurrent.AsyncFuture;
/**
* 共识管理服务;
*
* @author huanghaiquan
*
*/
public interface ConsensusManageService {
/**
* 加入新节点到共识网络;
*
* @param nodeSettings
*/
AsyncFuture addNode(Replica replica);
/**
* 移除节点;
*
* @param nodeAddress
* @return
*/
AsyncFuture removeNode(Replica replica);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy