From 1e991d1b6ebed317e07bebcf0e1dc9c29bbacaec Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Tue, 16 Apr 2019 18:00:09 -0500 Subject: [PATCH] Sync up code with SeedNodeMain --- .../src/main/java/bisq/statistics/StatisticsMain.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/statsnode/src/main/java/bisq/statistics/StatisticsMain.java b/statsnode/src/main/java/bisq/statistics/StatisticsMain.java index 58d070d96f..8a028099c3 100644 --- a/statsnode/src/main/java/bisq/statistics/StatisticsMain.java +++ b/statsnode/src/main/java/bisq/statistics/StatisticsMain.java @@ -32,7 +32,7 @@ import lombok.extern.slf4j.Slf4j; @Slf4j public class StatisticsMain extends ExecutableForAppWithP2p { - private static final String VERSION = "0.6.1"; + private static final String VERSION = "1.0.1"; private Statistics statistics; public StatisticsMain() { @@ -42,6 +42,7 @@ public class StatisticsMain extends ExecutableForAppWithP2p { public static void main(String[] args) throws Exception { log.info("Statistics.VERSION: " + VERSION); BisqEnvironment.setDefaultAppName("bisq_statistics"); + if (BisqExecutable.setupInitialOptionParser(args)) new StatisticsMain().execute(args); } @@ -50,12 +51,16 @@ public class StatisticsMain extends ExecutableForAppWithP2p { protected void doExecute(OptionSet options) { super.doExecute(options); - CommonSetup.setup(this); checkMemory(bisqEnvironment, this); + CommonSetup.setup(this); keepRunning(); } + @Override + protected void addCapabilities() { + } + @Override protected void launchApplication() { UserThread.execute(() -> {