sero-cash / cminer

Cpu miner of sero (betanet)
GNU General Public License v3.0
16 stars 11 forks source link

cminer - RPC connectiion (getwork://) #1

Open n4kashu opened 5 years ago

n4kashu commented 5 years ago

Hey,

running latest gero, cminer (build from source, no exceptions during build of gero or cminer)

Gero with RPC enabled on 8888 and --metrics parameter, fully synced, build in miner works

cminer started as follows: ./cminer --cpu 48 -P getwork://127.0.0.1:8888 --report-hr --verbosity 255

it connects to RPC, loads coinbase, shows some work being submitted

attached console does not show HR, no block mined in 24 hours cminer reported HR ~3Mh/s 0 in attached console when running build in miner 1,7 in attached console

verbose log shows only serogetWork no shares/solutions submission, no HR submission log from cminer attached. cminer_log.txt

Please advise.

thank you!

gordon-sero commented 5 years ago

Hey,

running latest gero, cminer (build from source, no exceptions during build of gero or cminer)

Gero with RPC enabled on 8888 and --metrics parameter, fully synced, build in miner works

cminer started as follows: ./cminer --cpu 48 -P getwork://127.0.0.1:8888 --report-hr --verbosity 255

it connects to RPC, loads coinbase, shows some work being submitted

attached console does not show HR, no block mined in 24 hours cminer reported HR ~3Mh/s 0 in attached console when running build in miner 1,7 in attached console

verbose log shows only serogetWork no shares/solutions submission, no HR submission log from cminer attached. cminer_log.txt

Please advise.

thank you!

Hi n4kashu, could you send the node log to me, the email : gordon@sero.vip.

I'll analyze it.

And you could try to set the --cpu to logical-core-number - one, because of the network process need some CPU usage.

n4kashu commented 5 years ago

Hi Gordon,

It took quite along time until it did first submit of work, It can be bad luck.. very bad luck.. I will send you the logs anyway.. I have decreased the CPU to 46/48.. Only thing That bothers me now is the amount of uncles.. You will see in the logs 2/3 of blocks mined becomes uncles..

INFO [02-22|03:31:11.526] 🔨 mined potential block                  number=298955 hash=28e96b…772a5b
INFO [02-22|03:31:11.526] mined new block done in 8.472317538s, number = 298955, txs = 0
INFO [02-22|05:17:36.498] 🔨 mined potential block                  number=299448 hash=80049f…e83a51
INFO [02-22|05:17:36.498] mined new block done in 1.818992993s, number = 299448, txs = 0
INFO [02-22|09:46:10.252] 🔨 mined potential block                  number=300637 hash=754913…d47874
INFO [02-22|09:46:10.252] mined new block done in 12.028726539s, number = 300637, txs = 0
INFO [02-22|12:14:47.866] 🔨 mined potential block                  number=301310 hash=d96445…5ed808
INFO [02-22|12:14:47.866] mined new block done in 20.672972503s, number = 301310, txs = 0
INFO [02-22|12:43:13.396] 🔨 mined potential block                  number=301446 hash=2a18e9…05c177
INFO [02-22|12:43:13.396] mined new block done in 13.277429671s, number = 301446, txs = 0
INFO [02-22|13:45:07.771] 🔨 mined potential block                  number=301750 hash=3ef477…104081
INFO [02-22|13:45:07.771] mined new block done in 20.501720235s, number = 301750, txs = 0
INFO [02-22|16:31:59.583] 🔨 mined potential block                  number=302589 hash=a02d68…39aef3
INFO [02-22|16:31:59.583] mined new block done in 20.740435995s, number = 302589, txs = 0
INFO [02-22|19:18:25.567] 🔨 mined potential block                  number=303403 hash=a3ce6d…e205cc
INFO [02-22|19:18:25.567] mined new block done in 21.992579073s, number = 303403, txs = 0
INFO [02-22|20:43:53.094] 🔨 mined potential block                  number=303786 hash=2580c2…7ad461
INFO [02-22|20:43:53.095] mined new block done in 10.126471233s, number = 303786, txs = 0
root@ggg01:~/geropkg/log# cat gero_2019-02-21.log | grep fork
INFO [02-22|03:32:43.335] ⑂ block  became a side fork              number=298955 hash=28e96b…772a5b
INFO [02-22|12:15:57.682] ⑂ block  became a side fork              number=301310 hash=d96445…5ed808
INFO [02-22|12:43:59.058] ⑂ block  became a side fork              number=301446 hash=2a18e9…05c177
INFO [02-22|13:45:47.968] ⑂ block  became a side fork              number=301750 hash=3ef477…104081
INFO [02-22|16:32:49.466] ⑂ block  became a side fork              number=302589 hash=a02d68…39aef3
INFO [02-22|19:18:53.339] ⑂ block  became a side fork              number=303403 hash=a3ce6d…e205cc
n4kashu commented 5 years ago

the same situation is actually on sero pool, orphan rate is there above 30%..