z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
290 stars 440 forks source link

Zcash demon problem #193

Closed ghost closed 7 years ago

ghost commented 7 years ago

node_redis: Warning: Redis server does not require a password, but a password was supplied. 2017-09-01 13:30:26 [Payments] [zcash] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false} 2017-09-01 13:30:26 [Payments] [zcash] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false} 2017-09-01 13:30:26 [Payments] [zcash] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false} 2017-09-01 13:30:26 [Website] [zcash] Could not dumpprivkey for zcash {"code":-5,"message":"Invalid Zcash address"} 2017-09-01 13:30:26 [Switching] [Setup] (Thread 1) Loading last proxy state from redis node_redis: Deprecated: The AUTH command contains a "undefined" argument. This is converted to a "undefined" string now and will return an error from v.3.0 on. Please handle this in your code to make sure everything works as you intended it to. node_redis: Warning: Redis server does not require a password, but a password was supplied. 2017-09-01 13:30:26 [Pool] [zcash] (Thread 1) Share processing setup with redis (127.0.0.1:6379) node_redis: Warning: Redis server does not require a password, but a password was supplied. 2017-09-01 13:30:26 [Pool] [zcash] (Thread 1) Daemon reports address is not valid 2017-09-01 13:30:26 [Switching] [Setup] (Thread 2) Loading last proxy state from redis node_redis: Deprecated: The AUTH command contains a "undefined" argument. This is converted to a "undefined" string now and will return an error from v.3.0 on. Please handle this in your code to make sure everything works as you intended it to. node_redis: Warning: Redis server does not require a password, but a password was supplied. 2017-09-01 13:30:26 [Pool] [zcash] (Thread 2) Share processing setup with redis (127.0.0.1:6379) node_redis: Warning: Redis server does not require a password, but a password was supplied. 2017-09-01 13:30:26 [Pool] [zcash] (Thread 2) Daemon reports address is not valid

sennevb commented 7 years ago

check your adresses in your config, they dont match you local wallet, as stated above: Daemon does not own pool address

ghost commented 7 years ago

daemon=1 rpcuser=zclassicrpc rpcpassword=securepassword rpcport=8232

"paymentProcessing": { "minConf": 10, "enabled": true, "paymentMode": "prop", "_comment_paymentMode":"prop, pplnt", "paymentInterval": 20, "minimumPayment": 0.1, "maxBlocksPerPayment": 3, "daemon": { "host": "127.0.0.1", "port": 8232, "user": "zclassicrpc", "password": "securepassword" } },

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

"ports": {
    "3032": {
        "diff": 0.05,
        "tls": false,

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 8232,
        "user": "zclassicrpc",
        "password": "securepassword"
    }
],

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

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

}

sennevb commented 7 years ago

i mean the json inside pool_configs..

ghost commented 7 years ago

is zcash.json

ghost commented 7 years ago

This is my config`{ "enabled": true, "coin": "zcash.json",

"address": "",
"_comment_address": "zcKZHVLpAQrRmoo83C3qiSbbJpEYnTHUnRUXS4udrMkZ4MUMAUjcZodgrUor4HtX3EAZa3ReTH1Y3hnm8gGeY3ZNwyQ6isy",

"zAddress": "",
"_comment_zAddress": "t1NDTNezG4VCHWqKMC6CS3heXsaVEcKp4wU",

"tAddress": "",
"_comment_tAddress": "zcEsunXprvwjJ9395knNZW6WvyooU7hzm4Ep4Xhz8v78EC2isZBGsom9A1c9x3GF13yPrkJNTVAjw5kcBKeSEkLj9yAZZgK",

"walletInterval": 2.5,

"rewardRecipients": {
    "": 0.2,
    "": 0.3
},

"paymentProcessing": {
"minConf": 10,
    "enabled": true,
    "paymentMode": "prop",
    "_comment_paymentMode":"prop, pplnt",
    "paymentInterval": 20,
    "minimumPayment": 0.1,
    "maxBlocksPerPayment": 3,
    "daemon": {
        "host": "127.0.0.1",
        "port": 8232,
        "user": "zclassicrpc",
        "password": "securepassword"
    }
},

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

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

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 8232,
        "user": "zclassicrpc",
        "password": "securepassword"
    }
],

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

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

} `

sennevb commented 7 years ago

you put a private address in place of a transparent address and vice versa..

Please check your addresses in your config

ghost commented 7 years ago

