| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
count |
protected String |
createrId
创建者ID
|
protected String |
createrName
创建者
|
protected String |
hash |
protected Long |
height |
protected String |
merkleRoot |
protected String |
preHash |
protected String |
sign |
protected Long |
timestamp |
| 构造器和说明 |
|---|
BlockHead() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCount() |
String |
getCreaterId() |
String |
getCreaterName() |
String |
getHash() |
Long |
getHeight() |
String |
getMerkleRoot() |
String |
getPreHash() |
String |
getSign() |
Long |
getTimestamp() |
void |
setCount(int count) |
void |
setCreaterId(String createrId) |
void |
setCreaterName(String createrName) |
void |
setHash(String hash) |
void |
setHeight(Long height) |
void |
setMerkleRoot(String merkleRoot) |
void |
setPreHash(String preHash) |
void |
setSign(String sign) |
void |
setTimestamp(Long timestamp) |
String |
toJsonString() |
protected Long height
protected String hash
protected String preHash
protected String merkleRoot
protected Long timestamp
protected String sign
protected int count
protected String createrName
protected String createrId
public Long getHeight()
public void setHeight(Long height)
public String getHash()
public void setHash(String hash)
public String getPreHash()
public void setPreHash(String preHash)
public String getMerkleRoot()
public void setMerkleRoot(String merkleRoot)
public Long getTimestamp()
public void setTimestamp(Long timestamp)
public int getCount()
public void setCount(int count)
public String getSign()
public void setSign(String sign)
public String getCreaterName()
public void setCreaterName(String createrName)
public String getCreaterId()
public void setCreaterId(String createrId)
public String toJsonString()
Copyright © 2020. All Rights Reserved.