I'm having trouble setting up NOMP
Here is output from node init.js
2014-08-07 05:40:57 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection)
limit was not raised
2014-08-07 05:40:57 [Master] [CLI] CLI listening on port 17117
2014-08-07 05:40:58 [Master] [PoolSpawner] Spawned 1 pool(s) on 2 thread(s)
2014-08-07 05:41:00 [Payments] [diamondcoin] Payment processing setup to run every 600 second(s) with daemon
(
[email protected]:17772) and redis (127.0.0.1:6379)
2014-08-07 05:41:00 [Payments] [diamondcoin] Finished interval - time spent: 17ms total, 5ms redis, 10ms daemon RPC
2014-08-07 05:41:00 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2014-08-07 05:41:00 [Pool] [diamondcoin] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2014-08-07 05:41:00 [Switching] [Setup] (Thread 1) Switching "switch1" listening for groestl on port 3333 into diamondcoin
2014-08-07 05:41:00 [Website] [Server] Website started on 127.0.0.1:8080
2014-08-07 05:41:00 [Stats] [Global] error with getting global stats [{},{}]
2014-08-07 05:41:00 [Stats] [Global] error getting all stats[{},{}]
2014-08-07 05:41:00 [Pool] [diamondcoin] (Thread 1) Stratum Pool Server Started for diamondcoin [DMD] {groestl}
2014-08-07 05:41:00 [Switching] [Setup] (groestl) Setting proxy difficulties after pool start
2014-08-07 05:41:00 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2014-08-07 05:41:00 [Pool] [diamondcoin] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2014-08-07 05:41:00 [Switching] [Setup] (Thread 2) Switching "switch1" listening for groestl on port 3333 into diamondcoin
2014-08-07 05:41:00 [Pool] [diamondcoin] (Thread 2) Stratum Pool Server Started for diamondcoin [DMD] {groestl}
2014-08-07 05:41:00 [Switching] [Setup] (groestl) Setting proxy difficulties after pool start
2014-08-07 05:41:30 [Pool] [diamondcoin] (Thread 1) Authorized dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg:x [10.42.0.99]
2014-08-07 05:41:55 [Pool] [diamondcoin] (Thread 1) No new blocks for 55 seconds - updating transactions &
rebroadcasting work
2014-08-07 05:41:55 [Pool] [diamondcoin] (Thread 2) No new blocks for 55 seconds - updating transactions &
rebroadcasting work
2014-08-07 05:41:58 [Stats] [Global] error with getting global stats [{},{}]
2014-08-07 05:41:58 [Stats] [Global] error getting all stats[{},{}]
2014-08-07 05:42:05 [Pool] [diamondcoin] (Thread 2) Block notification via RPC polling
2014-08-07 05:42:05 [Pool] [diamondcoin] (Thread 1) Block notification via RPC polling
2014-08-07 05:42:50 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/2.42240273 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:50 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:55 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/2.59897940 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:55 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:55 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/20.79394799 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:55 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:56 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.06624046 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:56 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:56 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/18.78279015 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:56 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:57 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.00480109 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:57 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:58 [Stats] [Global] error with getting global stats [{},{}]
2014-08-07 05:42:58 [Stats] [Global] error getting all stats[{},{}]
2014-08-07 05:42:59 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.63783715 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:59 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:00 [Pool] [diamondcoin] (Thread 1) No new blocks for 55 seconds - updating transactions &
rebroadcasting work
2014-08-07 05:43:00 [Pool] [diamondcoin] (Thread 2) No new blocks for 55 seconds - updating transactions &
rebroadcasting work
2014-08-07 05:43:00 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.37537113 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:00 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:00 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/2.09557893 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:00 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:04 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.46301492 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:04 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:05 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.25386032 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:05 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:06 [Pool] [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/156.97057046 by
dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:06 [Pool] [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
Here is config.json
{
"logLevel": "debug",
"logColors": true,
"cliPort": 17117,
"clustering": {
"enabled": true,
"forks": "auto"
},
"defaultPoolConfigs": {
"blockRefreshInterval": 1000,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"validateWorkerUsername": true,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
},
"redis": {
"host": "127.0.0.1",
"port": 6379
}
},
"website": {
"enabled": true,
"host": "127.0.0.1",
"port": 8080,
"stratumHost": "bogus.ddns.net",
"stats": {
"updateInterval": 60,
"historicalRetention": 43200,
"hashrateWindow": 300
},
"adminCenter": {
"enabled": true,
"password": "password1bogus"
}
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"switching": {
"switch1": {
"enabled": true,
"algorithm": "groestl",
"ports": {
"3333": {
"diff": 0.00390625,
"varDiff": {
"minDiff": 0.00390625,
"maxDiff": 4,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch2": {
"enabled": false,
"algorithm": "scrypt",
"ports": {
"4444": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch3": {
"enabled": false,
"algorithm": "x11",
"ports": {
"5555": {
"diff": 0.001,
"varDiff": {
"minDiff": 0.001,
"maxDiff": 1,
"targetTime": 15,
"retargetTime": 60,
"variancePercent": 30
}
}
}
}
},
"profitSwitch": {
"enabled": false,
"updateInterval": 600,
"depth": 0.90,
"usePoloniex": true,
"useCryptsy": true,
"useMintpal": true,
"useBittrex": true
}
}
Here is coins/diamondcoin.json
{
"name": "Diamondcoin",
"symbol": "DMD",
"algorithm": "groestl",
"txMessages": false,
"normalHashing" : true,
"peerMagic" : "e4e8dbfd",
"peerMagicTestnet" : "edf2c0ef"
}
Here is pool_configs/diamond.json
{
"enabled": true,
"coin": "diamondcoin.json",
"address": "dQKbYwJFpq9MDojuwE99D3MHihEkEW6aqk",
"rewardRecipients": {
"dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477,
"dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095
},
"paymentProcessing": {
"enabled": true,
"paymentInterval": 600,
"minimumPayment": 1,
"daemon": {
"host": "127.0.0.1",
"port": 17772,
"user": "bogususer",
"password": "boguspass"
}
},
"ports": {
"3333": {
"diff": 0.008,
"varDiff": {
"minDiff": 0.00390625,
"maxDiff": 8,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
},
"daemons": [
{
"host": "127.0.0.1",
"port": 17772,
"user": "bogususer",
"password": "boguspass"
}
],
"p2p": {
"enabled": false,
"host": "127.0.0.1",
"port": 17772,
"disableTransactions": true
},
"mposMode": {
"enabled": false,
"host": "127.0.0.1",
"port": 3306,
"user": "dmdpool",
"password": "boguspass",
"database": "dmd",
"checkPassword": true,
"autoCreateWorker": false
}
}