blackmennewstyle / miningcore

Miningcore is a high-performance Mining Pool Software for Linux and Windows.
MIT License
17 stars 35 forks source link

unable to mine kaspa or kaspa fork using nicehash #75

Closed mamafunny closed 5 months ago

mamafunny commented 5 months ago

there is a problem with extranonce2 size

Pool host sg.poolkh.com resolved to IP 202.178.115.11... OK
Connecting to Stratum proxy for region: USA... OK
Selected mining algorithm: KHeavyHash... OK
Sending mining subscribe request... OK
Sending login information... OK
Pool Extranonce2 size is too low (provided=7, minimum=6)... Error
blackmennewstyle commented 5 months ago

The nicehash API, despite its weird statement, actually gave you the solution in its reply. It wants a lower extranonce, it's a good thing most families including KASPA allows the modification of the pool extranoncesize within the config.json. Everything is in the code.

mamafunny commented 5 months ago

thank you, tested. forget to check the code :D

mamafunny commented 5 months ago

tested fine, but seem like could find anyshare

{
            "id": "kaspa_pplns",
            "enabled": true,
            "coin": "kaspa",
            "address": "kaspa:xxxx",
            "rewardRecipients": [
                {
                    "type": "op",
                    "address": "kaspa:xxxx",
                    "percentage": 0.9
                }
            ],
            "extraNonce1Size": 10,
            "blockRefreshInterval": 1,
            "protobufWalletRpcServiceName": "kaspawalletd.kaspawalletd",
            "clientConnectionTimeout": 600,
mamafunny commented 5 months ago

fixed, thanks

blackmennewstyle commented 5 months ago

"blockRefreshInterval": 1, This is not necessary with my implementation of KAS.

mamafunny commented 5 months ago

"blockRefreshInterval": 1, This is not necessary with my implementation of KAS.

i need this to fetching my estimate block reward