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

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

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

import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.binaryproto.PrimitiveType;
import com.jd.blockchain.consts.DataCodes;

@DataContract(code=DataCodes.LEDGER_ADMIN_INFO)
public interface LedgerAdminInfo {

	@DataField(order=1, refContract = true)
	LedgerMetadata_V2 getMetadata();

	@DataField(order=2, refContract = true)
	LedgerSettings getSettings();

	@DataField(order=3, refContract = true, list = true)
	ParticipantNode[] getParticipants();
	
	@DataField(order=4, primitiveType = PrimitiveType.INT64)
	long getParticipantCount();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy