Bitcoin Forum
April 19, 2024, 11:41:52 PM *
News: Latest Bitcoin Core release: 26.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 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355546 times)
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 15, 2011, 09:53:50 PM
 #301

1) Current delay?
current delay is 117 seconds. You can decrease it if you want. Most pools don't update their stats very frequently.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
1713570112
Hero Member
*
Offline Offline

Posts: 1713570112

View Profile Personal Message (Offline)

Ignore
1713570112
Reply with quote  #2

1713570112
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713570112
Hero Member
*
Offline Offline

Posts: 1713570112

View Profile Personal Message (Offline)

Ignore
1713570112
Reply with quote  #2

1713570112
Report to moderator
1713570112
Hero Member
*
Offline Offline

Posts: 1713570112

View Profile Personal Message (Offline)

Ignore
1713570112
Reply with quote  #2

1713570112
Report to moderator
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
July 15, 2011, 10:09:29 PM
 #302

Time to remove eclipsemc, they switched to a score system.
anty
Newbie
*
Offline Offline

Activity: 40
Merit: 0



View Profile WWW
July 15, 2011, 10:24:33 PM
 #303

I think eclipsemc delays their API stats. On their website they say round duration is 4:51h but we just started mining there.
And you can clearly see in their graph that 20 min ago the first hoppers joined (raised from 60gh/s to 100gh/s.
So I guess the delay is 4:30h. I disabled eclipsemc for me.
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 10:59:48 PM
 #304

mmm just updated to latest git and bithopper just crash .

Code:
Traceback (most recent call last):
  File "./bitHopper.py", line 7, in <module>
    import work
  File "/home/miner1/bitHopper/work.py", line 12, in <module>
    from bitHopper import *
  File "/home/miner1/bitHopper/bitHopper.py", line 9, in <module>
    import stats
  File "/home/miner1/bitHopper/stats.py", line 6, in <module>
    import pool
  File "/home/miner1/bitHopper/pool.py", line 21, in <module>
    'api_address':'https://mtred.com/api/user/key/' + mtred_user_apikey,
NameError: name 'mtred_user_apikey' is not defined


...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)
bigbeerjr
Newbie
*
Offline Offline

Activity: 19
Merit: 0



View Profile
July 15, 2011, 11:11:01 PM
 #305

mmm just updated to latest git and bithopper just crash .

Code:
Traceback (most recent call last):
  File "./bitHopper.py", line 7, in <module>
    import work
  File "/home/miner1/bitHopper/work.py", line 12, in <module>
    from bitHopper import *
  File "/home/miner1/bitHopper/bitHopper.py", line 9, in <module>
    import stats
  File "/home/miner1/bitHopper/stats.py", line 6, in <module>
    import pool
  File "/home/miner1/bitHopper/pool.py", line 21, in <module>
    'api_address':'https://mtred.com/api/user/key/' + mtred_user_apikey,
NameError: name 'mtred_user_apikey' is not defined


do you have mtred_user_apikey defined in password.py?
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 11:16:20 PM
 #306

yes, nothing changed from my previous bithopper version.

All I did was git pull to the latest version posted 20mins ago.

...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)
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 15, 2011, 11:29:59 PM
 #307

1) Define mtred_user_apikey.

2) I fixed the difficulty pull to revert to a hard defined value. I'll fix it later.

3) I removed eclipsemc from the latest git version.

4) There is a vestigial database in the latest version. Ignore it. Its disabled and doesn't work.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 11:34:10 PM
 #308

allright, was strange error randomly cropped up with permissions.

Wow knuckle award for me.

...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)
dewon
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
July 15, 2011, 11:56:33 PM
 #309

What I am doing wrong?

Code:
root@linuxcoin:/opt/miners/phoenix/bithopper# sudo python bitHopper.py
Traceback (most recent call last):
  File "bitHopper.py", line 7, in <module>
    import work
  File "/opt/miners/phoenix/bithopper/work.py", line 12, in <module>
    from bitHopper import *
  File "/opt/miners/phoenix/bithopper/bitHopper.py", line 8, in <module>
    import diff
  File "/opt/miners/phoenix/bithopper/diff.py", line 13, in <module>
    difficulty = get_difficulty()
  File "/opt/miners/phoenix/bithopper/diff.py", line 9, in get_difficulty
    response = urllib2.urlopen(req)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 503: Service Unavailable
roos
Full Member
***
Offline Offline

Activity: 157
Merit: 101


View Profile
July 15, 2011, 11:59:41 PM
 #310

Same here

What I am doing wrong?

Code:
root@linuxcoin:/opt/miners/phoenix/bithopper# sudo python bitHopper.py
Traceback (most recent call last):
  File "bitHopper.py", line 7, in <module>
    import work
  File "/opt/miners/phoenix/bithopper/work.py", line 12, in <module>
    from bitHopper import *
  File "/opt/miners/phoenix/bithopper/bitHopper.py", line 8, in <module>
    import diff
  File "/opt/miners/phoenix/bithopper/diff.py", line 13, in <module>
    difficulty = get_difficulty()
  File "/opt/miners/phoenix/bithopper/diff.py", line 9, in get_difficulty
    response = urllib2.urlopen(req)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 503: Service Unavailable

★ ★ ★ ★ ★   DeepOnion    Anonymous and Untraceable Cryptocurrency    TOR INTEGRATED & SECURED   ★ ★ ★ ★ ★
› › › › ›  JOIN THE NEW AIRDROP ✈️        VERIFIED WITH DEEPVAULT  ‹ ‹ ‹ ‹ ‹
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬   ANN  WHITEPAPER  FACEBOOK  TWITTER  YOUTUBE  FORUM   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
July 16, 2011, 12:54:38 AM
 #311

blockexplorer is having issues getting the current difficulty, what I did to fix was change the code in diff.py like so:

Code:
#License#
#bitHopper by Colin Rice is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
#Based on a work at github.com.

import urllib2

def get_difficulty():
   # req = urllib2.Request('http://blockexplorer.com/q/getdifficulty')
   # response = urllib2.urlopen(req)
   # diff_string = response.read()
    diff_string = "1564057"
    return float(diff_string)

difficulty = get_difficulty()

this just hard codes the difficulty in the meantime.
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
July 16, 2011, 01:36:30 AM
 #312

Wow code update already on github, "Updated eclipse mc to not be hopped and added a default difficulty if calls fail"
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 16, 2011, 06:03:48 AM
 #313

1) Code already updated?
I'm a beast! In reality I run the software the same as you guys. Global issues get fixed quickly. Non global issues get fixed when someone tells me about them.

2) Update on progress with regards to stats?
So I know what I have to do. And I know how to do it. But all of tomorrow is busy. I'll see If I can knock it out on sunday. I'll need to rewrite everything again though in a less dramatic fashion. And I already figured out the system. I'm not going to automate pulling payouts from wallets though so if you want accurate stats you are going to have to tell the system when you get payouts from most pools. Some like btcguild have enough data in the API. Most don't.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
muyoso
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
July 16, 2011, 10:55:01 AM
 #314

Is there a way to simply re-enable bitcoins.lc?

I drink it up!
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 16, 2011, 11:28:56 AM
 #315

Is there a way to simply re-enable bitcoins.lc?

In pools.py, change the last part of

Code:
  'bclc':{'shares':default_shares, 'name':'bitcoins.lc', 
            'mine_address':'bitcoins.lc:8080', 'user':bclc_user, 'pass':bclc_pass,
            'lag':False, 'LP':None,
            'api_address':'https://www.bitcoins.lc/stats.json', 'role':'info' },

to
 
Code:
                                                                 'role':'mine' },
                       

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 16, 2011, 11:36:07 AM
 #316

Efficiency update, calculated from the website data (only using bitHopper, all same difficulty):

bitcoins-lc: 67.9%
btc guild: 181.0%
eclipse: 146.5%
Mt Red: 181.7%
 
for a total earnings increase of 158.7%

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 16, 2011, 12:24:22 PM
 #317

Interestingly, the 'cheater function' shows that even hopping at <your shares>=<difficulty> has a 22% increase in effective hashrate (and thus coinage), which is better than eligius/arsbitcoin at 0% increase. So I it seems like it might pay have the jump off proportion of difficulty at 1.0 instead of 0.4

burp mentioned it earlier in the thread, be interesting to see if anyone tried it.

tl;dr change the hop shares from 0.4*diff to 1.0*diff

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

Activity: 84
Merit: 10


View Profile
July 16, 2011, 12:52:02 PM
 #318

I dont think I need to comment - except ... been 'hopped much, Mt Red?



(thanks to mperth's stats at http://mksv.ath.cx/bit/stats.php)

Why is it though that Mt. Red has 100 Mhash jumps, while others only get ~10 Mhash jumps?
zybron
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
July 16, 2011, 01:16:50 PM
 #319

Why is it though that Mt. Red has 100 Mhash jumps, while others only get ~10 Mhash jumps?
I'd guess it's not all us. There must be lots of people out there hopping Mt. Red.

organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 16, 2011, 01:43:00 PM
Last edit: July 16, 2011, 03:13:10 PM by organofcorti
 #320

100Ghps seems correct. Bitpit seems to have extra 100Ghps at the start of last round:
http://mksv.ath.cx/bit/graph.php?node=XS1YWGD4UA



Deepbit's variation is an easy 100Ghps, although it's hard to tell if it coincides with rounds:
http://mksv.ath.cx/bit/graph.php?node=2AC1BVST4N



Arsbitcoin seems to have reverse hopping - where everyone goes into hopping limbo:
http://mksv.ath.cx/bit/graph.php?node=29MPXJT6WF




Anyone with hopping strategies in place (eg multipool) would be adding to this, not just us. We're not even doing deepbit yet.


Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
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 ... 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!