Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only stale shares mining to QT wallet or daemon? #174

Open
Ralph416 opened this issue Oct 24, 2022 · 2 comments
Open

Only stale shares mining to QT wallet or daemon? #174

Ralph416 opened this issue Oct 24, 2022 · 2 comments

Comments

@Ralph416
Copy link

Maybe people gave up on solo mining so this option is finished, but here goes anyway..

Trying to connect cpuminer using GR algo to either YERBAS or RTM wallet or daemon using RPC.
Will connect but whenever it hits a block cpuminer just writes "Skip stale share.", 100% of the time.

For days I've tried to tweak the wallet and daemon.. have following options on:

rpcuser={a user}
rpcpassword={a password}
rpcbind={a local 192.168 ip}
rpcallowip={local 192.168 ip from miners}
...
externalip={external IP & port to accept connections from outside}
daemon=1
server=1
listen=1
txindex=1
port={standard IP port for coin nodes}
rpcpost={port for miner}
onlynet=ipv4

followed by a bunch of "addnodes" to add connections.

have a bunch of outbound and inbound connections in the wallet, wallet fully synched, no apparent problems anywhere.

cpuminer-zen3 -a gr -o http://{local wallet IP}:{rpc port for miner} --userpass={user}:{pass} --coinbase-add={my address for coin} --no-stratum --no-tune --no-longpoll

It connects, appears to mine, but always 100% stale. Even tried reindexing. Nada.

If I ommit "--no-longpoll" it swamps the wallet & daemon and they freeze for many minutes stopping all mining or blockchain activities. I end up with a bucketload of JSON and RPC errors so apparently longpoll doesn't work.

Has anyone successfully got cpuminer to solo mine to either their wallet or daemon now? or ever?

@michal-zurkowski
Copy link
Collaborator

The miner does not have a proper logic to serve gbt for RTM, or any coin for that matter that has more coinbase transactions than just main mint.
Here it needs to put user wallet, smartnode wallet (possibly smartnode split wallet) and coin development funds wallet which it does not recognise.

@Ralph416
Copy link
Author

Ralph416 commented Oct 24, 2022 via email

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

No branches or pull requests

2 participants