Bitcoin Forum
December 10, 2016, 08:58:37 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   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 333249 times)
muyoso
Member
**
Offline Offline

Activity: 84



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

OK, slush still isn't hopping away at .1*difficulty like its supposed to.  Is there a specific version of c00w's bithopper that does this?  

Edit:  May have figured out what I was doing wrong.  When you hit the green button on the stats page it sets it to mine instead of "mine_slush".  Manually setting it to "mine_slush" on the stats page seems to have stopped it mining there.  Will monitor to see if that fixed it.

I drink it up!
1481403517
Hero Member
*
Offline Offline

Posts: 1481403517

View Profile Personal Message (Offline)

Ignore
1481403517
Reply with quote  #2

1481403517
Report to moderator
1481403517
Hero Member
*
Offline Offline

Posts: 1481403517

View Profile Personal Message (Offline)

Ignore
1481403517
Reply with quote  #2

1481403517
Report to moderator
1481403517
Hero Member
*
Offline Offline

Posts: 1481403517

View Profile Personal Message (Offline)

Ignore
1481403517
Reply with quote  #2

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

Posts: 1481403517

View Profile Personal Message (Offline)

Ignore
1481403517
Reply with quote  #2

1481403517
Report to moderator
1481403517
Hero Member
*
Offline Offline

Posts: 1481403517

View Profile Personal Message (Offline)

Ignore
1481403517
Reply with quote  #2

1481403517
Report to moderator
slippyrocks
Member
**
Offline Offline

Activity: 69


respecttheslider


View Profile
July 31, 2011, 04:31:19 AM
 #1782

would like to try to run in win32
installed Twisted 11.0.0 for Python 2.7 ( msi |  exe)
not sure what to do
thanks

I'm on Win7 x64. I'll tell you what I've learned.

1) Install python first. Then each of the packages mentioned in the readme should detect where the python directory is to install into.
2)Read / research forum, and download and unzip your desired fork of bitHopper. It seems c00w's is the most well rounded.
3)Edit the users/paswords/api's/roles in the pool.cgf.default and rename it to pool.cfg
4)Create a shortcut to python.exe to launch the bitHopper server.
     4a) Open your shortcut's properties and change the "Target" and "Start in:" fields to match your file locations.
     Example:
     Target: C:\python27\python.exe C:\bitHopper\bithopper.py
     Start in: C:\bitHopper\ (The "Start in:" directory must be bitHopper's directory)
5) Open your shortcut. Point your miner to localhost:8337 and your browser to http://localhost:8337/stats.

That should get you going, however there is much to learn before you fully understand everything you can or should do with bH.
Tried above this just open and closes
installed:
python-3.2.1.msi
Twisted-11.0.0.winxp32-py2.7.msi
Not sure about "Then each of the packages mentioned in the readme should detect
where the python directory is to install into."
Will reboot and see if that helps.  Thanks for the guidance
--slippy
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
July 31, 2011, 04:40:54 AM
 #1783

Try Python 2.7 instead - I'm not sure if Python 3 already works with all the libraries, or try https://rapidshare.com/files/3783777823/bithopper.zip which has all the requirements already bundled.

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, 04:42:33 AM
 #1784

I see the problem notepad was making the README unreadable.

WordPad to the rescue-



error
Hero Member
*****
Offline Offline

Activity: 574



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

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: 1848


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

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
 #1787

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
gnaget
Member
**
Offline Offline

Activity: 112


View Profile
July 31, 2011, 05:06:26 AM
 #1788

I get the impression bitcoin.cz (slush) works for y'all, but I get almost all stales.

[slush]
name: bitcoin.cz
mine_address: api2.bitcoin.cz:8332
role: info
api_address: http://mining.bitcoin.cz/stats/json/
api_method: json
api_key:shares
Sukrim
Legendary
*
Offline Offline

Activity: 1848


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

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
 #1790

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

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
gnaget
Member
**
Offline Offline

Activity: 112


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

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

Activity: 102


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

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
 #1793

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: 1848


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

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
 #1795

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
 #1796

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: 1848


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

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
 #1798

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
 #1799

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
 #1800

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
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!