mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Sync up code with SeedNodeMain
This commit is contained in:
parent
a9466375f6
commit
1e991d1b6e
@ -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(() -> {
|
||||
|
Loading…
Reference in New Issue
Block a user