Package org.starcoin.bean
Class BlockInfo
- java.lang.Object
-
- org.starcoin.bean.BlockInfo
-
public class BlockInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description BlockInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccumulatorNodegetBlockAccumulatorInfo()StringgetBlockHash()StringgetTotalDifficulty()AccumulatorNodegetTxnAccumulatorInfo()voidsetBlockAccumulatorInfo(AccumulatorNode blockAccumulatorInfo)voidsetBlockHash(String blockHash)voidsetTotalDifficulty(String totalDifficulty)voidsetTxnAccumulatorInfo(AccumulatorNode txnAccumulatorInfo)StringtoString()
-
-
-
Method Detail
-
getBlockAccumulatorInfo
public AccumulatorNode getBlockAccumulatorInfo()
-
setBlockAccumulatorInfo
public void setBlockAccumulatorInfo(AccumulatorNode blockAccumulatorInfo)
-
getBlockHash
public String getBlockHash()
-
setBlockHash
public void setBlockHash(String blockHash)
-
getTotalDifficulty
public String getTotalDifficulty()
-
setTotalDifficulty
public void setTotalDifficulty(String totalDifficulty)
-
getTxnAccumulatorInfo
public AccumulatorNode getTxnAccumulatorInfo()
-
setTxnAccumulatorInfo
public void setTxnAccumulatorInfo(AccumulatorNode txnAccumulatorInfo)
-
-