Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

When starting the NOMP pool I get this error #369

Open
mzliyuping opened this issue Aug 14, 2018 · 2 comments
Open

When starting the NOMP pool I get this error #369

mzliyuping opened this issue Aug 14, 2018 · 2 comments

Comments

@mzliyuping
Copy link

When starting the NOMP pool I get this error
(Thread 2) rpc error with daemon instance 0 when submitting block with submitblock {"code":-22,"message":"Block decode failed"}
and here is my hush.json
config.json

{
"logLevel": "debug",
"logColors": true,

"cliPort": 17117,

"clustering": {
    "enabled": true,
    "forks": "auto"
},

"defaultPoolConfigs": {
    "blockRefreshInterval": 500,
    "jobRebroadcastTimeout": 55,
    "connectionTimeout": 600,
    "emitInvalidBlockHashes": false,
    "validateWorkerUsername": true,
    "tcpProxyProtocol": false,
    "banning": {
        "enabled": true,
        "time": 600,
        "invalidPercent": 50,
        "checkThreshold": 500,
        "purgeInterval": 300
    },
    "redis": {
        "host": "127.0.0.1",
        "port": 6379,
        "password": ""
    }
},

"website": {
    "enabled": true,
    "host": "0.0.0.0",
    "port": 9090,
    "stratumHost": "",
    "stats": {
        "updateInterval": 30,
        "historicalRetention": 14400,
        "hashrateWindow": 300
    },
    "adminCenter": {
        "enabled": false,
        "password": "password"
    },
    "tlsOptions" : {
        "enabled": false,
        "cert": "",
        "key": ""
    }
},

"redis": {
    "host": "127.0.0.1",
    "port": 6379
},

"switching": {
    "switch1": {
        "enabled": false,
        "algorithm": "sha256",
        "ports": {
            "3333": {
                "diff": 10,
                "varDiff": {
                    "minDiff": 16,
                    "maxDiff": 512,
                    "targetTime": 15,
                    "retargetTime": 90,
                    "variancePercent": 30
                }
            }
        }
    },
    "switch2": {
        "enabled": false,
        "algorithm": "scrypt",
        "ports": {
            "4444": {
                "diff": 10,
                "varDiff": {
                    "minDiff": 16,
                    "maxDiff": 512,
                    "targetTime": 15,
                    "retargetTime": 90,
                    "variancePercent": 30
                }
            }
        }
    },
    "switch3": {
        "enabled": false,
        "algorithm": "x11",
        "ports": {
            "5555": {
                "diff": 0.001,
                "varDiff": {
                    "minDiff": 0.001,
                    "maxDiff": 1,
                    "targetTime": 15,
                    "retargetTime": 60,
                    "variancePercent": 30
                }
            }
        }
    }
},

"profitSwitch": {
    "enabled": false,
    "updateInterval": 600,
    "depth": 0.90,
    "usePoloniex": true,
    "useCryptsy": true,
    "useMintpal": true,
    "useBittrex": true
}

}

pool_configs/hush.json

{
"enabled": true,
"coin": "hush.json",

"address": "t1e2uMpFBXkVfHmPGLhTSUDbxrS7fquAb5s",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",

"zAddress": "zcNsgp3ZMR2XcL7zMbzpKdE3ssBp8w63AJn2NpY5NTGhVQyx7sD3RoLr8FmUtkVxhSi2LMQcMKn5WufBFi8BNsstRkE9n1r",
"_comment_zAddress": "a private address used to send coins to tAddress.",

"tAddress": "t1dVpn4Bv8Fratei3SRnN4hSdHGjCZMEW1C",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",

"invalidAddress":"t1erpZswMMDNiodzKxe4p5Lv5js8H9HeSG4",
"_comment_invalidAddress": "Invalid addresses will be converted to the above",

 "walletInterval": 2.5,

"rewardRecipients": {
    "t1NsggwekmY96KkjDHLrb1huPYUWnUELZni": 0.2
},

"paymentProcessing": {
"minConf": 10,
    "enabled": true,
    "paymentMode": "prop",
    "_comment_paymentMode":"prop, pplnt",
    "paymentInterval": 120,
    "minimumPayment": 0.1,
    "maxBlocksPerPayment": 3,
    "daemon": {
        "host": "127.0.0.1",
        "port": 9630,
        "user": "chyunet",
        "password": "MMDNiodzKx"
    }
},

"tlsOptions": {
    "enabled": false,
    "serverKey":"",
    "serverCert":"",
    "ca":""
},

"ports": {
    "3032": {
        "diff": 30,
        "tls": false,
        "varDiff": {
            "minDiff": 0.04,
            "maxDiff": 30000,
            "targetTime": 15,
            "retargetTime": 60,
            "variancePercent": 30
        }
    }
},

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 9630,
        "user": "chyunet",
        "password": "MMDNiodzKx"
    }
],

"p2p": {
    "enabled": true,
    "host": "127.0.0.1",
    "port": 8888,
    "disableTransactions": true
},

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

}

coins/hush.json

{
"name": "hush",
"symbol": "hush",
"algorithm": "equihash",
"requireShielding": true,
"payFoundersReward": false,
"txfee": 0.0004
}

@alforro
Copy link

alforro commented Aug 23, 2018

I have the same issue

@tarrenj
Copy link

tarrenj commented Aug 27, 2018

This isn't really being maintained over here anymore (AFAIK). You'll have better success over here: https://github.com/s-nomp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants