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

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

//package com.jd.blockchain.ledger;
//
//import com.jd.blockchain.binaryproto.DataContract;
//import com.jd.blockchain.binaryproto.DataField;
//import com.jd.blockchain.binaryproto.PrimitiveType;
//import com.jd.blockchain.consts.DataCodes;
//import com.jd.blockchain.crypto.HashDigest;
//
///**
// * 交易内容;
// * 
// * @author huanghaiquan
// *
// */
//@DataContract(code = DataCodes.TX_CONTENT_BODY)
//public interface TransactionContentBody {
//
//	/**
//	 * 执行交易的账本地址;
//	 * 
//	 * 注:除了账本的创世交易之外,任何交易的账本地址都不允许为 null;
//	 *
//	 * @return
//	 */
//	@DataField(order = 1, primitiveType = PrimitiveType.BYTES)
//	HashDigest getLedgerHash();
//
//	/**
//	 * 操作列表;
//	 * 
//	 * @return
//	 */
//	@DataField(order = 2, list = true, refContract = true, genericContract = true)
//	Operation[] getOperations();
//
//	/**
//	 * 生成交易的时间;
// * 以毫秒为单位,表示距离 1970-1-1 00:00:00 (UTC) 的毫秒数;
// * // * @return // */ // @DataField(order = 3, primitiveType = PrimitiveType.INT64) // long getTimestamp(); // //}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy