Bitcoin Forum
February 24, 2017, 08:41:20 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 [90] 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 337880 times)
slippyrocks
Member
**
Offline Offline

Activity: 69


respecttheslider


View Profile
July 31, 2011, 04:42:33 AM
 #1781

I see the problem notepad was making the README unreadable.

WordPad to the rescue-



1487925680
Hero Member
*
Offline Offline

Posts: 1487925680

View Profile Personal Message (Offline)

Ignore
1487925680
Reply with quote  #2

1487925680
Report to moderator
1487925680
Hero Member
*
Offline Offline

Posts: 1487925680

View Profile Personal Message (Offline)

Ignore
1487925680
Reply with quote  #2

1487925680
Report to moderator
1487925680
Hero Member
*
Offline Offline

Posts: 1487925680

View Profile Personal Message (Offline)

Ignore
1487925680
Reply with quote  #2

1487925680
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1487925680
Hero Member
*
Offline Offline

Posts: 1487925680

View Profile Personal Message (Offline)

Ignore
1487925680
Reply with quote  #2

1487925680
Report to moderator
1487925680
Hero Member
*
Offline Offline

Posts: 1487925680

View Profile Personal Message (Offline)

Ignore
1487925680
Reply with quote  #2

1487925680
Report to moderator
1487925680
Hero Member
*
Offline Offline

Posts: 1487925680

View Profile Personal Message (Offline)

Ignore
1487925680
Reply with quote  #2

1487925680
Report to moderator
error
Hero Member
*****
Offline Offline

Activity: 574



View Profile
July 31, 2011, 04:44:33 AM
 #1782

Python 3 has a bunch of things which break backward compatibility, so scripts written for Python 2.x often need alteration to run on Python 3.x. Complicating the issue is that Arch seems to have no way of installing multiple versions of programs/libraries and they have been actively hostile to the idea in the past. Arch, then, is not something you would run anything remotely important on, since it's likely to break the next time you run pacman.

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
Sukrim
Legendary
*
Offline Offline

Activity: 1932


View Profile
July 31, 2011, 04:48:11 AM
 #1783

If you refer to my problem before, I installed the wrong (Python3) version of pyopenssl. A simple addition of a "2" in the right spot fixed it...

Python simply is split now in "python2" and "python" (=python3) in Arch, no real biggie. Also nothing did break yet on updates so far, keeping fingers crossed!

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
slippyrocks
Member
**
Offline Offline

Activity: 69


respecttheslider


View Profile
July 31, 2011, 05:02:40 AM
 #1784

getting there with python-2.7.2.msi
now i just have to learn how to install an .egg
what fun like the good old days
Sukrim
Legendary
*
Offline Offline

Activity: 1932


View Profile
July 31, 2011, 05:19:46 AM
 #1785

Already got >120 shares. Smiley

Let's hope this is a short one!

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
July 31, 2011, 05:28:24 AM
 #1786

Oh no it's starting to lag. Just went red, anyone else?

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
gnaget
Full Member
***
Offline Offline

Activity: 154


View Profile
July 31, 2011, 05:29:44 AM
 #1787

yea, they can't handle it
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
July 31, 2011, 05:39:39 AM
 #1788

Not sure about "Then each of the packages mentioned in the readme should detect
where the python directory is to install into."

I found out that if you install python first, the other packages you need to install will detect your python installation and install into the right place. There are three packages you need:
https://launchpad.net/pyopenssl
http://pypi.python.org/pypi/zope.interface
http://twistedmatrix.com/trac

getting there with python-2.7.2.msi
now i just have to learn how to install an .egg
what fun like the good old days

A .egg is the same as a .zip. Just change the extension.
slippyrocks
Member
**
Offline Offline

Activity: 69


respecttheslider


View Profile
July 31, 2011, 06:05:03 AM
 #1789

Okay windows install blitz
1. https://github.com/c00w/bitHopper/zipball/master
[unzip to C:\bitHopper view README in WordPad]
2. http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi
3. http://pypi.python.org/packages/2.7/T/Twisted/Twisted-11.0.0.winxp32-py2.7.msi
4. http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe (for .egg support)
5. http://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-3.6.4-py2.7-win32.egg
6. http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11-py2.7-win32.egg

.egg(s) are installed using C:\Python27\Scripts\easy_install.exe
You will have to use  command console aka cmd.exe.

Move pool.cfg.default to pool.cfg and modify it to use your accounts
Run C:\bitHopper\bitHopper.py maybe create shortcut
Direct your miner to localhost:8337 using some username and password.
ie. in MINER.BAT "start /affinity 1 /D"C:\Users\David\Downloads\poclbm_py2exe_20110709" /MIN poclbm.exe assman:password@localhost:8337 -d 0 -v -w 128"
Look at stats and control pool in web browser at localhost:8337/stats

