Bitcoin Forum
March 19, 2024, 10:09:31 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 141 142 143 144 145 146 147 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355541 times)
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
August 01, 2011, 06:19:52 PM
 #1921

There is nothing to revert when the file was not in the repository before. I didn't know git allowed such things to happen, well now I do Smiley
Ouch indeed - created a quick fix renaming pool.cfg to pools.cfg.

Sorry for that!

You can however just use the default for a minute and check out the nice clickable links to each pool on the statpage! Smiley

Oh, the json seems nice, I'll edit it in.
Edit: done

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

Posts: 1710842971

View Profile Personal Message (Offline)

Ignore
1710842971
Reply with quote  #2

1710842971
Report to moderator
1710842971
Hero Member
*
Offline Offline

Posts: 1710842971

View Profile Personal Message (Offline)

Ignore
1710842971
Reply with quote  #2

1710842971
Report to moderator
1710842971
Hero Member
*
Offline Offline

Posts: 1710842971

View Profile Personal Message (Offline)

Ignore
1710842971
Reply with quote  #2

1710842971
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.
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
August 01, 2011, 06:32:14 PM
 #1922

There is nothing to revert when the file was not in the repository before. I didn't know git allowed such things to happen, well now I do Smiley
Ouch indeed - created a quick fix renaming pool.cfg to pools.cfg.

Sorry for that!

You can however just use the default for a minute and check out the nice clickable links to each pool on the statpage! Smiley

Oh, the json seems nice, I'll edit it in.
Edit: done

Can you also add correct config for btcpool24.com. They have a JSON stats now at http://www.btcpool24.com/json_stats.php

Thank you.


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

Activity: 302
Merit: 250


View Profile
August 01, 2011, 06:35:33 PM
 #1923

Does anyone know what causes this error:
Code:
 File "/home/user/bitHopper/_newclient.py", line 1331, in _finishResponse
    connHeaders = self._parser.connHeaders.getRawHeaders('connection')
exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders'
Im trying to use nofeemining's new pool as a backup but I get the above error when trying to use it. they use the address: http://nofeemining.appspot.com now.
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
August 01, 2011, 07:14:35 PM
 #1924

haha sigh ive decided to just give up on bitclockers their system doesnt seem to handle more than 230Gh and everyone start to get cycled, it has nothing to do with being a hopper since I saw other users reporting they also keep getting idle miner, 20second reconnect.

Till they upgrade its just not sane to waste gpu cycles there.

...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)
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
August 01, 2011, 07:31:58 PM
 #1925

I have written a patch so that only the really wanted pools, that is pools you specify in the user.cfg are used. You don't have to specify all pools from the pools.cfg you would have to before, because of interpolation key requirements (like with btcg).

Code:
diff --git a/pool.py b/pool.py
index 6b5d8ca..571ca02 100644
--- a/pool.py
+++ b/pool.py
@@ -28,6 +28,9 @@ class Pool():
         if len(read) == 0:
             bitHopper.log_msg("user.cfg not found. You may need to move it from user.cfg.default")
             os._exit(1)
+
+        userpools = parser.sections()
+
         try:
             # determine if application is a script file or frozen exe
             if hasattr(sys, 'frozen'):
@@ -40,8 +43,9 @@ class Pool():
         if len(read) == 0:
             bitHopper.log_msg("pool.cfg not found.")
             os._exit(1)
+
         pools = parser.sections()
-        for pool in pools:
+        for pool in userpools:
             self.servers[pool] = dict(parser.items(pool))

         if self.servers == {}:
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
August 01, 2011, 07:36:33 PM
 #1926

Also: Why do I have to speficy api_* now though I only use a pool for backup? This wasn't required earlier…

I'm getting "Error in pool api for …" which is unnecessary for backup pools.

pool.py: api_pull should not include 'backup', should it?
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
August 01, 2011, 07:47:25 PM
 #1927

Also: Why do I have to speficy api_* now though I only use a pool for backup? This wasn't required earlier…

I'm getting "Error in pool api for …" which is unnecessary for backup pools.

pool.py: api_pull should not include 'backup', should it?

This is prob a slight mixup in code with regards to the charity pool mining that would mine at the backup pool with highest share count.

...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
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 07:51:17 PM
 #1928

@burp
nice feature, exactly what was needed man
you feel like making a git pull request ? Smiley

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

Activity: 111
Merit: 10


View Profile
August 01, 2011, 07:55:01 PM
 #1929

haha sigh ive decided to just give up on bitclockers their system doesnt seem to handle more than 230Gh and everyone start to get cycled, it has nothing to do with being a hopper since I saw other users reporting they also keep getting idle miner, 20second reconnect.

Till they upgrade its just not sane to waste gpu cycles there.

Yeah, I noticed they're lagging like crazy. The lag detection also interferes with cgminer's submit work queue which is submitting timed out shares to the new pool during LP switch-over. With the bitclockers lag this is adding up to 20% rejects for me. Is there a way to configure how many connection failures/or how long before a server is considered lagging? If not, I am going to look into this.

And a way to order backup pools like we could do with ryouiki's fork? It seems a scheduler would need to be created?

I have been running btcg as backup (crazy?) because of their recent insane luck +60% under difficulty. The connection is also a lot more stable than ars/eligius at <2% reject. I'm getting about 0.000049105/share.

I haven't been following this thread for a while and now have a lot of catching up to do Smiley

ALL.ME  ●●●  SOCIAL NETWORK OF THE BLOCKCHAIN TIME ●●●
▄▄▄▬▬▄▄▄  Bounty all.me ▶ Jan 29th - May 8th 2018  ▄▄▄▬▬▄▄▄
Facebook   ▲   Twitter   ▲   Telegram
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
August 01, 2011, 07:58:42 PM
 #1930

@burp
nice feature, exactly what was needed man
you feel like making a git pull request ? Smiley

I don't have a github account, and for such small patches I don't think I need to fork the project. Anyone is welcome to just include the patch.
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 08:09:34 PM
 #1931

@burp
nice feature, exactly what was needed man
you feel like making a git pull request ? Smiley

I don't have a github account, and for such small patches I don't think I need to fork the project. Anyone is welcome to just include the patch.

hehe in just a moment (pro copy-paster)

Your code is public domain or give rights to c00w ?

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

Activity: 98
Merit: 10


View Profile
August 01, 2011, 08:11:07 PM
 #1932

@burp
nice feature, exactly what was needed man
you feel like making a git pull request ? Smiley

I don't have a github account, and for such small patches I don't think I need to fork the project. Anyone is welcome to just include the patch.

hehe in just a moment (pro copy-paster)

Your code is public domain or give rights to c00w ?

My modification, that is the two lines of modification ^^, is under the do whatever you want to do with it license ;-) (OK, I think that is public domain)
Thanks for asking though Cheesy
djex
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 01, 2011, 08:21:41 PM
Last edit: August 01, 2011, 09:29:24 PM by djex
 #1933

Would it be possible to get a role so we can force bitHopper to mine on a certain pool and stay on that pool until you change the role? It could be something like mine_force or mine_lock. I've had a few times where a pools stats have gone down but the pool is still up and I want to continue to mine on it but have no way to force bitHopper to continue to mine the pool.

Edit: Also could we get the miner names colored green for online and red for offline? Say something like after 5 min of not submitting any shares consider the miner offline and color it red else color it green.

I'll look into possibly coding these myself but I'm having trouble sorting through this python code.

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
muyoso
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
August 01, 2011, 09:05:36 PM
 #1934

haha sigh ive decided to just give up on bitclockers their system doesnt seem to handle more than 230Gh and everyone start to get cycled, it has nothing to do with being a hopper since I saw other users reporting they also keep getting idle miner, 20second reconnect.

Till they upgrade its just not sane to waste gpu cycles there.

Yep, I agree.  This is the last round for bitclockers for me.  Getting under 100% efficiency with them because the last few rounds were long anyway.

I drink it up!
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
August 01, 2011, 10:00:05 PM
 #1935

So here are the monte carlo sim results after letting it crunch numbers overnight. Sim is based on one prop pool and one pps pool.

Your hopper on 0 to 0.43 * difficulty:


Your hopper on 2 to 4 * difficulty:


Any questions?

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

Activity: 504
Merit: 502


View Profile
August 01, 2011, 10:09:08 PM
 #1936

So here are the monte carlo sim results after letting it crunch numbers overnight. Sim is based on one prop pool and one pps pool.

Your hopper on 0 to 0.43 * difficulty:


Your hopper on 2 to 4 * difficulty:


Any questions?

My question is, what did you do to these frogs?

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

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
August 01, 2011, 10:18:04 PM
 #1937

My question is, what did you do to these frogs?

This is your brain on frogs. Any questions?

(is that reference just showing how old I am?)

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

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 10:25:02 PM
 #1938

I don't get it, there are 2 mixed pools or the upper is prop and the other is pps ?

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

Activity: 504
Merit: 502


View Profile
August 01, 2011, 10:26:52 PM
 #1939

My question is, what did you do to these frogs?

This is your brain on frogs. Any questions?

(is that reference just showing how old I am?)

Sorry it was referenced to the hosting, all I see is pictures of frogs Wink unvalidated domain to host images.

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

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
August 01, 2011, 10:35:05 PM
 #1940

My question is, what did you do to these frogs?

This is your brain on frogs. Any questions?

(is that reference just showing how old I am?)

Sorry it was referenced to the hosting, all I see is pictures of frogs Wink unvalidated domain to host images.

Ha! I thought it was a very clever reference to 'hopping'! Made me smile, anyway. I'll post everything on hoppersden plus stuff i won't post here, so look there tonight.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Pages: « 1 ... 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 141 142 143 144 145 146 147 ... 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!