类 BlockHeader

java.lang.Object
org.starcoin.bean.Base
org.starcoin.bean.BlockHeader

public class BlockHeader extends Base
  • 构造器详细资料

    • BlockHeader

      public BlockHeader()
  • 方法详细资料

    • getAuthor

      public String getAuthor()
    • setAuthor

      public void setAuthor(String author)
    • getAuthorAuthKey

      public String getAuthorAuthKey()
    • setAuthorAuthKey

      public void setAuthorAuthKey(String authorAuthKey)
    • getBlockAccumulatorRoot

      public String getBlockAccumulatorRoot()
    • setBlockAccumulatorRoot

      public void setBlockAccumulatorRoot(String blockAccumulatorRoot)
    • getBlockHash

      public String getBlockHash()
    • setBlockHash

      public void setBlockHash(String blockHash)
    • getBodyHash

      public String getBodyHash()
    • setBodyHash

      public void setBodyHash(String bodyHash)
    • getChainId

      public int getChainId()
    • setChainId

      public void setChainId(int chainId)
    • getDifficulty

      public long getDifficulty()
    • setDifficulty

      public void setDifficulty(long difficulty)
    • getExtra

      public String getExtra()
    • setExtra

      public void setExtra(String extra)
    • 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

      public String getParentHash()
    • setParentHash

      public void setParentHash(String parentHash)
    • getStateRoot

      public String getStateRoot()
    • setStateRoot

      public void setStateRoot(String stateRoot)
    • getTimestamp

      public long getTimestamp()
    • setTimestamp

      public void setTimestamp(long timestamp)
    • getTxnAccumulatorRoot

      public String getTxnAccumulatorRoot()
    • setTxnAccumulatorRoot

      public void setTxnAccumulatorRoot(String txnAccumulatorRoot)
    • getDifficultyHexStr

      public String getDifficultyHexStr()
    • setDifficultyHexStr

      public void setDifficultyHexStr(String difficultyHexStr)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object