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

com.jd.blockchain.consensus.manage.ConsensusManageService Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
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