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 396 forks source link

Help me please setup curecoin #165

Closed AndreyNag closed 7 years ago

AndreyNag commented 7 years ago

Hello. Please help set up for unomp curecoin mining. First. Here is my configs: `{ "enabled": true, "coin": "curecoin.json",

"auxes": [ // Defines auxillery coins
],
"address": "B5SSRB2baLqTA8B6smDRCbNAkw6AT5dSYK",

"rewardRecipients": {
    "BR9bc3iz8KAvyJb2jf997Dc7h62kTkSJ1j": 2
},

"paymentProcessing": {
    "enabled": true,
    "paymentInterval": 600,
    "minimumPayment": 0.001,
    "daemon": {
        "host": "127.0.0.1",
        "port": 18512,
        "user": "curecoinrpc",
        "password": "*******************"
    }
},

"ports": {
    "3334": {
        "diff": 1024,
        "varDiff": {
            "minDiff": 8,
            "maxDiff": 32000,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
    }
},

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 18512,
        "user": "curecoinrpc",
        "password": "**************"
    }
],

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

"mposMode": {
    "enabled": false,
    "host": "127.0.0.1",
    "port": 3306,

etc..... `

I checked the address: validateaddress B5SSRB2baLqTA8B6smDRCbNAkw6AT5dSYK { "isvalid" : true, "address" : "B5SSRB2baLqTA8B6smDRCbNAkw6AT5dSYK", "ismine" : true, "isscript" : false, "pubkey" : "03955b9786019f0e3c90481cc02c831f5b13d403c6f0de6b1810f2aa835fb22039", "iscompressed" : true, "account" : "" }

The part of node log:

