I tried to run pool. Use node-cryptonote-pool.
Got errors
Pool output, simpleminer use tcp connect
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message GET /json_rpc HTTP/1.1
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message Host: 127.0.0.1
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message Content-Length: 377
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message {
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "id": "0",
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "jsonrpc": "2.0",
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "method": "login",
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "params": {
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "agent": "simpleminer\/0.1",
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "hi": {
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "block_id": "0000000000000000000000000000000000000000000000000000000000000000",
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "height": 0
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message },
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "login": "1FUtZJ9Ao8qg1MiNa6RfRJKY4aFH885wD13Lf6U7xL4FS58f7i6CYL58s8dg2aV8maRzzaQG1c1kCTMDw8LKAEG5LQsW7M8",
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message "pass": "anypas"
2014-05-28 18:53:24 [Pool] (Thread 20) [TCP Server] Malformed message }
Pool output, simpleminer use http connect
2014-05-28 18:56:05 [Pool] (Thread 17) [TCP Server] Started server listening on port 7777
/root/pool/lib/pool.js:122
return cnUtil.convert_blob(this.buffer).toString('hex');
^
Error: Failed to parse block
at Object.BlockTemplate.nextBlob (/root/pool/lib/pool.js:122:16)
at Object.Miner.getJob (/root/pool/lib/pool.js:262:41)
at handleMinerMethod (/root/pool/lib/pool.js:483:28)
at IncomingMessage.
(/root/pool/lib/pool.js:733:17)
at IncomingMessage.EventEmitter.emit (events.js:92:17)
at _stream_readable.js:919:16
at process._tickCallback (node.js:419:13)
2014-05-28 18:56:06 [Master] [Pool Spawner] Fork 21 died, spawning replacement worker...
simpleminer output
2014-May-28 18:53:51.128792 Connecting 127.0.0.1:5555....
2014-May-28 18:53:51.129169 Connected 127.0.0.1:5555 OK
2014-May-28 18:54:11.129492 Failed to invoke http request to /json_rpc
2014-May-28 18:54:11.129597 Failed to invoke login 127.0.0.1:5555, disconnect and sleep....
2014-May-28 18:54:12.129739 Connecting 127.0.0.1:5555....
2014-May-28 18:54:12.130071 Connected 127.0.0.1:5555 OK
^B2014-May-28 18:54:32.130387 Failed to invoke http request to /json_rpc
2014-May-28 18:54:32.130485 Failed to invoke login 127.0.0.1:5555, disconnect and sleep....
Pool config.json
/pool# cat config.json
{
"coin": "boolberry",
"symbol": "BBR",
"logLevel": "debug",
"logColors": true,
"coinUnits": 1000000000000,
"poolHost": "79.135.200.61",
"irc": "irc.freenode.net/#monero",
"email": "
[email protected]",
"cryptonatorWidget": "num=2&base_0=Monero%20(MRO)&target_0=Bitcoin%20(BTC)&base_1=Monero%20(MRO)&target_1=US%20Dollar%20(USD)",
"easyminerDownload": "https://github.com/zone117x/cryptonote-easy-miner/releases/",
"simplewalletDownload": "http://bit.ly/monero-starter-pack",
"blockchainExplorer": "http://monerochain.info/block/",
"poolServer": {
"enabled": true,
"clusterForks": "auto",
"poolAddress": "1CNRq4Tt7NWLSSopq42FtigXr3KZfnxnbckNTkMyJUr1VKL68eB3vbw8p9XH7L3EuCKRrY25mmPcBBnWuNi9RMsWFCMZAgY",
"blockRefreshInterval": 1000,
"minerTimeout": 900,
"ports": [
{
"port": 5555,
"protocol": "tcp",
"difficulty": 200,
"desc": "Mid range CPUs"
},
{
"port": 7777,
"protocol": "tcp",
"difficulty": 2000,
"desc": "High end CPUs"
},
{
"port": 1111,
"protocol": "http",
"difficulty": 500,
"desc": "Old protocol"
}
],
"varDiff": {
"minDiff": 2,
"maxDiff": 10000,
"targetTime": 100,
"retargetTime": 30,
"variancePercent": 30,
"maxJump": 1000
},
"shareTrust": {
"enabled": true,
"min": 10,
"stepDown": 3,
"threshold": 10,
"penalty": 30
},
"longPolling": {
"enabled": true,
"timeout": 8500
},
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 25,
"checkThreshold": 30
}
},
"payments": {
"enabled": false,
"transferFee": 5000000000,
"interval": 30,
"poolFee": 2,
"depth": 60,
"maxAddresses": 50
},
"api": {
"enabled": false,
"hashrateWindow": 600,
"updateInterval": 3,
"port": 8117
},
"daemon": {
"host": "127.0.0.1",
"port": 10102
},
"wallet": {
"host": "127.0.0.1",
"port": 10101
},
"redis": {
"host": "127.0.0.1",
"port": 6379
}
}