log.error("App is already running. Please terminate the other instance or use a different directory (--dir=...)");
return;
}
int minPeersSupportingGetUTXO = 2; // Increase when the feature eventually rolls out to the network.
if (options.has("local-node") || params == RegTestParams.get()) {
kit.connectToLocalHost();
minPeersSupportingGetUTXO = 1; // Only local matters.
}
// Eventually take this out when getutxo is merged, released and people have upgraded.
kit.setBlockingStartup(true)
.setAutoSave(true)