Package org.starcoin.bean
Class BlockMetadata
- java.lang.Object
-
- org.starcoin.bean.BlockMetadata
-
public class BlockMetadata extends Object
-
-
Constructor Summary
Constructors Constructor Description BlockMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()StringgetAuthorAuthKey()StringgetChainId()StringgetNumber()longgetParentGasUsed()StringgetParentHash()List<String>getParentsHash()longgetTimestamp()StringgetUncles()voidsetAuthor(String author)voidsetAuthorAuthKey(String authorAuthKey)voidsetChainId(String chainId)voidsetNumber(String number)voidsetParentGasUsed(long parentGasUsed)voidsetParentHash(String parentHash)voidsetParentsHash(List<String> parentsHash)voidsetTimestamp(long timestamp)voidsetUncles(String uncles)StringtoString()
-
-
-
Method Detail
-
getParentHash
public String getParentHash()
-
setParentHash
public void setParentHash(String parentHash)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getAuthor
public String getAuthor()
-
setAuthor
public void setAuthor(String author)
-
getAuthorAuthKey
public String getAuthorAuthKey()
-
setAuthorAuthKey
public void setAuthorAuthKey(String authorAuthKey)
-
getUncles
public String getUncles()
-
setUncles
public void setUncles(String uncles)
-
getNumber
public String getNumber()
-
setNumber
public void setNumber(String number)
-
getChainId
public String getChainId()
-
setChainId
public void setChainId(String chainId)
-
getParentGasUsed
public long getParentGasUsed()
-
setParentGasUsed
public void setParentGasUsed(long parentGasUsed)
-
-