public class BlockInfo extends MychainObject
| 构造器和说明 |
|---|
BlockInfo() |
BlockInfo(List<Hash> txHashs,
List<TransactionReceipt> receiptList,
BigInteger blockNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BigInteger |
getBlockNumber() |
List<TransactionReceipt> |
getReceiptList() |
List<Hash> |
getTxHashs() |
void |
setBlockNumber(BigInteger blockNumber) |
void |
setReceiptList(List<TransactionReceipt> receiptList) |
void |
setTxHashs(List<Hash> txHashs) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic BlockInfo()
public BlockInfo(List<Hash> txHashs, List<TransactionReceipt> receiptList, BigInteger blockNumber)
public List<TransactionReceipt> getReceiptList()
public void setReceiptList(List<TransactionReceipt> receiptList)
public BigInteger getBlockNumber()
public void setBlockNumber(BigInteger blockNumber)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
MychainObjecttoJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
MychainObjectfromJson 在类中 MychainObjectjsonObject - the json objectpublic byte[] toRlp()
MychainObjecttoRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
MychainObjectfromRlp 在类中 MychainObjectlist - the rlp bytesCopyright © 2022. All rights reserved.