Added ultracoin and chainStartTime to scrypt-jane coins. Added warning for if no pools are configured/enabled.

This commit is contained in:
Matt 2014-03-30 03:08:19 -06:00
parent c699e66a5d
commit da0bbd0b44
3 changed files with 13 additions and 0 deletions

7
coins/ultracoin.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "Ultracoin",
"symbol": "UTC",
"algorithm": "scrypt-jane",
"chainStartTime": 1388361600,
"txMessages": false
}

View File

@ -2,5 +2,6 @@
"name": "Yacoin",
"symbol": "YAC",
"algorithm": "scrypt-jane",
"chainStartTime": 1367991200,
"txMessages": false
}

View File

@ -104,6 +104,11 @@ var spawnPoolWorkers = function(portalConfig, poolConfigs){
}
});
if (Object.keys(poolConfigs).length === 0){
logger.warning('Master', 'PoolSpawner', 'No pool configs exists or are enabled in pool_configs folder. No pools spawned.');
return;
}
var serializedConfigs = JSON.stringify(poolConfigs);
var numForks = (function(){