Bitcoin Forum
December 09, 2016, 05:53:10 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 333048 times)
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 02, 2011, 08:18:31 PM
 #2061

#[btcserv.net]
#name: btcserv
#mine_address: btcserv.net:8335
#api_address: https://btcserv.net/pool/round-stats/
#api_method: re
#api_key: </span>(\d+)shares ([ 0-9]+)
#api_strip: ','
#url: https://btcserv.net/user/stats/

can someone help with my crappy regex skills

mooo for rent
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 02, 2011, 08:24:52 PM
 #2062

LP?
Yeah I fixed it but it is still sort of broken. Working on it.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Tmoney
Jr. Member
*
Offline Offline

Activity: 40


View Profile
August 02, 2011, 08:25:25 PM
 #2063

Code:
[bitserve]
name: btcserve.net
mine_address:btcserve.net:8335
api_address:http://btcserv.net/
role:mine
api_method:re
api_key:([0-9]+(,[0-9]+)*) shares
api_strip:','
url:http://btcserv.net/

Is joulesbeef grassfed?
msb8r
Member
**
Offline Offline

Activity: 78


View Profile WWW
August 02, 2011, 08:26:24 PM
 #2064

#[btcserv.net]
#name: btcserv
#mine_address: btcserv.net:8335
#api_address: https://btcserv.net/pool/round-stats/
#api_method: re
#api_key: </span>(\d+)shares ([ 0-9]+)
#api_strip: ','
#url: https://btcserv.net/user/stats/

can someone help with my crappy regex skills

Try

Code:
#[btcserv.net]
#name: btcserv
#mine_address: btcserv.net:8335
#api_address: https://btcserv.net/pool/round-stats/
#api_method: re
#api_key: ([,0-9]+)\s+shares
#api_strip: ','
#url: https://btcserv.net/user/stats/

edit: shortened api_key

New Bitcoin directory @ http://btcdir.org/
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 02, 2011, 08:31:13 PM
 #2065

cool thanks guys... and yeah i need to study more.


And yeah I am a range fed cow, so I go through a ton of grass

mooo for rent
Tmoney
Jr. Member
*
Offline Offline

Activity: 40


View Profile
August 02, 2011, 08:35:55 PM
 #2066

If anyone pulled from the github and are gettings error 24, this is what it needs to be changed to:
api_key: <br/>Round Shares:([ 0-9]+)<br/>

Tried pushing but of course it doesn't work.

What pool is this?
BTCPool24

I still get: Error in pool api for BTCPool24
 

Should be this:

[btcpool24]
name: BTCPool24
mine_address: min.btcpool24.com:8338
api_address: http://www.btcpool24.com/json_stats.php
api_method: json
api_key: shares_this_round
url: http://www.btcpool24.com/
msb8r
Member
**
Offline Offline

Activity: 78


View Profile WWW
August 02, 2011, 08:50:34 PM
 #2067

Quote
Error in pool api for btcg

Get this for BTC Guild even if it's added as backup, and bithopper doesn't hop to BTCG when there's no other pools available.
Is there an easy way to fix this?

and a little more odd behaviour (disabled BTCG for now).

Right now it seems to pick the pool with the lowest shares (Ars Bitcoin), despite having 2 pools with below 43.5% shares (Mt Red 222K, bclc 733K).Disabling Ars then makes it hop to bclc..

New Bitcoin directory @ http://btcdir.org/
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 02, 2011, 08:58:58 PM
 #2068

Ok, so apologies for the noob questions but I'm new to this Smiley  I currently have the following setup:

MINE:
Slush
MtRed
BTCPool24
BitcoinMonkey
Bloodys (currently working on that now)
ozcoin
polmine
rfc
triple

INFO:
BTCWorld
bitminersunion

BACKUP:
eligius
ars

The rest disabled (bitclockers was just red most of the time).

Is that too many, not enough, any I should add/remove?

I also noticed I spent a bit of time mining at polmine last night, then it switched away in favour of another pool.   The shares at polmine have now decayed away to almost nothing.  Is that how it's supposed to work (it mines at pool's hoping to find a block in that time, and if it doesn't it just gives up and lets it die away to nothing)?   Same goes for Triple.


Thanks guys, appreciate the help Smiley
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 02, 2011, 09:04:59 PM
 #2069

Still getting something like this one  Grin

Quote
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 361, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/home/burp/bitHopper/work.py", line 65, in jsonrpc_lpcall
    lp.receive(body,server)
  File "/home/burp/bitHopper/lp.py", line 27, in receive
    response = json.loads(body)
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
exceptions.TypeError: expected string or buffer

I'm capturing mine... brb...
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
August 02, 2011, 09:08:42 PM
 #2070

I think Pay Per Last N Share pools could be worth hopping if you hop in when >250% shares are done (or another amount, calculated on statistics).

A sort of inversed hopping.
The chance is big that after >250 shares (or another amount, should be calculated on statistics) the block will be found and because you are paid PPLNS you get full reward for it.

Any thoughts?

250% is too early, biggest ever block was 16M shares - 846%, so you should hop @ 430% * difficulty and you will always end in 2nd half of any round, but that long blocks are rare, so maybe 300-350% is good target

organofcorti, PPLNS pool should not be backup pool alone, change your setup for simulation - at least 3 pools - 1 prop, 1 pps and 1 pplns

1st sim: 1 prop and pps
current sim: 1 pplns and pps
next sim: 1 slush and pps

pps is just used as the hop to pool in the sim. pplns is not being used as backup.

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

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 02, 2011, 09:13:22 PM
 #2071

Does anyone know how to capture an error message from bitHopper?
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 02, 2011, 09:21:11 PM
 #2072

Ok, so apologies for the noob questions but I'm new to this Smiley  I currently have the following setup:

MINE:
Slush
MtRed
BTCPool24
BitcoinMonkey
Bloodys (currently working on that now)
ozcoin
polmine
rfc
triple

INFO:
BTCWorld
bitminersunion

BACKUP:
eligius
ars

The rest disabled (bitclockers was just red most of the time).

Is that too many, not enough, any I should add/remove?

I also noticed I spent a bit of time mining at polmine last night, then it switched away in favour of another pool.   The shares at polmine have now decayed away to almost nothing.  Is that how it's supposed to work (it mines at pool's hoping to find a block in that time, and if it doesn't it just gives up and lets it die away to nothing)?   Same goes for Triple.


Thanks guys, appreciate the help Smiley

Also (sorry to bump myself) is it even worth spending time at bloodys considering it's taking them around 2/3 weeks to find a block?
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 02, 2011, 09:25:23 PM
 #2073

Ok, so apologies for the noob questions but I'm new to this Smiley  I currently have the following setup:

MINE:
Slush
MtRed
BTCPool24
BitcoinMonkey
Bloodys (currently working on that now)
ozcoin
polmine
rfc
triple

INFO:
BTCWorld
bitminersunion

BACKUP:
eligius
ars

The rest disabled (bitclockers was just red most of the time).

Is that too many, not enough, any I should add/remove?

I also noticed I spent a bit of time mining at polmine last night, then it switched away in favour of another pool.   The shares at polmine have now decayed away to almost nothing.  Is that how it's supposed to work (it mines at pool's hoping to find a block in that time, and if it doesn't it just gives up and lets it die away to nothing)?   Same goes for Triple.


Thanks guys, appreciate the help Smiley

Also (sorry to bump myself) is it even worth spending time at bloodys considering it's taking them around 2/3 weeks to find a block?

I don't mind waiting Smiley
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 02, 2011, 09:39:08 PM
 #2074

Quote
Does anyone know how to capture an error message from bitHopper?

windows?
right click the title bar of the cmd box and select mark... mark what you want to copy and then right click the title bar and select copy

mooo for rent
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 02, 2011, 09:41:23 PM
 #2075

Quote
Does anyone know how to capture an error message from bitHopper?

windows?
right click the title bar of the cmd box and select mark... mark what you want to copy and then right click the title bar and select copy

I'm learing everyday!
Thanks  Grin

The error (after the work.py and lp.py update of 2 hours ago):

Quote

[23:42:11] RPC request [51a70000] submitted to bitcoinpool.com
<_newclient.Response object at 0x02EBE0F0>
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 361, in c
allback
    self._startRunCallbacks(result)
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 455, in _
startRunCallbacks
    self._runCallbacks()
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 542, in _
runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1076, in
gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1020, in
_inlineCallbacks
    result = g.send(result)
  File "C:\bitHopper\work.py", line 65, in jsonrpc_lpcall
    lp.receive(body,server)
  File "C:\bitHopper\lp.py", line 28, in receive
    response = json.loads(body)
  File "C:\Python27\lib\json\__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "C:\Python27\lib\json\decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 02, 2011, 09:56:37 PM
 #2076

Ok, so apologies for the noob questions but I'm new to this Smiley  I currently have the following setup:

MINE:
Slush
MtRed
BTCPool24
BitcoinMonkey
Bloodys (currently working on that now)
ozcoin
polmine
rfc
triple

INFO:
BTCWorld
bitminersunion

BACKUP:
eligius
ars

The rest disabled (bitclockers was just red most of the time).

Is that too many, not enough, any I should add/remove?

I also noticed I spent a bit of time mining at polmine last night, then it switched away in favour of another pool.   The shares at polmine have now decayed away to almost nothing.  Is that how it's supposed to work (it mines at pool's hoping to find a block in that time, and if it doesn't it just gives up and lets it die away to nothing)?   Same goes for Triple.


Thanks guys, appreciate the help Smiley

Also (sorry to bump myself) is it even worth spending time at bloodys considering it's taking them around 2/3 weeks to find a block?

everybody is new to this so don't worry Wink

you're good to go with that setup, I suggest you reading this paper if you want to know more about pool hopping

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
Clipse
Hero Member
*****
Offline Offline

Activity: 504


View Profile
August 02, 2011, 09:57:07 PM
 #2077

Still getting something like this one  Grin

Quote
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 361, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/home/burp/bitHopper/work.py", line 65, in jsonrpc_lpcall
    lp.receive(body,server)
  File "/home/burp/bitHopper/lp.py", line 27, in receive
    response = json.loads(body)
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
exceptions.TypeError: expected string or buffer

I'm capturing mine... brb...

So what happened to you, did you turn to the "darkside" ?

You were also so vocal about us being locus eating the pools and flying away o_0

...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)
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 02, 2011, 10:00:13 PM
 #2078

haha no he changed his "poles"
edit: no pun

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
Clipse
Hero Member
*****
Offline Offline

Activity: 504


View Profile
August 02, 2011, 10:02:04 PM
 #2079

haha no he changed his "poles"

You see, thats the second person who started to poolhop and I totally understand why however where is the conviction that poolhopping is the anti-christ when they in fact end up doing it aswell.

It just shows how much people actually believe in what they type around here and that it doesnt take much to change their tonal poles Tongue

...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)
Starlightbreaker
Legendary
*
Offline Offline

Activity: 1204


★Nitrogensports.eu★


View Profile
August 02, 2011, 10:08:23 PM
 #2080

haha no he changed his "poles"

You see, thats the second person who started to poolhop and I totally understand why however where is the conviction that poolhopping is the anti-christ when they in fact end up doing it aswell.

It just shows how much people actually believe in what they type around here and that it doesnt take much to change their tonal poles Tongue
"money talks" sums it up.
Tongue


           █████████████████     ████████
          █████████████████     ████████
         █████████████████     ████████
        █████████████████     ████████
       ████████              ████████
      ████████              ████████
     ████████     ███████  ████████     ████████
    ████████     █████████████████     ████████
   ████████     █████████████████     ████████
  ████████     █████████████████     ████████
 ████████     █████████████████     ████████
████████     ████████  ███████     ████████
            ████████              ████████
           ████████              ████████
          ████████     █████████████████
         ████████     █████████████████
        ████████     █████████████████
       ████████     █████████████████
▄▄
██
██
██
██
██
██
██
██
██
██     
██
██
▬▬ THE LARGEST & MOST TRUSTED ▬▬
      BITCOIN SPORTSBOOK     
   ▄▄
██
██
██
██
██
██
██
██
██
██     
██
██
             ▄▄▄▄▀▀▀▀▄
     ▄▄▄▄▀▀▀▀        ▀▄▄▄▄           
▄▀▀▀▀                 █   ▀▀▀▀▀▀▀▄▄
█                    ▀▄          █
 █   ▀▌     ██▄        █          █               
 ▀▄        ▐████▄       █        █
  █        ███████▄     ▀▄       █
   █      ▐████▄█████████████████████▄
   ▀▄     ███████▀                  ▀██
    █      ▀█████    ▄▄        ▄▄    ██
     █       ▀███   ████      ████   ██
     ▀▄        ██    ▀▀        ▀▀    ██
      █        ██        ▄██▄        ██
       █       ██        ▀██▀        ██
       ▀▄      ██    ▄▄        ▄▄    ██
        █      ██   ████      ████   ██
         █▄▄▄▄▀██    ▀▀        ▀▀    ██
               ██▄                  ▄██
                ▀████████████████████▀




  CASINO  ●  DICE  ●  POKER   
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
   24 hour Customer Support   

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Pages: « 1 ... 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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 ... 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!