Open ProtocolNebula opened 7 years ago
Hey,
Local network IP is what I used. I had that error as well at one point. I don't recall what caused it. Let me see if I can remember.
I think you need to use the option "--api-listen" when starting cgminer. I think that allows the API to be used. Try that, and report back.
Hi. Thanks, I guess it works now. The hash is everytime the same or is random generated? Cause I see is hardcoded (I don't know if is 00000000008141928bb3abbcee458dfe3ebab97fecfbbd2c8832e39a).
Great, Its hardcoded just for startup and testing purposes during the development(so it lights up). Once it contacts the pool and get information, it updates and changes to the current block colour.
Nice, thanks for reply. I have another doubt, how I know if it is working?
I only see this in python script:
Devices: 0 GPU, 0 FPGA, 0 ASIC 1 Pool(s) configured with strategy Failover Miner Status Uptime 22:42:13 / 1362 min (Net Blocks 159) Local / Work / Remote Speed: 0.00 / 0.00 / 0.00 MHash/s Get / Remote Failures / HW Errors: 11 / 0 / 0 Getwork / Local Work / Discarded: 2631 / 42248 / 42068 No Submited Shares Currently Block Status Block 0000000000c6e12b0824a8e110f324188732b06eb3d6f5463763d93c Algo sha256, Diff 922724699725.96276855 Received at 2017-09-06 16:58:25 (116 sec ago, Luck 17.58 %) Pool (Alive) stratum.solo.nicehash.com:3334 (18BFkkSEEYZRyNuWWMFTTujxjQQyYbVT57.Worker1), Prio 0, Stratum (Activated) Last share None, Diff 0.00 Get / Remote Failures: 11 / 0 Getwork / Discarded: 2631 / 42068 No Shares Submitted 0000000000c6e12b0824a8e110f324188732b06eb3d6f5463763d93c
Is this the normal reply?
Again thanks for helping :)
EDIT2: Script dont show anything apart of Press Ctrl-C to quit.
... (latest version from master)
Same problem, i'm using command: sudo cgminer --api-listen and i see:
[2017-12-23 21:02:58.863] Pool 0 difficulty changed to 2048
[2017-12-23 21:02:58.970] Probing for an alive pool
[2017-12-23 21:02:59.972] Network diff set to 1.87T
[2017-12-23 21:03:04.972] API bind to port 4028 failed - trying again in 30sec
[2017-12-23 21:03:31.176] Pool 0 difficulty changed to 409
[2017-12-23 21:03:31.177] Stratum from pool 0 requested work restart
[2017-12-23 21:03:34.972] API bind to port 4028 failed - trying again in 30sec
[2017-12-23 21:04:01.125] Pool 0 difficulty changed to 128
[2017-12-23 21:04:01.126] Stratum from pool 0 requested work restart
[2017-12-23 21:04:04.973] API bind to port 4028 failed - trying again in 30sec
[2017-12-23 21:04:34.973] API bind to port 4028 failed (Address already in use)
- API will not be available
[2017-12-23 21:05:42.917] Stratum from pool 0 detected new block at height 5007
34
Then i run BTClotto using: sudo python btclotty.py 192.168.1.132 And this doesn't give me any output. I've waiting for half an hour and nothing. What's wrong?
Hi. I followed http://www.idlehandsproject.com/raspberry-pi-bitcoin-lottery/ to install the lottery and after installed neopixel following https://learn.adafruit.com/neopixels-on-raspberry-pi/software, but when I start the script it show:
After 5 seconds the same again.
Cgminer is tecnically installed as sudo and in the same screen session (but other terminal).
I run the script with:
sudo python btclotto.py 127.0.0.1
(tried localhost and localnetwork ip`)```Whats I'm doing wrong?