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

BTC and NMC merged mining issues. #182

Open jeong760 opened 7 years ago

jeong760 commented 7 years ago

Dears,

I saw that in order to use a Bitcoin and Namecoin merged mining on uNOMP and after when I running a uNOMP it generates following error messages.

So how I can use a merged mining with BTC and NMC correctly?

The Namecoin client version is 13.0.0rc1, which supports a GBT

The bitcoin.json configuration file. { "enabled": true, "coin": "bitcoin.json",

"auxes": [
    {
        "coin": "namecoin.json",
        "daemons": [
            {
                "host": "127.0.0.1.",
                "port": 8336,
                "user": "gefreWRuHUNetaDraGaWAN6pUvasAvaD",
                "password": "2ruDr7fru5radRaZUCraca5HuswuphuC",
            }
        ]
    }
],

The error messages..

buffer.js:188 throw new TypeError('First argument needs to be a number, ' + ^ TypeError: First argument needs to be a number, array or string. at new Buffer (buffer.js:188:15) at Object.exports.uint256BufferFromHash (/home/linuxadm/unompsrv/node_modules/merged-pooler/lib/util.js:54:19) at /home/linuxadm/unompsrv/node_modules/merged-pooler/lib/pool.js:743:80 at itemFinished (/home/linuxadm/unompsrv/node_modules/merged-pooler/lib/daemon.js:156:36) at /home/linuxadm/unompsrv/node_modules/merged-pooler/lib/daemon.js:169:17 at parseJson (/home/linuxadm/unompsrv/node_modules/merged-pooler/lib/daemon.js:85:17) at IncomingMessage. (/home/linuxadm/unompsrv/node_modules/merged-pooler/lib/daemon.js:95:17) at IncomingMessage.emit (events.js:117:20) at _stream_readable.js:944:16 at process._tickCallback (node.js:458:13) [2017-05-28 22:23:53.697] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...

Regards, John Ahn

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/45654913-btc-and-nmc-merged-mining-issues?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github).
emoji-coin commented 7 years ago

i did mine like this

"auxes":
{ "coin": "namecoin.json", "daemons": [ { "host": "127.0.0.1", "port": 8336, "user": "namecoin", "password": "testpgfdhgfdhrfgthfghtass" } ] } ,

and got no errors

jeong760 commented 7 years ago

@emoji-coin,

Thank you. but this is kind of bug or merged-pooler does not recognition a specific version of namecoin daemon. because I use a 13.0.rc1 namecoin core .

so I think in order to solve this we should be change something on merged-pooler