public class ChainInfo
extends java.lang.Object
Constructor and Description |
---|
ChainInfo(java.math.BigInteger height,
java.math.BigInteger scoreLow,
java.math.BigInteger scoreHigh,
FinalizedBlock latestFinalizedBlock) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getHeight()
Get the chain height
|
FinalizedBlock |
getLatestFinalizedBlock()
Get the finalized block information
|
java.math.BigInteger |
getScoreHigh()
Get scoreHigh
|
java.math.BigInteger |
getScoreLow()
Get scoreLow
|
public ChainInfo(java.math.BigInteger height, java.math.BigInteger scoreLow, java.math.BigInteger scoreHigh, FinalizedBlock latestFinalizedBlock)
public java.math.BigInteger getScoreLow()
public java.math.BigInteger getScoreHigh()
public java.math.BigInteger getHeight()
public FinalizedBlock getLatestFinalizedBlock()