pushpool icon indicating copy to clipboard operation
pushpool copied to clipboard

pushpool not insert difficulty to shares table

Open saymissme opened this issue 10 years ago • 7 comments

i am running a pushpool for one coin and set "rpc.target.bits" : 32, in my server.json the working diff is 1. every thing is working fine

but pushpool insert sharelog to my mysql database without difficulty info i need more difficulty port

do you know hwo to fix it? @jgarzik @ahmedbodi @electricintel @girino

saymissme avatar Feb 15 '16 06:02 saymissme

http://bitcoin.stackexchange.com/questions/4303/how-to-setup-pushpool http://stackoverflow.com/questions/15573697/json-call-to-mysql-improperly-handling-variable There was a working pushpool json file in an earlier how to online, I'll see if I can find it.

electricintel avatar Feb 17 '16 12:02 electricintel

Try this new configuration: Terminal installation instructions! http://pastebin.com/YUYz0W5B

electricintel avatar Feb 17 '16 12:02 electricintel

thanks for your reply my pushpool is working fine the json config file is ok

i want use other config file and pid to running another diff port but not insert difficulty to shares table

i will try change code for support it thank you very much

saymissme avatar Feb 17 '16 14:02 saymissme

Send a copy of your pushpool and *.json and I'll help or fork it on Github and I can really help!

Philip

On Wed, Feb 17, 2016 at 8:18 AM, saymissme [email protected] wrote:

thanks for your reply my pushpool is working fine the json config file is ok

i want use other config file and pid to running another diff port but not insert difficulty to shares table

i will try change code for support it thank you very much

— Reply to this email directly or view it on GitHub https://github.com/jgarzik/pushpool/issues/54#issuecomment-185224325.

electricintel avatar Feb 17 '16 14:02 electricintel

thank you very much i was use this https://github.com/ArtForz/pushpool set json like this easy difficulty 1

`{
        "listen" : [.....],
    "database" : {
        "engine" : "mysql",
        ..................
        "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
        "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
    },
    .........................

    "rpc.target.bits" : 32,
}`

set easy difficulty to 2, like this "rpc.target.bits" : 33,

set easy difficulty to 4, like this "rpc.target.bits" : 34,

use those command to start different port difficulty and pid daemon

/pushpoold -E -F --config=1.json
/pushpoold -E -F --config=2.json
/pushpoold -E -F --config=4.json

but pushpool couldnt insert different to shares table need fix it

saymissme avatar Feb 18 '16 14:02 saymissme

I'm doing some software work for a client at the moment and won't be online much, but I'll send you what information that I can in my spare time.

Philip

On Thu, Feb 18, 2016 at 8:14 AM, saymissme [email protected] wrote:

thank you very much i was use this https://github.com/ArtForz/pushpool set json like this easy difficulty 1 { "listen" : [.....], "database" : { "engine" : "mysql", .................. "stmt.pwdb":"SELECTpasswordFROMpool_workerWHEREusername` = ?", "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)" }, .........................

"rpc.target.bits" : 32,

}`

set easy difficulty to 2, like this "rpc.target.bits" : 33,

set easy difficulty to 4, like this "rpc.target.bits" : 34,

use those command to start different port difficulty and pid daemon

/pushpoold -E -F --config=1.json /pushpoold -E -F --config=2.json /pushpoold -E -F --config=4.json

but pushpool couldnt insert different to shares table need fix it

— Reply to this email directly or view it on GitHub https://github.com/jgarzik/pushpool/issues/54#issuecomment-185739788.

electricintel avatar Feb 20 '16 16:02 electricintel

closed - obsolete software - not actively supported or maintained.

jgarzik avatar Jul 12 '16 21:07 jgarzik