abstract class DBConsensusTool extends Object implements foundation.omni.consensus.ConsensusTool
Command-line tool and class for fetching consensus data from OmniEngine DB
| Constructor and description |
|---|
DBConsensusTool(DataSource dataSource) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Integer |
currentBlockHeight() |
|
foundation.omni.json.pojo.ConsensusSnapshot |
getConsensusSnapshot(foundation.omni.CurrencyID currencyID) |
|
List<foundation.omni.json.pojo.SmartPropertyListInfo> |
listProperties() |
|
static void |
main(String[] args) |