We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b620189 commit dbf56c0Copy full SHA for dbf56c0
init.js
@@ -18,6 +18,10 @@ var algos = require('stratum-pool/lib/algoProperties.js');
18
19
JSON.minify = JSON.minify || require("node-json-minify");
20
21
+if (!fs.existsSync('config.json')) {
22
+ console.log('config.json file does not exist. Read the installation/setup instructions.');
23
+ process.exit(0);
24
+}
25
26
var portalConfig = JSON.parse(JSON.minify(fs.readFileSync("config.json", { encoding: 'utf8' })));
27
var poolConfigs;
0 commit comments