类 BlockHeader
java.lang.Object
org.starcoin.bean.Base
org.starcoin.bean.BlockHeader
-
构造器概要
-
方法概要
修饰符和类型方法说明int
long
getExtra()
long
long
long
getNonce()
long
void
void
setAuthorAuthKey(String authorAuthKey)
void
setBlockAccumulatorRoot(String blockAccumulatorRoot)
void
setBlockHash(String blockHash)
void
setBodyHash(String bodyHash)
void
setChainId(int chainId)
void
setDifficulty(long difficulty)
void
setDifficultyHexStr(String difficultyHexStr)
void
void
setGasUsed(long gasUsed)
void
setHeight(long height)
void
setNonce(long nonce)
void
setParentHash(String parentHash)
void
setStateRoot(String stateRoot)
void
setTimestamp(long timestamp)
void
setTxnAccumulatorRoot(String txnAccumulatorRoot)
toString()
-
构造器详细资料
-
BlockHeader
public BlockHeader()
-
-
方法详细资料
-
getAuthor
-
setAuthor
-
getAuthorAuthKey
-
setAuthorAuthKey
-
getBlockAccumulatorRoot
-
setBlockAccumulatorRoot
-
getBlockHash
-
setBlockHash
-
getBodyHash
-
setBodyHash
-
getChainId
public int getChainId() -
setChainId
public void setChainId(int chainId) -
getDifficulty
public long getDifficulty() -
setDifficulty
public void setDifficulty(long difficulty) -
getExtra
-
setExtra
-
getGasUsed
public long getGasUsed() -
setGasUsed
public void setGasUsed(long gasUsed) -
getNonce
public long getNonce() -
setNonce
public void setNonce(long nonce) -
getHeight
public long getHeight() -
setHeight
public void setHeight(long height) -
getParentHash
-
setParentHash
-
getStateRoot
-
setStateRoot
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
getTxnAccumulatorRoot
-
setTxnAccumulatorRoot
-
getDifficultyHexStr
-
setDifficultyHexStr
-
toString
-