-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Kernel version: Aion v0.3.0 - Mainnet - Moldoveanu Peak
Pool version: Master branch commit a214af4
Issue:
As described in issue #2, I am having the exact same problem with my installation. I am able to receive RPC calls by using curl and the result is a valid number.
Example: curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":74}' http://127.0.0.1:8545 returns 61.
However, when calling curl http://127.0.0.1:4000/api/pools on a completely fresh install (Ubuntu 16.04, kernel completely synced, pool software freshly built), this is the response:
{ "pools": [ { "id": "aion1", "coin": { "type": "AION" }, "ports": { "3333": { "listenAddress": "0.0.0.0", "difficulty": 1024.0, "varDiff": { "minDiff": 128.0, "maxDiff": 1E+24, "maxDelta": 500.0, "targetTime": 15.0, "retargetTime": 45.0, "variancePercent": 30.0 } } }, "paymentProcessing": { "enabled": true, "minimumPayment": 1.0, "payoutScheme": "PPLNS", "payoutSchemeConfig": { "factor": 2.0 }, "keepTransactionFees": false, "minimumConfirmations": 30, "nrgFee": 0.0001, "minimumPeerCount": 1 }, "clientConnectionTimeout": 600, "jobRebroadcastTimeout": 10, "blockRefreshInterval": 400, "poolFeePercent": 0.75, "address": "0xa0c5da302ca0aa2d6ab5dc7cc7fe024f1b7f1902e7a8ebeb7ff0dd4b6da10a77", "poolStats": { "connectedMiners": 0, "poolHashrate": 0.0, "sharesPerSecond": 0 }, "networkStats": { "networkHashrate": 1252575.7653, "networkDifficulty": 0.0, "lastNetworkBlockTime": "2018-08-24T10:19:40.199501Z", "blockHeight": 1005923, "connectedPeers": 0 }, "topMiners": [], "totalPaid": 0.0 } ] }
As you can see the connected peers and network difficulty values are 0.
Reinstalling the kernel did not help. I even tried doing the same process on Ubuntu 18.04, same result. Network difficulty and peer count are empty when using the pool's api, but return a valid value through a RPC call.
I can provide both my configuration files (kernel and pool) if needed.
Can someone please assist me, I would be very grateful. Thank you.