Added ultracoin and chainStartTime to scrypt-jane coins. Added warning for if no pools are configured/enabled.
This commit is contained in:
parent
c699e66a5d
commit
da0bbd0b44
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"name": "Ultracoin",
|
||||||
|
"symbol": "UTC",
|
||||||
|
"algorithm": "scrypt-jane",
|
||||||
|
"chainStartTime": 1388361600,
|
||||||
|
"txMessages": false
|
||||||
|
}
|
|
@ -2,5 +2,6 @@
|
||||||
"name": "Yacoin",
|
"name": "Yacoin",
|
||||||
"symbol": "YAC",
|
"symbol": "YAC",
|
||||||
"algorithm": "scrypt-jane",
|
"algorithm": "scrypt-jane",
|
||||||
|
"chainStartTime": 1367991200,
|
||||||
"txMessages": false
|
"txMessages": false
|
||||||
}
|
}
|
5
init.js
5
init.js
|
@ -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 serializedConfigs = JSON.stringify(poolConfigs);
|
||||||
|
|
||||||
var numForks = (function(){
|
var numForks = (function(){
|
||||||
|
|
Loading…
Reference in New Issue