zone117x / node-stratum-pool

High performance Stratum poolserver in Node.js
GNU General Public License v2.0
419 stars 854 forks source link

digibyte myriad groestl algorithm error #152

Open liang55 opened 6 years ago

liang55 commented 6 years ago

how setup digibyte myriad groestl algorithm for POOL?

.digibyte/digibyte.config

rpcuser=digibyteuser
rpcpassword=digibytepassword
algo=groestl
rpcport=20102
port=21102

coins/digibyte.groestl.conf

{
    "name": "digibyte-groestl",
    "symbol": "DGB",
    "algorithm": "groestlmyriad"
}

changed things: 1.adds algoProperties.js to support myr-groestl

groestlmyriad: {
        //multiplier: Math.pow(2, 8),
        hash: function(){
            return function(){
                return multiHashing.groestlmyriad.apply(this, arguments);
            }
        }
 }

2.change node-stratum on jobManager.js

if (job.target.ge(headerBigNum)){
            blockHex = job.serializeBlock(headerBuffer, coinbaseBuffer).toString('hex');
            //blockHash = blockHasher(headerBuffer, nTime).toString('hex');
            if (options.coin.sha256DHeader) {
                blockHash = util.reverseBuffer(util.sha256d(headerBuffer, nTime)).toString('hex');
            }
            else {
                blockHash = blockHasher(headerBuffer, nTime).toString('hex');
            }
 }

but ,the miner does not work properly in the myr-gr algorithm. first of all, my 100GH computing power showed 200MH in the NOMP myr-gr algorithm, and then I did not find a new block for some day. does your myr-gr mine pool work properly, can you give your myr-gr pool address?

140

@trustfarm-dev

liang55 commented 6 years ago

my mgr-gr pool address http://outingman.com:8088/