Bitcoin Forum
March 19, 2024, 05:44:22 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
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 355541 times)
slippyrocks
Member
**
Offline Offline

Activity: 69
Merit: 10


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-



1710827062
Hero Member
*
Offline Offline

Posts: 1710827062

View Profile Personal Message (Offline)

Ignore
1710827062
Reply with quote  #2

1710827062
Report to moderator
1710827062
Hero Member
*
Offline Offline

Posts: 1710827062

View Profile Personal Message (Offline)

Ignore
1710827062
Reply with quote  #2

1710827062
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710827062
Hero Member
*
Offline Offline

Posts: 1710827062

View Profile Personal Message (Offline)

Ignore
1710827062
Reply with quote  #2

1710827062
Report to moderator
1710827062
Hero Member
*
Offline Offline

Posts: 1710827062

View Profile Personal Message (Offline)

Ignore
1710827062
Reply with quote  #2

1710827062
Report to moderator
1710827062
Hero Member
*
Offline Offline

Posts: 1710827062

View Profile Personal Message (Offline)

Ignore
1710827062
Reply with quote  #2

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

Activity: 588
Merit: 500



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.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


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://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
slippyrocks
Member
**
Offline Offline

Activity: 69
Merit: 10


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: 2618
Merit: 1006


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

Already got >120 shares. Smiley

Let's hope this is a short one!

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
djex
Full Member
***
Offline Offline

Activity: 196
Merit: 100


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
Merit: 102


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

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

Activity: 102
Merit: 10


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
Merit: 10


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: 2618
Merit: 1006


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://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
macboy80
Member
**
Offline Offline

Activity: 102
Merit: 10


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
Merit: 100


View Profile
July 31, 2011, 06:17:33 AM
Last edit: July 31, 2011, 07:21:02 AM by djex
 #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: 2618
Merit: 1006


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://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
djex
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 31, 2011, 06:25:13 AM
Last edit: July 31, 2011, 07:08:59 AM by djex
 #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: 2058
Merit: 1007


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
Merit: 0



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

https://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.
slippyrocks
Member
**
Offline Offline

Activity: 69
Merit: 10


respecttheslider


View Profile
July 31, 2011, 06:44:52 AM
Last edit: July 31, 2011, 07:06:45 AM by slippyrocks
 #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 (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


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: 2618
Merit: 1006


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://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!