aionnetwork/aion_pool2

Shares not getting "Confirmed"

Closed this issue · 5 comments

I've cloned this pool and have set it up on a Ubuntu 16.04 machine. The pool is connected to a Kernel and a miner is connected to it.

The miner is submitting shares that are getting accepted by the Daemon but are never confirmed and are not showing up on under the "Last Mined Blocks" on the pool's home page.

When I log into the pool database and look at the blocks table, I see that the "status" of the most recent blocks is "pending" but "orphaned" for all of the other remaining blocks. None of the are confirmed.

Pool hashrate is also stuck at 0 and is not being updated, this is probably because no blocks have been properly mined yet as explained here

No errors are logged by the mining pool either!

Does anyone know what is causing this problem?

What network are you connecting to? a private network?

based on the Status information, it sounds like the pool is not able to query the Kernel for block confirmations. Is the API on kernel configured with net?

Pool calculates hashrate based on how often it confirms blocks, so with no confirmation, there isn't any hashpower calculatioin. You can look at the individual miner hashrate.

net is added in the enable APIs here

<apis-enabled>web3,eth,personal,stratum,ops,net</apis-enabled>

and is using the default configuration

            <id>256</id>
            <nodes>
                    <node>p2p://c33d1066-8c7e-496c-9c4e-c89318280274@13.92.155.115:30303</node>
                    <node>p2p://c33d2207-729a-4584-86f1-e19ab97cf9ce@51.144.42.220:30303</node>
                    <node>p2p://c33d302f-216b-47d4-ac44-5d8181b56e7e@52.231.187.227:30303</node>
                    <node>p2p://c33d4c07-6a29-4ca6-8b06-b2781ba7f9bf@191.232.164.119:30303</node>
                    <node>p2p://c33d5a94-20d8-49d9-97d6-284f88da5c21@13.89.244.125:30303</node>
                    <node>p2p://741b979e-6a06-493a-a1f2-693cafd37083@66.207.217.190:30303</node>
            </nodes>
            <p2p>
                    <ip>0.0.0.0</ip>
                    <port>30304</port>
                    <discover>false</discover>
                    <max-temp-nodes>128</max-temp-nodes>
                    <max-active-nodes>128</max-active-nodes>
            </p2p>

I don't know what each element is supposed to represent. What is their relationship to the kernel?

@sbayegan,

Any news on your side regarding this problem? It seems like a connection issue either from the pool side to the kernel, or from the kernel to other peers.

Thanks! Can you close this ticket?