.[36m[2017-02-05 16:34:21.598] [DEBUG] [default] - .[39mPool universal currency Thread 3 getting block notification via RPC polling
.[36m[2017-02-05 16:34:21.598] [DEBUG] [default] - .[39mPool universal currency Thread 4 getting block notification via RPC polling
.[36m[2017-02-05 16:34:21.598] [DEBUG] [default] - .[39mPool universal currency Thread 1 getting block notification via RPC polling
.[36m[2017-02-05 16:34:21.953] [DEBUG] [default] - .[39mPool universal currency Thread 2 getting block notification via RPC polling
.[36m[2017-02-05 16:34:24.482] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 10390.34451555/438431.75275552 by vigur.3 [178.34.226.206]
.[36m[2017-02-05 16:34:31.535] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 18029.28017411/18734.82555741 by PKW7CqCexBZVaPi6byfgVLeR3AUcSXJF1h [178.34.226.206]
.[36m[2017-02-05 16:34:31.640] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 7028.43454349/12859.92933363 by vigur.4 [178.34.226.206]
.[36m[2017-02-05 16:34:32.975] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 10390.34451555/11457.07491211 by vigur.3 [178.34.226.206]
.[36m[2017-02-05 16:34:34.174] [DEBUG] [default] - .[39mPool universal currency Thread 2 getting block notification via RPC polling
.[36m[2017-02-05 16:34:34.291] [DEBUG] [default] - .[39mPool universal currency Thread 3 getting block notification via RPC polling
.[36m[2017-02-05 16:34:34.323] [DEBUG] [default] - .[39mPool universal currency Thread 1 getting block notification via RPC polling
.[36m[2017-02-05 16:34:34.415] [DEBUG] [default] - .[39mPool universal currency Thread 4 getting block notification via RPC polling
.[36m[2017-02-05 16:34:38.739] [DEBUG] [default] - .[39mPool curecoin Thread 2 No new blocks for 55 seconds - updating transactions & rebroadcasting work
.[36m[2017-02-05 16:34:38.742] [DEBUG] [default] - .[39mPool curecoin Thread 1 No new blocks for 55 seconds - updating transactions & rebroadcasting work
.[36m[2017-02-05 16:34:38.750] [DEBUG] [default] - .[39mPool curecoin Thread 4 No new blocks for 55 seconds - updating transactions & rebroadcasting work
.[36m[2017-02-05 16:34:38.751] [DEBUG] [default] - .[39mPool curecoin Thread 3 No new blocks for 55 seconds - updating transactions & rebroadcasting work
.[36m[2017-02-05 16:34:39.132] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 18029.28017411/47136.90643291 by PKW7CqCexBZVaPi6byfgVLeR3AUcSXJF1h [178.34.226.206]
.[36m[2017-02-05 16:34:40.803] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 7028.43454349/11510.65166513 by vigur.4 [178.34.226.206]
.[36m[2017-02-05 16:34:45.759] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 3737.48893232/9895.80801886 by vigur.1 [178.34.226.206]
.[36m[2017-02-05 16:34:48.989] [DEBUG] [default] - .[39mPool universal currency Thread 2 getting block notification via RPC polling
.[36m[2017-02-05 16:34:49.143] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 13230.61646358/18934.34210712 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:34:49.350] [DEBUG] [default] - .[39mPool universal currency Thread 3 getting block notification via RPC polling
.[36m[2017-02-05 16:34:49.350] [DEBUG] [default] - .[39mPool universal currency Thread 1 getting block notification via RPC polling
.[36m[2017-02-05 16:34:49.435] [DEBUG] [default] - .[39mPool universal currency Thread 4 getting block notification via RPC polling
.[36m[2017-02-05 16:34:51.835] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/33147.39535556 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:34:52.925] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/106024.88406134 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:34:53.102] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 13230.61646358/15315.82538430 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:35:00.127] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/65559.36077137 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:35:01.234] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 2044.378542/3747.39747545 by vigur.2 [178.34.226.206]
.[36m[2017-02-05 16:35:01.842] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/36923.85284066 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:35:01.909] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 2044.378542/2431.97974367 by vigur.2 [178.34.226.206]
.[36m[2017-02-05 16:35:02.194] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 18029.28017411/64526.72525072 by PKW7CqCexBZVaPi6byfgVLeR3AUcSXJF1h [178.34.226.206]
.[36m[2017-02-05 16:35:02.200] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 7028.43454349/18687.01611898 by vigur.4 [178.34.226.206]
.[36m[2017-02-05 16:35:03.416] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 10390.34451555/12044.14766525 by vigur.3 [178.34.226.206]
.[36m[2017-02-05 16:35:06.101] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 2044.378542/3496.32675851 by vigur.2 [178.34.226.206]
.[36m[2017-02-05 16:35:07.420] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 3737.48893232/284290.08697505 by vigur.1 [178.34.226.206]
.[36m[2017-02-05 16:35:08.768] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 7028.43454349/7292.14844349 by vigur.4 [178.34.226.206]
.[36m[2017-02-05 16:35:09.173] [DEBUG] [default] - .[39mPool curecoin Thread 4 Share accepted at diff 6019.1405914/20292.30517320 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.172.177.169]
.[36m[2017-02-05 16:35:12.645] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 7028.43454349/65174.65135784 by vigur.4 [178.34.226.206]
.[36m[2017-02-05 16:35:14.478] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 3737.48893232/12062.07303494 by vigur.1 [178.34.226.206]
.[36m[2017-02-05 16:35:15.223] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 2044.378542/4597.88000523 by vigur.2 [178.34.226.206]
.[36m[2017-02-05 16:35:16.441] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 18029.28017411/174052.67441876 by PKW7CqCexBZVaPi6byfgVLeR3AUcSXJF1h [178.34.226.206]
.[36m[2017-02-05 16:35:18.123] [DEBUG] [default] - .[39mPool curecoin Thread 4 Share accepted at diff 6019.1405914/7165.94928308 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.172.177.169]
.[36m[2017-02-05 16:35:19.037] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 2044.378542/2637.98211148 by vigur.2 [178.34.226.206]
.[36m[2017-02-05 16:35:19.611] [DEBUG] [default] - .[39mPool universal currency Thread 4 Share accepted at diff 10390.34451555/32726.31685826 by vigur.3 [178.34.226.206]
.[36m[2017-02-05 16:35:21.474] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/35091.97751978 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:35:22.326] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 18029.28017411/41328.89076878 by PKW7CqCexBZVaPi6byfgVLeR3AUcSXJF1h [178.34.226.206]
.[36m[2017-02-05 16:35:22.492] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/1055813.66156197 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:35:25.041] [DEBUG] [default] - .[39mPool universal currency Thread 2 getting block notification via RPC polling
.[36m[2017-02-05 16:35:25.358] [DEBUG] [default] - .[39mPool universal currency Thread 3 getting block notification via RPC polling
.[36m[2017-02-05 16:35:25.391] [DEBUG] [default] - .[39mPool universal currency Thread 1 getting block notification via RPC polling
.[36m[2017-02-05 16:35:25.482] [DEBUG] [default] - .[39mPool universal currency Thread 4 getting block notification via RPC polling
.[36m[2017-02-05 16:35:26.306] [DEBUG] [default] - .[39mPool universal currency Thread 1 Share accepted at diff 18029.28017411/27620.70384324 by PKW7CqCexBZVaPi6byfgVLeR3AUcSXJF1h [178.34.226.206]
.[36m[2017-02-05 16:35:26.513] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 32000/41822.88438034 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.173.165.97]
.[36m[2017-02-05 16:35:27.775] [DEBUG] [default] - .[39mPool curecoin Thread 4 Share accepted at diff 6019.1405914/7189.25838405 by BTDr1L3d5jnwuXNUadkuuYHkHd5FnXPjHX [85.172.177.169]

Second. Number of shares on pool didn't compare with summ of shares of workers. And how i can reset this counter? You can see the site live: http://happy.mine.nu/ Thank you for attention.

Infernoman commented 7 years ago

It looks like shares are being accepted to the pool correctly? the website shows number of shares submitted, not including their difficulty. the higher the difficulty the high number of level 1 shares there are. the pool's payments are calculated from level 1 shares.

AndreyNag commented 7 years ago

I have three coins on my pool. There are all of coins setup are same. But one of there have not payment. I need help to find out why. Universal Currency (UNIT) are mining many blocks perfectly. Curecoin (CURE) have mine no one. You can look at the pool how mach shares was find all my miners. Other pool with the same power find a block about one-two hours. Tell me please where are i have to watch to find out any error in my confuration. Thanks.

Infernoman commented 7 years ago

watch the debug.log of curecoin to see if the pool is trying to submit any blocks first that should give you an idea of whats going on. let me know what you can find, and i can try to assist with this issue.

AndreyNag commented 7 years ago

Thank you for attention. In the polls log i have find payments message. Payment message from UniversalCurrency (UNIT) have been with amount of operation, but same message from curecoin all time have been empty. I attache three file with full log to analize.

https://yadi.sk/i/0KzpWb4U3D4vJE - logs from unomp https://yadi.sk/i/MeVhlQKI3D4vLx - curecoin debug.log https://yadi.sk/i/PndmnjcC3D4vMT - unitcoin debug.log

Thank you one more time. :+1

Infernoman commented 7 years ago

you were still downloading blocks at the time you were running the pool. have you tried to run it again recently?

AndreyNag commented 7 years ago

Thank you s attention. For some reason I was sure that the chain is fully downloaded. I`m installing now the pool on a clean system for the experiment.

Infernoman commented 7 years ago

alright no problem at all ! if everything was up to date and your able to verify that i'll continue digging deeper :)

AndreyNag commented 7 years ago

Thank you one more time. I moved site from port 80 and 88 to 8080, waited full download block-chain and site are working. You can see my multi-coin site http://happy.mine.nu. Now I plan to setup merged mining.

Two more question: is it normal in the log? First:

[36m[2017-02-12 12:57:50.727] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 10241.58049082/12233.77173726 by BA9b77g4jde11gyRuqFswQ6KMKnvezAi8R [85.173.хх.хх]
[36m[2017-02-12 12:57:50.866] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 10241.58049082/23738.55544911 by BA9b77g4jde11gyRuqFswQ6KMKnvezAi8R [85.173.хх.хх]
[36m[2017-02-12 12:57:53.481] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 10241.58049082/256628.96414863 by BA9b77g4jde11gyRuqFswQ6KMKnvezAi8R [85.173.хх.хх]
[36m[2017-02-12 12:57:58.121] [DEBUG] [default] - .[39mPool curecoin Thread 3 Share accepted at diff 19991.82425134/51180.86244514 by BA9b77g4jde11gyRuqFswQ6KMKnvezAi8R [85.173.хх.хх]

What do you think, will be the result? Second: what coin pair can merged mining by unomp?

Infernoman commented 7 years ago

It looks to be accepting shares okay :) let me know if blocks get accepted and i will consider this issue closed :) Also Crown is a good up and coming merged mining coin. You can also check out Namecoin, Unobtanium, Ixcoin or Myriadcoin

AndreyNag commented 7 years ago

Thank you very much for coin list. Could you tell me about front-end for merged mining unomp-pool? php-mpos does not support merged-mining pool.