Bitcoin Forum
December 09, 2016, 11:43:33 AM *
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 ... 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 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 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 333014 times)
EskimoBob
Legendary
*
Offline Offline

Activity: 910


Quality Printing Services by Federal Reserve Bank


View Profile
July 30, 2011, 06:58:56 AM
 #1641

c00w, your script is getting better all the time.  Smiley

I still like to come back to this old issue of switching pools for no reason aka "DNS lookup failures"

Code:
[09:50:56] RPC request [2a769000] submitted to ozco.in
[09:50:59] mtred: 3165996
[09:50:59] RPC request [8289e000] submitted to ozco.in
Caught, jsonrpc_call insides
DNS lookup failed: address 'ozco.in' not found: [Errno -2] Name or service not known. <--- really? This can/will cause unnecessary hopping :( 
[09:51:04] RPC request [f65c1000] submitted to ozco.in
[09:51:05] RPC request [getwork] submitted to ozco.in
[09:51:06] triple: 8156248 <-- they really need some help about now

Cheers and thank you for all your work.

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

Posts: 1481283813

View Profile Personal Message (Offline)

Ignore
1481283813
Reply with quote  #2

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

Posts: 1481283813

View Profile Personal Message (Offline)

Ignore
1481283813
Reply with quote  #2

1481283813
Report to moderator
1481283813
Hero Member
*
Offline Offline

Posts: 1481283813

View Profile Personal Message (Offline)

Ignore
1481283813
Reply with quote  #2

1481283813
Report to moderator
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 30, 2011, 07:03:40 AM
 #1642

Eskimo:
Did it switch?

And DNS Lookup Failures is an error. I can write code to just retry though on that specific error if you are proccesing getworks. If you are submitting work it will currently never change servers although it will mark them as lagging.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
July 30, 2011, 07:28:08 AM
 #1643

@c00w - I'm getting a stats page error like before. Only it's happening when I run from the python.exe. Running from idle, it works fine. I believe the offending code is:

Code:
D:\BitHopper\c00w-bitHopper\website.py, line 45 in render_GET
43   except:
44    index = 'index.html'
45   file = open(index, 'r')
46   linestring = file.read()
Locals
index 'index.html'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'index.html'

That's the last bit of info on the stats page.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 30, 2011, 07:30:28 AM
 #1644

@macboy
What exactly are you running it with? Can you paste the exact command line?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
July 30, 2011, 07:32:51 AM
 #1645

@macboy
What exactly are you running it with? Can you paste the exact command line?

I'm using
Code:
D:\BitHopper\Python27\python.exe D:\BitHopper\c00w-bitHopper\bitHopper.py
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 30, 2011, 07:34:12 AM
 #1646

Try:
cd D:\BitHopper\c00w-bitHopper\
D:\BitHopper\Python27\python.exe bitHopper.py

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
July 30, 2011, 07:41:09 AM
 #1647

Try:
cd D:\BitHopper\c00w-bitHopper\
D:\BitHopper\Python27\python.exe bitHopper.py

Works perfect. My shortcut had been working since my last issue. I just changed the start in directory on the shortcut, and it works as well. Thanks again.

I think I saw the mine friendly role was added. Is that working as discussed?
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 30, 2011, 07:43:07 AM
 #1648

Um maybe?
I haven't tested it. It shouldn't break anything dramatically however...

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
July 30, 2011, 07:46:20 AM
 #1649

I'll check it out. Thanks.
EskimoBob
Legendary
*
Offline Offline

Activity: 910


Quality Printing Services by Federal Reserve Bank


View Profile
July 30, 2011, 08:00:47 AM
 #1650

Feature request:

1) Please add thousand separators to stat page (Shares, User shares etc).
2) Please add a button to force a jump to a selected pool  
3) check pool in "api_disable" status BEFORE hopping to backup pool

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

Activity: 910


Quality Printing Services by Federal Reserve Bank


View Profile
July 30, 2011, 08:10:20 AM
 #1651

Eskimo:
Did it switch?

And DNS Lookup Failures is an error. I can write code to just retry though on that specific error if you are proccesing getworks. If you are submitting work it will currently never change servers although it will mark them as lagging.

Thanks for the clarification and you are correct, it did not switch. 

I am not sure are those related or not but here is one more error, where long poll can cause switching:
Code:
[11:00:07] RPC request [getwork] submitted to BTC World
[11:00:07] LP triggered from server btcworld
[11:00:07] Reading LP Response failed
[11:00:08] RPC request [getwork] submitted to BTC World
[11:00:09] LP triggered from server btcworld
[11:00:09] Reading LP Response failed
[11:00:12] nofeemining: 2520502
[11:00:12] Server change to ozco, telling client with LP
[11:00:12] LP triggered serving miner
[11:00:13] LP Call ozco.in:8332/LP
[11:00:13] RPC request [getwork] submitted to ozco.in

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

Activity: 1960


Poor impulse control.


View Profile WWW
July 30, 2011, 08:17:10 AM
 #1652

I'm getting database errors still. How do you reset the db?

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

Activity: 196


View Profile
July 30, 2011, 08:27:18 AM
 #1653

delete stats.db.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Endeavour79
Full Member
***
Offline Offline

Activity: 169



View Profile WWW
July 30, 2011, 08:43:10 AM
 #1654

[18:39:28] Error in pool api for ozco
[18:59:11] Error in user api for btcg
[18:59:11] Error in pool api for arsbitcoin
[18:59:11] Error in pool api for btcg
[18:59:11] Error in pool api for bclc
[18:59:11] Error in pool api for eligius

How can I fix this?

My config below..
Code:
[btcg]
name:BTC Guild  
mine_address:uswest.btcguild.com:8332  
api_address:https://www.btcguild.com/pool_stats.php
user_api_address:https://www.btcguild.com/api.php?api_key=%(btcguild_user_apikey)s
role:mine
api_method:json
api_key:round_shares
user: ***
pass: ***
btcguild_user_apikey: ***

[eligius]
name:eligius
mine_address:su.mining.eligius.st:8337
pass:x
role:mine
#CHANGE THIS
#http://eligius.st/wiki/index.php/Getting_Started
user:***

[bclc]
name:bitcoins.lc      
mine_address:bitcoins.lc:8080    
api_address:https://www.bitcoins.lc/stats.json
role:mine
api_method:json
api_key:round_shares
user:***
pass:***

[arsbitcoin]
name:arsbitcoin
mine_address:arsbitcoin.com:8344
role:mine
#CHANGE THIS
#https://arsbitcoin.com/register.php
user:***
pass:***

#[ozco]
#name:ozco.in
#mine_address:ozco.in:8332
#api_address:https://ozco.in/api.php
#role:mine
#api_method:json
#api_key:shares
#CHANGE THIS
#https://ozco.in/register.php
#user:***
#pass:***

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
Starlightbreaker
Legendary
*
Offline Offline

Activity: 1204


★Nitrogensports.eu★


View Profile
July 30, 2011, 08:56:35 AM
 #1655

Is there any way to make deepbit as backup on the proxy?
I know i can split hashpower, but it's not too..optimal.


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




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

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
user7516
Jr. Member
*
Offline Offline

Activity: 41


View Profile
July 30, 2011, 08:59:02 AM
 #1656

Is there any way to make deepbit as backup on the proxy?
I know i can split hashpower, but it's not too..optimal.
Code:
[deepbit]
name: deepbit.net
mine_address: pit.deepbit.net:8332
role:backup
#CHANGE THIS
user: 11111
pass: 11111
msb8r
Member
**
Offline Offline

Activity: 78


View Profile WWW
July 30, 2011, 09:11:41 AM
 #1657

[18:39:28] Error in pool api for ozco
[18:59:11] Error in user api for btcg
[18:59:11] Error in pool api for arsbitcoin
[18:59:11] Error in pool api for btcg
[18:59:11] Error in pool api for bclc
[18:59:11] Error in pool api for eligius

How can I fix this?

My config below..

BTCG doesn't have pool-shares in the api anymore, hence it defaults as disabled. If you want to use BTCG use it as backup.
Eligius and ArsB are both *PPS, no api key defined, hence trying to look any information up will fail.
ozco I don't see any problems with, except you have commented it out, so it shouldn't report anything at all..

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

Activity: 69


respecttheslider


View Profile
July 30, 2011, 09:21:27 AM
 #1658

would like to try to run in win32
installed Twisted 11.0.0 for Python 2.7 ( msi |  exe)
not sure what to do
thanks
Endeavour79
Full Member
***
Offline Offline

Activity: 169



View Profile WWW
July 30, 2011, 09:24:10 AM
 #1659

[18:39:28] Error in pool api for ozco
[18:59:11] Error in user api for btcg
[18:59:11] Error in pool api for arsbitcoin
[18:59:11] Error in pool api for btcg
[18:59:11] Error in pool api for bclc
[18:59:11] Error in pool api for eligius

How can I fix this?

My config below..

BTCG doesn't have pool-shares in the api anymore, hence it defaults as disabled. If you want to use BTCG use it as backup.
Eligius and ArsB are both *PPS, no api key defined, hence trying to look any information up will fail.
ozco I don't see any problems with, except you have commented it out, so it shouldn't report anything at all..

Thank you..Was quoted out by intention.

So which Pools would you recommend right now??
Any way to add deppbit?

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
msb8r
Member
**
Offline Offline

Activity: 78


View Profile WWW
July 30, 2011, 09:29:38 AM
 #1660

So which Pools would you recommend right now??
Mine: Ozco, Mt Red, Nofee, TripleM, Polmine, bclc (I'm probably pretty much alone on this one).
Backup: bitp.it and ArsB

Any way to add deppbit?

See 4 posts up

New Bitcoin directory @ http://btcdir.org/
Pages: « 1 ... 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 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 ... 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!