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

pushpool not insert difficulty to shares table #54

Closed
saymissme opened this issue Feb 15, 2016 · 7 comments
Closed

pushpool not insert difficulty to shares table #54

saymissme opened this issue Feb 15, 2016 · 7 comments

Comments

@saymissme
Copy link

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

@electricintel
Copy link

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
Copy link

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

@saymissme
Copy link
Author

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

@electricintel
Copy link

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 notifications@github.com 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
#54 (comment).

@saymissme
Copy link
Author

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

@electricintel
Copy link

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 notifications@github.com 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
#54 (comment).

@jgarzik
Copy link
Owner

jgarzik commented Jul 12, 2016

closed - obsolete software - not actively supported or maintained.

@jgarzik jgarzik closed this as completed Jul 12, 2016
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