public class SyncStatus extends MychainObject
| 构造器和说明 |
|---|
SyncStatus() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SyncStatus |
builder(int syncing,
BigInteger myBest,
BigInteger target) |
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BigInteger |
getMyBest() |
int |
getSyncing() |
BigInteger |
getTarget() |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic static SyncStatus builder(int syncing, BigInteger myBest, BigInteger target)
public int getSyncing()
public BigInteger getMyBest()
public BigInteger getTarget()
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.