That should take you 30 seconds took me an hour to figure out.

Have not been able to locate bitHopper documentation and arguments not obvious where to look.
Sukrim
Legendary
*
Offline Offline

Activity: 1932


View Profile
July 31, 2011, 06:07:50 AM
 #1790

You know I know how
To make em stop and stare as I jump out
The pool can't even handle me right now
Watchin' shares watchin' shares I go all out
The pool can't even handle me right now (yeahhhhh)
The pool can't even handle me right now (yeahhhhh)

@slippyrocks:
Or just download my packaged version and have a single .exe + config files. Tongue

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
July 31, 2011, 06:16:04 AM
 #1791

Have not been able to locate bitHopper documentation and arguments not obvious where to look.

So, it sounds like you're up and running? Definitely try the shortcut from my first post.
The pool.cfg is really all the documentation you really "need" to keep up, however this massive 90+ page topic is excellent documentation. And, these guys are very helpful if you just ask. (Personal experience)
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
July 31, 2011, 06:17:33 AM
 #1792

If any one is interested I made an edit to the index.html so each pool name is a link to its corresponding web address. Makes it easier to visit a pool while reviewing pool stats. The links open in a new tab / window.

Just add the line "url: http://site-address-here.com" to the pool.cfg file for each pool and then change code in the index.html to the code below.

Code:
function getName(payload, srv) {
return "<a href='" + srv['url']  + "' target='_blank' style='text-decoration:underline;color:" + getColor(payload,srv) + ";'>" + srv['name'] + "</href>";
}

function getColor(payload, srv) {
if(payload['servers'][payload['current']]['name'] == srv['name']) {
return 'yellow';
}
if(srv['lag'] == true) {
return 'red';
}
return 'white';
}

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
Sukrim
Legendary
*
Offline Offline

Activity: 1932


View Profile
July 31, 2011, 06:22:05 AM
 #1793

Nice, but I'm unsure if that "getURL(srv)" function should be there with a huge switch statement + all the pools hardcoded.

It's a nice + quick hack, but I'd rather see an additional "url:..." field in pool.cfg to be honest, otherwise this likely becomes a nightmare to maintain.

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
July 31, 2011, 06:25:13 AM
 #1794

Nice, but I'm unsure if that "getURL(srv)" function should be there with a huge switch statement + all the pools hardcoded.

It's a nice + quick hack, but I'd rather see an additional "url:..." field in pool.cfg to be honest, otherwise this likely becomes a nightmare to maintain.

Yeah I agree, it's a gross hack and should be like you said. I thought about putting it in the pool.cfg and I looked at the pool.py code to see if I could do it that way but I couldn't figure out how it gets the config file data to the server variable array? ಠ_ಠ . My python is rusty  Embarrassed

Edit: I figured it out and edited my first post. Was easier than I thought. Tongue

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
July 31, 2011, 06:29:49 AM
 #1795

Team Hopper is now in the top rankings!

Quote
#14   Team Hopper   Gold digger   2267 MH/s   2

Thx pbj!

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
gooie
Newbie
*
Offline Offline

Activity: 28



View Profile
July 31, 2011, 06:34:59 AM
 #1796

http://i.imgur.com/d5IJ3.png

some errors with the latest version

Team Hopper is now in the top rankings!

Quote
#14   Team Hopper   Gold digger   2267 MH/s   2

Thx pbj!

how do i join the pool? seems like i just did my own pool when i changed minipool name.

You're Welcome. (http://gifsound.com/?gif=http%3A%2F%2Fi.imgur.com%2FrDDjz.gif&sound=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtvLDm8821jQ&start=23) - 14cx1d2RqQrgSpn18BFgYCSzgfzf3Y3vmz
slippyrocks
Member
**
Offline Offline

Activity: 69


respecttheslider


View Profile
July 31, 2011, 06:44:52 AM
 #1797

Is there any way to take advantage that slush brings your
payout up to full within a few minutes of joining the pool?
Like:
Miner A mining for 3 hours
Miner B just joined 5 minutes ago
Block then ends
Both get roughly the same payout of .066BTC
This work in my favor quite a few times.
---Added
Am pretty sure a new block can be id'd using LP like from BTC Guild.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 31, 2011, 07:44:15 AM
 #1798

Heads up I broke the delagger a couple of commits ago. You should probably update since I fixed it.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Sukrim
Legendary
*
Offline Offline

Activity: 1932


View Profile
July 31, 2011, 07:59:49 AM
 #1799

@c00w: As the pull from paraipanakos is basically from me: My code is public domain, I guess he/she/it sees it the same way.

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 31, 2011, 08:11:05 AM
 #1800

Its merged, If you have a script to automatically build windows packages I can throw the packages on github or in the readme.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Pages: « 1 ... 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 [90] 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 ... 205 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!