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

com.jd.blockchain.consensus.client.ClientSettings Maven / Gradle / Ivy

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

import com.jd.blockchain.consensus.ConsensusViewSettings;
import com.jd.blockchain.consensus.SessionCredential;
import com.jd.blockchain.crypto.PubKey;

/**
 * 共识客户端的配置参数;
 * 
 * @author huanghaiquan
 *
 */
public interface ClientSettings {

	/**
	 * 客户端ID;
	 * 
	 * @return
	 */
	int getClientId();

	/**
	 * 客户端的公钥;
	 * 
	 * @return
	 */
	PubKey getClientPubKey();

	/**
	 * 共识网络的配置参数;
	 * 
	 * @return
	 */
	ConsensusViewSettings getViewSettings();

	/**
	 * 凭证信息;
	 * 
	 * @return
	 */
	SessionCredential getSessionCredential();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy