Bitcoin Forum
November 06, 2024, 06:51:52 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 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 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355776 times)
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 20, 2011, 12:23:31 AM
 #641

Polmine?

I may have missed the code but if you throw it in an issue on github I'll add it in/ try and figure out why it is broken.

This was just ryouki's fork - haven't tried on yours yet. He done some regex, added it in and it works for him - just not for me. So I've done something stupid.

Quote
Did you add it to the func_map in selectsharesResponse?

thanks - will check when I'm home.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
1bitc0inplz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 20, 2011, 01:47:43 AM
 #642

Basically if someone else does what bitp.it did, well, it won't work.

We're blushing  Grin

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 20, 2011, 01:49:35 AM
 #643

Why didn't you guys just change your algorithm? We could have added you as a backup pool.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
1bitc0inplz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 20, 2011, 01:54:34 AM
 #644

Why didn't you guys just change your algorithm? We could have added you as a backup pool.

We are changing our algorithm, we're moving to ESMPPS. http://forum.bitcoin.org/index.php?topic=12181.msg378328#msg378328


We'd love you guys to call us home once we make the switch.  Smiley

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
July 20, 2011, 02:18:58 AM
 #645

we liked you guys too before things changed.. look forward to to going back soon.

mooo for rent
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 02:38:17 AM
 #646

Having a little problem when I try to access the stats. I get the message

Code:
web.Server Traceback (most recent call last):

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'index.html'

Using latest version of ryouiki's fork

possible cause

1. index.html is not there (same directory as bitHopper.py)
2. working (current) directory is not the correct
3. do not have permission to read file

in case of 2.
modify this line to point the absolute path
Code:
file = open('index.html', 'r')
as
Code:
file = open('/root/dev/blahblah/index.html', 'r')
muyoso
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
July 20, 2011, 02:38:35 AM
 #647

Like every single pool I am mining is unlucky as hell right now.  Only one that solved a block in like the last 12 hours is bitcoins.lc and their share count is bouncing around like a maniac.  

I drink it up!
enmaku
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
July 20, 2011, 02:55:58 AM
 #648

Holy crap Ryouiki this mod is AMAZING. So glad I decided to try it out and I really hope c00w works your changes into root  Smiley
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 03:35:05 AM
 #649

in the latest version you can enable/disable pool interactively

http://cl.ly/2V0s0p1805220P2L0z47/Image_2011-07-20_at_12.31.13_PM.png

however, enabling not implemented pools like x8s will cause error
try at your own risk  Wink
kbsbtc
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
July 20, 2011, 03:43:15 AM
 #650

Having a little problem when I try to access the stats. I get the message

Code:
web.Server Traceback (most recent call last):

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'index.html'

Using latest version of ryouiki's fork

possible cause

1. index.html is not there (same directory as bitHopper.py)
2. working (current) directory is not the correct
3. do not have permission to read file

in case of 2.
modify this line to point the absolute path
Code:
file = open('index.html', 'r')
as
Code:
file = open('/root/dev/blahblah/index.html', 'r')


Had to change the working directory manually set to the full path of the folder. Thanks! Weird that I had to do that though.
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 20, 2011, 03:54:03 AM
 #651

1) Working changes into master branch?
Yeah. I just got permission from flower who was sick to merge his changes over.
Once I get that merged over I'll talk to ryou about his stuff and I'll add in the manual payout entry and try and script some.

2) So what have you been doing over the last two days?
Database changes, Stability changes, code reorg, a flat info page, dynamic api polling changes, oh and the difficulty module now will deal with changing difficulty correctly.
So the main code is really solid now.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
hawks5999
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile WWW
July 20, 2011, 04:54:32 AM
 #652

hats off to c00w, flower and ryouiki. You guys have made some awesome progress working together separately. Really demonstrates some of the power of open source development.

What is really amazing to me is seeing the implementation of features that shortly after I "think" of them, before I can even suggest them. The webgui control is awesome. The enable, disable feature in the webgui - super. Can't wait to see what else lies ahead.

c00w major kudos for a solid and getting firmer foundation.

■ ▄▄▄
■ ███
■ ■  ■               
LEDGER  WALLET    ████
■■■ ORDER NOW! ■■■
              LEDGER WALLET
Smartcard security for your BTCitcoins
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Decentralized. Open. Secure.
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 05:03:01 AM
Last edit: July 20, 2011, 05:17:03 AM by ryouiki
 #653

latest version will display pool speeds
because, it is estimated speed based on round share trend, it may be different from the speed value provided by pool

http://cl.ly/3m1B1O2J2x1T1m1j2b3r/Image_2011-07-20_at_1.59.24_PM.png
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 05:45:18 AM
Last edit: July 20, 2011, 07:17:56 AM by ryouiki
 #654

thanks, hawks5999

i've been doing this for my own purpose (studying python, git) and fun.
btw, i must go back to my daytime job for a while  Cry
fortunately, current version looks stable for casual use

I really appreciate to c00w and flower for foundation codes
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 20, 2011, 09:16:29 AM
 #655

Quick update to anyone who is mining at bitcoins.lc.  Looks like they are giving out random share data right now causing the hopper to mine there.  Shared went from 10k to 90k to 60k to 80k to 70k to 26k.  Make sure to disable them.  IDK if any of the forks handle bitcoins.lc differently, ie not through the api.

Some regex code would be nice to read from the actual stats page(these seem to add up correctly), I have no idea where there current share stats come from since I cant find the bithopper reported shares on the website.

That said, is there any reason yet not to hop bitcoins.lc ?

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 09:57:57 AM
 #656


Some regex code would be nice to read from the actual stats page(these seem to add up correctly), I have no idea where there current share stats come from since I cant find the bithopper reported shares on the website.

That said, is there any reason yet not to hop bitcoins.lc ?

bclc checks user-agent string and give real data for Web browser, fake data for hopper proxy

sure, we can fake user-agent string to get real data but they will fake again..
this is endless.
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 20, 2011, 10:03:39 AM
 #657

dunno bout checking user-agent, ive assigned a specific browser proper user-agent and still get wrong stats from bitcoins.lc/stats page

Cant we use the stats.json page to read the shares ?

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 10:11:55 AM
 #658

dunno bout checking user-agent, ive assigned a specific browser proper user-agent and still get wrong stats from bitcoins.lc/stats page

Cant we use the stats.json page to read the shares ?

yes. their stats.json works fine (for web browser and my test build of bitHopper Mod)
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 20, 2011, 10:20:06 AM
 #659

dunno bout checking user-agent, ive assigned a specific browser proper user-agent and still get wrong stats from bitcoins.lc/stats page

Cant we use the stats.json page to read the shares ?

yes. their stats.json works fine (for web browser and my test build of bitHopper Mod)

Wanna add the code to your git code Smiley

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
July 20, 2011, 11:24:06 AM
 #660


Wanna add the code to your git code Smiley

test branch has it
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 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 ... 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!