Bitcoin Forum
April 16, 2024, 11:14:25 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 141 142 143 144 145 146 147 148 149 150 151 152 153 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355546 times)
MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 07:23:22 PM
 #2041

@beef
You have to run with --scheduler SliceScheduler

@Magnet
You need the latest version to get Lp working. So no but it'll help. Does anyone pool have <40% shares? besides that one?

Bloodys is at 11%

I'll try the update!
1713309265
Hero Member
*
Offline Offline

Posts: 1713309265

View Profile Personal Message (Offline)

Ignore
1713309265
Reply with quote  #2

1713309265
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713309265
Hero Member
*
Offline Offline

Posts: 1713309265

View Profile Personal Message (Offline)

Ignore
1713309265
Reply with quote  #2

1713309265
Report to moderator
1713309265
Hero Member
*
Offline Offline

Posts: 1713309265

View Profile Personal Message (Offline)

Ignore
1713309265
Reply with quote  #2

1713309265
Report to moderator
1713309265
Hero Member
*
Offline Offline

Posts: 1713309265

View Profile Personal Message (Offline)

Ignore
1713309265
Reply with quote  #2

1713309265
Report to moderator
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 02, 2011, 07:26:44 PM
 #2042

...................................
Testing it!
How often should it hop?

Watch out MaGNeT, you're entering attraction mode with bitHopper,  seems like you changed poles lately Tongue

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

Activity: 476
Merit: 250


moOo


View Profile
August 02, 2011, 07:27:54 PM
 #2043

trying to add a new pool but i have no regex skills to speak of and cant hack any of the examples to make it work.

can someone look at https://btcserv.net/pool/round-stats/

and help me figure out an api key?

mooo for rent
MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 07:28:02 PM
 #2044

The reasons flowers is the most profitable is he spreads the shares over all available pools pretty evenly. We just implemented the same system basically.

Share based slicing would make it so we work towards each pool getting exactly the same number of shares. This would be the most even and hopefully a little more profitable although not much.

So the reason flowers is more profitable is he hops more. Which is the point. He doesn't hop too much. In fact with our new system we should technically be able to do every getwork from a different pool if we had enough.

Client based hopping?
Um probably. Eventually. A lot of work needs to be done before that happens.

Testing it!
How often should it hop?

Watch out MaGNeT, you're entering attraction mode with bitHopper,  seems like you changed poles lately Tongue

Yup.
MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 07:35:46 PM
 #2045

@beef
You have to run with --scheduler SliceScheduler

@Magnet
You need the latest version to get Lp working. So no but it'll help. Does any pool have <40% shares? Besides that one?

It now seems to switch about every 3 minutes or so.

When a pool goes down (red), it doesn't switch over to the other "mine" pool (with even lower shares) but to the "backup" pool.
Bug or feature?
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
August 02, 2011, 07:37:03 PM
 #2046

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
 

While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
August 02, 2011, 07:37:53 PM
 #2047

Gah, early adopters have it hard Smiley

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

with latest version.
MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 07:50:25 PM
 #2048

Gah, early adopters have it hard Smiley

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

with latest version.

Yup, I have the same errors.
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 02, 2011, 07:53:58 PM
Last edit: August 02, 2011, 08:09:41 PM by paraipanakos
 #2049

it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would be for one last time, the cfg structure has changed) and start it up for testing

edit: it worked for me the first time I ran it

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

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 07:55:57 PM
 #2050

it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, 4 hours ago Tongue

edit: I deleted everything, copied fresh bithopper to the folder and put "pools.cfg" and "user.cfg" back in the folder, still the errors.
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 02, 2011, 08:00:21 PM
 #2051

it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

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

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 08:01:45 PM
 #2052

it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

I made a typo so I kept getting errors, but found it and fixed it Tongue

Now c00w must be looking for this one  Grin
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 02, 2011, 08:05:02 PM
 #2053

it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

I made a typo so I kept getting errors, but found it and fixed it Tongue

Now c00w must be looking for this one  Grin

haha I think he knows when he breaks something, it worked for some and didn't for others, go figure

edit: btw, where was your typo ?

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

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 08:10:57 PM
 #2054

it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

I made a typo so I kept getting errors, but found it and fixed it Tongue

Now c00w must be looking for this one  Grin

haha I think he knows when he breaks something, it worked for some and didn't for others, go figure

edit: btw, where was your typo ?

Deleted something from an API line while adding Bloodys Tongue
MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 02, 2011, 08:16:49 PM
 #2055

I put back the backup I made before changing to the slicer update and no errors so far.
Didn't see the error before the LP fix, so must be something in those 2 files?
msb8r
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile WWW
August 02, 2011, 08:17:27 PM
 #2056

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?

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

Activity: 476
Merit: 250


moOo


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

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

Activity: 196
Merit: 100


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

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

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Tmoney
Newbie
*
Offline Offline

Activity: 40
Merit: 0


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

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


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

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