The rest of the configuration is OK?

How does the demon begin?

Thank you very much for your help!

sennevb commented 7 years ago

if your addresses are right the deamon should start :-)

ghost commented 7 years ago

my old pool is chrc.mine-pool.ro and croat.mine-pool.ro (Cryptonight) This is the first time you set up this pool Zcash

Starting the demon at command ./zcashd ?

sennevb commented 7 years ago

Payments] [zcash] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false} ==> i wonder how you validated address if you didnt start your deamon yet??

ghost commented 7 years ago

Lansarea demonului la comanda ./zcashd?

ghost commented 7 years ago

Starting the demon at command ./zcashd ?

sennevb commented 7 years ago

yes

ghost commented 7 years ago

New config

`{ "enabled": true, "coin": "zcash.json",

"address": "",
"_comment_address": "t1RV7PMnBeF3u4zD6uzkrEry6bc5YZqjPEv",

"zAddress": "",
"_comment_zAddress": "zceCZTvYPpYCBWQLxuak3u4jZQDEwHZGZ1pTe1pVeeo5AweU4k9LCChBC6uUoHAcydwBJPucPw6K9gMSHzmb8FuMuuP1gjj",

"tAddress": "",
"_comment_tAddress": "t1Pw9BAYfMu3YvpVH2kkVvXjEJFNjGSpByk",

"walletInterval": 2.5,

"rewardRecipients": {
    "": 0.2,
    "": 0.3
},

"paymentProcessing": {
"minConf": 10,
    "enabled": true,
    "paymentMode": "prop",
    "_comment_paymentMode":"prop, pplnt",
    "paymentInterval": 20,
    "minimumPayment": 0.1,
    "maxBlocksPerPayment": 3,
    "daemon": {
        "host": "127.0.0.1",
        "port": 19332,
        "user": "testuser",
        "password": "testpass"
    }
},

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

"ports": {
    "3032": {
        "diff": 0.05,
        "tls": true,
        "varDiff": {
            "minDiff": 0.04,
            "maxDiff": 16,
            "targetTime": 15,
            "retargetTime": 60,
            "variancePercent": 30
        }
    }
},

"daemons": [
    {
        "host": "127.0.0.1",
        "port": 8232,
        "user": "zclassicrpc",
        "password": "securepassword"
    }
],

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

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

} `

ghost commented 7 years ago

and this error

017-09-01 18:24:06 [Pool] [zcash] (Thread 2) Daemon reports address is not valid 2017-09-01 18:25:02 [Payments] [zcash] Error with RPC call z_getoperationstatus {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:25:03 [Payments] [zcash] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:25:59 [Payments] [zcash] Error with RPC call z_getoperationstatus {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:01 [Payments] [zcash] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:05 [Payments] [zcash] Error with RPC call listunspent {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:56 [Payments] [zcash] Error with RPC call z_getoperationstatus {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:59 [Payments] [zcash] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"}

ghost commented 7 years ago

017-09-01 18:24:06 [Pool] [zcash] (Thread 2) Daemon reports address is not valid 2017-09-01 18:25:02 [Payments] [zcash] Error with RPC call z_getoperationstatus {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:25:03 [Payments] [zcash] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:25:59 [Payments] [zcash] Error with RPC call z_getoperationstatus {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:01 [Payments] [zcash] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:05 [Payments] [zcash] Error with RPC call listunspent {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:56 [Payments] [zcash] Error with RPC call z_getoperationstatus {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"} 2017-09-01 18:26:59 [Payments] [zcash] Error with RPC call getmininginfo {"type":"offline","message":"connect ECONNREFUSED 127.0.0.1:19332"}

ghost commented 7 years ago

http://185.177.59.30/stats

ghost commented 7 years ago

"paymentProcessing": { "minConf": 10, "enabled": true, "paymentMode": "prop", "_comment_paymentMode":"prop, pplnt", "paymentInterval": 20, "minimumPayment": 0.1, "maxBlocksPerPayment": 3, "daemon": { "host": "127.0.0.1", "port": 19332, "user": "testuser", "password": "testpass"

this erorr is frome? this

sennevb commented 7 years ago

deamon is not started or yo uare connecting to wrong deamon..

This is not a chat box, if you need help move over to the z-nomp gitter

TheComputerGenie commented 7 years ago

Change:

"rewardRecipients": {
    "": 0.2,
    "": 0.3
},

to:

"rewardRecipients": {
},