public class ReceiptProof extends MychainObject
| 构造器和说明 |
|---|
ReceiptProof() |
ReceiptProof(BigInteger blockNumber,
int index,
int size,
Hash receiptRoot,
List<Hash> branches) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BigInteger |
getBlockNumber() |
List<Hash> |
getBranches() |
int |
getIndex() |
Hash |
getReceiptRoot() |
int |
getSize() |
void |
setBlockNumber(BigInteger blockNumber) |
void |
setBranches(List<Hash> branches) |
void |
setIndex(int index) |
void |
setReceiptRoot(Hash receiptRoot) |
void |
setSize(int size) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic ReceiptProof(BigInteger blockNumber, int index, int size, Hash receiptRoot, List<Hash> branches)
public ReceiptProof()
public Hash getReceiptRoot()
public void setReceiptRoot(Hash receiptRoot)
public BigInteger getBlockNumber()
public void setBlockNumber(BigInteger blockNumber)
public int getIndex()
public void setIndex(int index)
public int getSize()
public void setSize(int size)
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.