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

Updated version of python mining script using 44 byte protocol, and allowing long polling. #2

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

malbon
Copy link

@malbon malbon commented Jun 28, 2013

This version of the mining script and slightly modified service proxy allows longpolling. The long polling works for p2pool, but does not work for submitting work at this time. Should work fine against slush etc.

@kramble
Copy link
Owner

kramble commented Jun 29, 2013

Thanks for this, it looks good. I'll put it up as a separate script miner_lp.py once I've tested it out (I don't have time right now). Cheers.

@kramble
Copy link
Owner

kramble commented Jun 30, 2013

I've pushed your changes up as miner_lp.py as I haven't really got the time right now to look at it myself. That way any followers can pick it up and run with it themselves (I'm just a newbie here at github so I don't really know how these pull requests work). Hope that's OK with you.

@malbon
Copy link
Author

malbon commented Jun 30, 2013

There is no rush, I am happy if you pull it now, or later once tested. I'm also new to github.

I have also updated the icarus driver in mpbm to 'kramble' driver that works fine with the 44 byte protocol.

@kramble
Copy link
Owner

kramble commented Jun 30, 2013

Its probably not worth putting too much effort into my 44 byte protocol as its non-standard. It came about when I was porting fpgaminer to the DE0-Nano which I wanted to drive from the gpio serial port on my raspberry pi (I found USB was a bit unreliable, but later discovered this was just because I had a loose cable). Since I was using a slow opto-isolator (hence 4800 baud), I decided to drop the 20 redundant bytes from the getwork packet. In hindsight this was the wrong decision and I should have kept teknohog's original 64 byte protocol as this became the icarus standard. Anyway this is all becoming rather moot now that difficulty is skyrocketing, its almost at the point where I'm going to stop mining (I'm only running 60MHash/sec on fpga, which is earning almost nothing).

kramble added a commit that referenced this pull request Sep 22, 2014
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

Successfully merging this pull request may close these issues.

2 participants