UNOMP / unified-node-open-mining-portal

Development stopped and is now unsupported. The node.js version is being deprecated in October 2016.
GNU General Public License v2.0
347 stars 395 forks source link

I face the issue on payment in new litecoin-qt-0.17 #307

Closed salmanfarisk closed 4 years ago

salmanfarisk commented 4 years ago

I just setup UNOMP mining pool for litecoin. Almost everything work fine. But I face the issue in the payment section. My litecoin.json file is

 `{
 "enabled": true,

  "coin": "litecoin.json",

"auxes": [],
"address": "mxnnKiuHrAtVAQeqaVBvjpDawp2Asg7XFe",

"rewardRecipients": {
    "n37vuNFkXfk15uFnGoVyHZ6PYQxppD3QqK": 1.5,
    "22851477d63a085dbc2398c8430af1c09e7343f6": 0.1
},

"paymentProcessing": {
    "enabled": true,
    "paymentInterval": 5,
    "minimumPayment": 0.01,
    "daemon": {
        "host": "127.0.0.1",
        "port": 19443,
        "user": "litecoinrpc",
        "password": "randompassword"
    }
},

"ports": {
    "3008": {
        "diff": 8
    },
    "3032": {
        "diff": 32,
        "varDiff": {
            "minDiff": 8,
            "maxDiff": 512,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
    },
    "3256": {
        "diff": 256
    }
},

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 19443,
        "user": "litecoinrpc",
        "password": "wdYMsDT4E61jCv8xx6zZd6PYF3iZkjD7t3NpuiGpn6X"
    }
],

"p2p": {
    "enabled": false,
    "host": "127.0.0.1",
    "port": 19333,
    "disableTransactions": false
},

"mposMode": {
    "enabled": false,
    "host": "127.0.0.1",
    "port": 3306,
    "user": "me",
    "password": "mypass",
    "database": "ltc",
    "checkPassword": false,
    "autoCreateWorker": false
}

}` 

On console the error is

[2019-12-09 12:41:32.823] [FATAL] [default] - Payments litecoin Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":true,"address":"mxnnKiuHrAtVAQeqaVBvjpDawp2Asg7XFe","scriptPubKey":"76a914bd78785c3e1a30a357721291730a2418b28172a688ac","isscript":false,"iswitness":false}

But the address mxnnKiuHrAtVAQeqaVBvjpDawp2Asg7XFe is my own wallet address. Have any solution to fix it. Thanks

TheComputerGenie commented 4 years ago

Import your privkey into the daemon you're using for the pool. It's not enough that it's your address, the pool daemon must have the key in order to sign/send transactions.

salmanfarisk commented 4 years ago

@TheComputerGenie The address I mentioned (mxnnKiuHrAtVAQeqaVBvjpDawp2Asg7XFe) is my pool address. That is the address and private key are exist in the pool node wallet. I there any suggestion to fix it....??

TheComputerGenie commented 4 years ago

Parts of the validateaddress RPC method have been deprecated and moved to getaddressinfo. Clients must transition to using getaddressinfo to access this information before upgrading to v0.18. The following deprecated fields have moved to getaddressinfo and will only be shown with -deprecatedrpc=validateaddress: ismine, iswatchonly, script, hex, pubkeys, sigsrequired, pubkey, addresses, embedded, iscompressed, account, timestamp, hdkeypath, hdmasterkeyid.

seems you need to either add a param to the daemon or the stratum code needs to be updated to accommodate new Litecoin changes

salmanfarisk commented 4 years ago

No longer support needed. Thanks. Closing

hash3030 commented 3 years ago

How was this resolved? Thankyou