public class BlockBody extends MychainObject
| 构造器和说明 |
|---|
BlockBody() |
BlockBody(List<Transaction> transactionList,
List<TransactionReceipt> receiptList,
byte[] consensusProof) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
byte[] |
getConsensusProof() |
List<TransactionReceipt> |
getReceiptList() |
Transaction |
getTransactionByHash(Hash hash) |
List<Transaction> |
getTransactionList() |
void |
setConsensusProof(byte[] consensusProof) |
void |
setReceiptList(List<TransactionReceipt> receiptList) |
void |
setTransactionList(List<Transaction> transactionList) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic BlockBody(List<Transaction> transactionList, List<TransactionReceipt> receiptList, byte[] consensusProof)
public BlockBody()
public List<Transaction> getTransactionList()
public void setTransactionList(List<Transaction> transactionList)
public List<TransactionReceipt> getReceiptList()
public void setReceiptList(List<TransactionReceipt> receiptList)
public byte[] getConsensusProof()
public void setConsensusProof(byte[] consensusProof)
public Transaction getTransactionByHash(Hash hash)
public byte[] toRlp()
toRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
fromRlp 在类中 MychainObjectlist - the rlp bytespublic void toJson(com.alibaba.fastjson.JSONObject jsonObject)
toJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在类中 MychainObjectjsonObject - the json objectCopyright © 2022. All rights reserved.