Author

Topic: Help, I have trouble configuring windows CoiniumServ pool. (Read 144 times)

newbie
Activity: 22
Merit: 0
Hi everyone, I'm having trouble setting up the CoiniumServ pool of windows 10! I downloaded the VS 2019 compilation source code, and this worked fine. Downloaded my SQL and Redis at the same time and configured them, which is no problem, and configured \ Debug \ config and \ config \ pools. Now I open the startup program and he starts up and runs normally. But I connected it with a mining machine and got the error when mining:
We thought a block was found but it was rejected by the coin daemon; [1ed53044ba9fe17e8be4329bc1efa525d863f11baf9aa2f1204581df04459885]-reason; Block decode failed
18:22:51 [Debug] [ShareManager] [bhcoin] Share accepted at 369.44 / 0.0002 by miner b9j6rSwXx3cK9vdBTwhCG1z3Hys1Np2Df5
18:22:51 [Debug] [ShareManager] [bhcoin] We thought a block was found but it was rejected by the coin daemon; [afa12036b2f8674ebc5f94d0143516c479ed7d7ec624e40cf528d162b0356036]-reason; Block decode failed
This error is always the same, as long as I connect the mining machine to the pool,


Here is my coin configuration:
C: \ Users \ Administrator \ AppData \ Roaming \ BTCoin \ BTcoin.conf
server = 1
rpcuser = lishuxxxxxx
rpcpassword = lixxxxx
rpcport = 9332
port = 9333
listen = 1
daemon = 1


rpcallowip = 127.0.0.1
rpcallowip = 192.168.1. *
rpcallowip = 192.168.137. *


addnode = 140.143.9.227
addnode = 58.213.48.118
addnode = 111.231.54.183
addnode = 122.152.222.134

\ config \ coins \ btcoin.json \
{
    "name": "btcoin",
    "symbol": "BTC",
    "algorithm": "scrypt",
    "site": "http://devcoin.org/",
}

\ config \ pools \ pool.json \
{
"enabled": true,
"coin": "bhcoin",
"daemon": {
"host": "127.0.0.1",
"port": 9332,
"username": "lishuxxxxxx",
"password": "lixxxxx"
},
"meta": {
        "motd": "Welcome to bit2pool, enjoy your stay!-http://www.bit2pool.com/",
        "txMessage": "http://www.bit2pool.com/"
     },
"wallet": {
        "address": "b9j6rSwXx3cK9vdBTwhCG1z3Hys1Np2Df5"
    },
"rewards": [
        {"ap8R6EsXHHnPugh9s3XNwvFJ8R6tqHT5Yf": 1}
    ],
"banning": {
        "enabled": true,
        "duration": 600,
        "invalidPercent": 50,
        "checkThreshold": 100,
        "purgeInterval": 300
    },
"payments": {
"enabled": true,
        "interval": 1800,
"minimum": 0.01
},
"miner": {
        "validateUsername": true,
        "timeout": 300
    },
    "job": {
        "blockRefreshInterval": 1000,
        "rebroadcastTimeout": 10
    },
"stratum": {
"enabled": true,
"bind": "0.0.0.0",
"port": 9388,
"diff": 0.0002,
        "vardiff": {
            "enabled": false,
            "minDiff": 0.0002,
            "maxDiff": 1,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 25
        }
},
"storage": {
        "hybrid": {
            "enabled": true,
"redis": {
"host": "127.0.0.1",
"port": 6379,
                "password": "abc",
                "databaseId": 0
},
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "root",
"password": "lishuxxx",
                "database": "li"
}
        },
        "mpos": {
            "enabled": false,
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "username",
"password": "password",
                "database": "db-name"
}
        }
},
"vanilla": {
"enabled": false,
"bind": "localhost",
"port": 2223
    }
}



Is it because of my problem with My SQL or Redis configuration? Huh
Thanks for any reply, I will appreciate it. Smiley
Jump to: