Bitcoin Forum
December 04, 2016, 08:25:39 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 ... 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 332641 times)
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
August 01, 2011, 06:03:02 PM
 #1921

Does reverting not work/help?

Anyways, the bmunion fail is maybe part of their "heavily being worked on security" https://bitcointalk.org/index.php?topic=32921.msg417892#msg417892 Grin

Seems like a very sophisticated system to... being able to cheat your own miners unnoticed at will!

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
1480883139
Hero Member
*
Offline Offline

Posts: 1480883139

View Profile Personal Message (Offline)

Ignore
1480883139
Reply with quote  #2

1480883139
Report to moderator
1480883139
Hero Member
*
Offline Offline

Posts: 1480883139

View Profile Personal Message (Offline)

Ignore
1480883139
Reply with quote  #2

1480883139
Report to moderator
1480883139
Hero Member
*
Offline Offline

Posts: 1480883139

View Profile Personal Message (Offline)

Ignore
1480883139
Reply with quote  #2

1480883139
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480883139
Hero Member
*
Offline Offline

Posts: 1480883139

View Profile Personal Message (Offline)

Ignore
1480883139
Reply with quote  #2

1480883139
Report to moderator
1480883139
Hero Member
*
Offline Offline

Posts: 1480883139

View Profile Personal Message (Offline)

Ignore
1480883139
Reply with quote  #2

1480883139
Report to moderator
gnaget
Member
**
Offline Offline

Activity: 112


View Profile
August 01, 2011, 06:05:30 PM
 #1922

Oh well, fantastic choice to put pool.cfg in the repository after it was used as a custom user configuration. I had several customized pool configurations there, not to mention all the usernames and passwords. Now everything is lost during the pull.

A warning to everyone: backup your pool.cfg before pulling or commit it to the repository and merge, otherwise it's los!

Ouch man, that sucks.  I'm glad I haven't pulled it yet
burp
Member
**
Offline Offline

Activity: 98


View Profile
August 01, 2011, 06:06:27 PM
 #1923

Does reverting not work/help?

Anyways, the bmunion fail is maybe part of their "heavily being worked on security" https://bitcointalk.org/index.php?topic=32921.msg417892#msg417892 Grin

Seems like a very sophisticated system to... being able to cheat your own miners unnoticed at will!

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
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
August 01, 2011, 06:18:25 PM
 #1924

api_key: <br/>Round Shares:([ 0-9]+)<br/>

For BTCPool24.com

Missing the "/" after "br"...
Adding them fixed it.

They have json now, should we use that?

http://www.btcpool24.com/json_stats.php


Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
Sukrim
Legendary
*
Offline Offline

Activity: 1848


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

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://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
EskimoBob
Legendary
*
Offline Offline

Activity: 910


Quality Printing Services by Federal Reserve Bank


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

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
Full Member
***
Offline Offline

Activity: 126


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

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


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

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


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

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


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

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


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

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
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


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

@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: 98


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

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

Activity: 98


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

@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
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


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

@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


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

@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


View Profile
August 01, 2011, 08:21:41 PM
 #1937

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



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

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


Poor impulse control.


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

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


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

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

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!