jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 11:53:18 AM |
|
When I load pyminer on my laptop and raspberry it returns many errors. Pyminer was a getwork program, coded in python, by one of the founders of bitcoins. www.github.com/jgarzik/pyminer
|
|
|
|
deltalima
Newbie
Offline
Activity: 41
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 06:31:24 PM |
|
When I load pyminer on my laptop and raspberry it returns many errors. Pyminer was a getwork program, coded in python, by one of the founders of bitcoins. www.github.com/jgarzik/pyminer What are the errors? Do you have bitcoind running on the host? (as the default config file attempts to connect locally to 127.0.0.1)
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 07:29:33 PM |
|
Is bitcoind the program that is installed along with bitcoin core and is that the one that is used for mining?
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 07:31:00 PM |
|
When I load pyminer on my laptop and raspberry it returns many errors. Pyminer was a getwork program, coded in python, by one of the founders of bitcoins. www.github.com/jgarzik/pyminer What are the errors? Do you have bitcoind running on the host? (as the default config file attempts to connect locally to 127.0.0.1) I set the config file to the website of " http://stratum.mining.cz" (shlush's pool) and the port of 3333. I will try to run the program again, when I find it and copy the errors.
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 07:40:38 PM |
|
This is the first error that is detected {
D:\bitcoin\pyminer [master +2 ~0 -0 !]> python pyminer.py config.cfg File "pyminer.py", line 31 MAX_NONCE = 1000000L ^ SyntaxError: invalid syntax } I ran this in the git shell! It appears to be a type error should i put speach marks around the 1000000L?
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 07:45:57 PM |
|
This error works fine once adding in the speach marks. I also realised that I am running 3.4 and the program was coded for 2.7 so am converting it manually now!
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 07:53:19 PM |
|
It is now saying:
D:\bitcoin\pyminer [master +2 ~1 -0 !]> python "pyminer.py" "config.cfg" Traceback (most recent call last): File "pyminer.py", line 8, in <module> import httplib ImportError: No module named 'httplib'
|
|
|
|
-ck
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2015, 09:31:19 PM |
|
Why are you trying to run a getwork mining program? Neither bitcoin-qt/core nor any pool support getwork any more so even if you get the program working you won't be able to get it to connect to anything to mine.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2015, 11:43:35 AM |
|
Why are you trying to run a getwork mining program? Neither bitcoin-qt/core nor any pool support getwork any more so even if you get the program working you won't be able to get it to connect to anything to mine.
I thought they did, as one of the programmers and founders of bitcoins created the getwork pyminer. Is there anothe rpyminer I could run that doesn't use getwork?
|
|
|
|
deltalima
Newbie
Offline
Activity: 41
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2015, 08:46:24 PM |
|
If you just want to see some mining happen on a Pi without investing in hardware then you could download cpuminerhttps://bitcointalk.org/index.php?topic=55038.0 (download the source and build your own) Then run it with something like minerd -a sha256d -o stratum+tcp://solo.ckpool.org:3333 -u 1BitCoinAddressGoesHere -p x (use your own bitcoin address)
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2015, 08:49:54 PM |
|
If you just want to see some mining happen on a Pi without investing in hardware then you could download cpuminerhttps://bitcointalk.org/index.php?topic=55038.0 (download the source and build your own) Then run it with something like minerd -a sha256d -o stratum+tcp://solo.ckpool.org:3333 -u 1BitCoinAddressGoesHere -p x (use your own bitcoin address) Don't I have to install additional libraries there or are these in the makefile Is that the one that is created by Jeff Garzik on github
|
|
|
|
deltalima
Newbie
Offline
Activity: 41
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2015, 09:13:27 PM |
|
Don't I have to install additional libraries there or are these in the makefile Is that the one that is created by Jeff Garzik on github
It depends on what libraries you already have and that depends on what image you installed on the SD card. The build process (./configure; make; make install) will tell you what libraries are required. I don't know much about cpuminer as CPU mining is dead, it's a quick way of seeing mining in action (don't expect any returns though...)
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2015, 09:48:48 PM |
|
I used a CPU miner on my android phone and got 11 rejected blocks! I know that android products need gpus or graphical exallerators (multithreaded/multicore) so are there any bitcoin miners for that on android?
|
|
|
|
deltalima
Newbie
Offline
Activity: 41
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2015, 09:59:53 PM |
|
I used a CPU miner on my android phone and got 11 rejected blocks! I know that android products need gpus or graphical exallerators (multithreaded/multicore) so are there any bitcoin miners for that on android?
I'm not sure what you are trying to achieve. If you just want to see mining on a Pi then cpuminer will show you as a demonstration, if you want to actually mine you need to invest in some hardware.
|
|
|
|
jackg (OP)
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2015, 11:46:34 AM |
|
May purchase an antminer s5 or s5+ do bitmain deliver to the UK?
|
|
|
|
|