Bitcoin Forum
January 22, 2017, 12:32:22 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 134 135 136 137 138 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 336032 times)
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
July 30, 2011, 09:09:34 PM
 #1741

have a question.

Playing with the new phatk 2.0 kernel.. it doesnt work well right now.. doesnt work with linux or the guiminer.

It does appear to work somewhat with AOCLBF 1.75, and does report a higher mhash for me by 2% and this is over the diablo's latest modded kernel.(check it out)

Ok i havent really ever used this miner...but it seems to be reporting a much higher rejection rate than what i see reported on the web stats page and am wondering if this is just due to how the miner works now and AOCLBF is just wrong about the rejects?


mooo for rent
1485088342
Hero Member
*
Offline Offline

Posts: 1485088342

View Profile Personal Message (Offline)

Ignore
1485088342
Reply with quote  #2

1485088342
Report to moderator
1485088342
Hero Member
*
Offline Offline

Posts: 1485088342

View Profile Personal Message (Offline)

Ignore
1485088342
Reply with quote  #2

1485088342
Report to moderator
1485088342
Hero Member
*
Offline Offline

Posts: 1485088342

View Profile Personal Message (Offline)

Ignore
1485088342
Reply with quote  #2

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

Posts: 1485088342

View Profile Personal Message (Offline)

Ignore
1485088342
Reply with quote  #2

1485088342
Report to moderator
1485088342
Hero Member
*
Offline Offline

Posts: 1485088342

View Profile Personal Message (Offline)

Ignore
1485088342
Reply with quote  #2

1485088342
Report to moderator
Sukrim
Legendary
*
Offline Offline

Activity: 1904


View Profile
July 30, 2011, 09:11:30 PM
 #1742

Currently I'm researching autobuild mechanisms...
Alright, I'm runnning into issues with paths.

Could you please change references to index.html, stats.db and pool.cfg from:
Code:
try:
    read = parser.read(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'pool.cfg'))
to (taken partially from http://en.w3support.net/index.php?db=so&id=404744)
Code:
try:
    # determine if application is a script file or frozen exe
    if hasattr(sys, 'frozen'):
        application_path = os.path.dirname(sys.executable)
    elif __file__:
        application_path = os.path.dirname(__file__)

    read = parser.read(os.path.join(application_path, 'pool.cfg'))
?

This one above goes in pool.py and for website.py there's something very similar:

Code:
try:
    # determine if application is a script file or frozen exe
    if hasattr(sys, 'frozen'):
        application_path = os.path.dirname(sys.executable)
    elif __file__:
        application_path = os.path.dirname(__file__)

    index = parser.read(os.path.join(application_path, 'index.html'))

database.py is written a bit differently - here you need:
Code:
try:
    # determine if application is a script file or frozen exe
    if hasattr(sys, 'frozen'):
        DB_DIR = os.path.dirname(sys.executable)
    elif __file__:
        DB_DIR = os.path.dirname(__file__)
    DB_DIR = os.path.dirname(os.path.abspath(__file__))
and I you also need to import sys there it seems.

Would be a great thing to have and shouldn't really impact anything.


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

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 09:22:39 PM
 #1743

yo have it tested sukrim ? I'll make a pull req if you know it works for the purpose

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

Activity: 196


View Profile
July 30, 2011, 09:41:28 PM
 #1744

Errors with role:
Um check you pool.cfg and make sure very pool has its role specified. Thats the error. Some pool doesn't have a role.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
msb8r
Member
**
Offline Offline

Activity: 78


View Profile WWW
July 30, 2011, 09:43:34 PM
 #1745

Also had Mt.Red Api disabled.  Restart fixed it.

seems like mtred slowed down their api update Sad

My guess is that pool op did some maintenance. I had no updates on shares for about an hour, but things look fine now. Also after the no-update period the invalid block has been removed from unconfirmed balance..

New Bitcoin directory @ http://btcdir.org/
Sukrim
Legendary
*
Offline Offline

Activity: 1904


View Profile
July 30, 2011, 10:00:38 PM
 #1746

yo have it tested sukrim ? I'll make a pull req if you know it works for the purpose
At least it throws no errors on my system but now works fine when built with PyInstaller. Dunno what'll happen exactly if these "except:" blocks are hit (but that's anyways not what I changed) but the change itself had no effect on both "from source" and "with runtime included" versions that I could observe.

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

Activity: 196


View Profile
July 30, 2011, 10:02:46 PM
 #1747

Just make the pull request. I'll merge it in and if it breaks I'll fix it. Its minor.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Clipse
Hero Member
*****
Offline Offline

Activity: 504


View Profile
July 30, 2011, 10:07:04 PM
 #1748

Just make the pull request. I'll merge it in and if it breaks I'll fix it. Its minor.

Can you have a look at my namecoin mining suggestion few posts up.

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

Activity: 196


View Profile
July 30, 2011, 10:13:16 PM
 #1749

Um, I can see scraping the btc exchange rate and the nmc exchange rate to deal with the fact that difficulty doesn't match the price exchange, we already use the nmcdifficulty/btcdifficulty ratio. The website doesn't reflect that however.

So yeah we should scrape that and only use namepools if the two prices make sense. I agree completely.

EDIT: However I don't use namepools and I added in the capability for those who wish to. If you are using namepools you should check the exchange rates and make an informed decision. If you modify bitHopper to do it for you I welcome the pull request.

EDIT2: basically as long as nmc_price/nmc_difficulty > bitcoin_price/bitcoin_difficulty you should be mining namecoins. However if there are no pools to hop with bitcoin then if nmc_price/nmc_difficulty > .77 * bitcoin_price/bitcoin_difficulty you should hop them.

And now that I've though about it I might just code it in...

EDIT3: And if nmc price/difficulty > btc price/diff but there are no pools to hop then hop btc pools if nmc price/diff *.77 < btc price/diff

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
muyoso
Member
**
Offline Offline

Activity: 84



View Profile
July 30, 2011, 10:25:58 PM
 #1750


My guess is that pool op did some maintenance. I had no updates on shares for about an hour, but things look fine now. Also after the no-update period the invalid block has been removed from unconfirmed balance..

MtRed had an invalid block too?  Thats like the third invalid block in the last couple of days for the various pools I mine.

I drink it up!
msb8r
Member
**
Offline Offline

Activity: 78


View Profile WWW
July 30, 2011, 10:39:40 PM
 #1751


My guess is that pool op did some maintenance. I had no updates on shares for about an hour, but things look fine now. Also after the no-update period the invalid block has been removed from unconfirmed balance..

MtRed had an invalid block too?  Thats like the third invalid block in the last couple of days for the various pools I mine.

This was an invalid block from 5-6 days (?) ago, that stayed in the unconfirmed payout..

Edit: Invalid block was from 2011-07-21

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

Activity: 504


View Profile
July 30, 2011, 10:45:34 PM
 #1752

Um, I can see scraping the btc exchange rate and the nmc exchange rate to deal with the fact that difficulty doesn't match the price exchange, we already use the nmcdifficulty/btcdifficulty ratio. The website doesn't reflect that however.

So yeah we should scrape that and only use namepools if the two prices make sense. I agree completely.

EDIT: However I don't use namepools and I added in the capability for those who wish to. If you are using namepools you should check the exchange rates and make an informed decision. If you modify bitHopper to do it for you I welcome the pull request.

EDIT2: basically as long as nmc_price/nmc_difficulty > bitcoin_price/bitcoin_difficulty you should be mining namecoins. However if there are no pools to hop with bitcoin then if nmc_price/nmc_difficulty > .77 * bitcoin_price/bitcoin_difficulty you should hop them.

And now that I've though about it I might just code it in...

This will possibly create 2 extra effects, other than just pure profitibility right now for hoppers.

1.) burst of namecoin mining traffic - creating more interest possibly and also get to the next difficulty drop a bit faster albeit the drop would be less.
2.) possible value increase since more people might decide to hop it aswell thus creating higher hashing network mostly with bursts.

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

Activity: 84



View Profile
July 30, 2011, 10:46:08 PM
 #1753

This was an invalid block from 5-6 days (?) ago, that stayed in the unconfirmed payout..

Edit: Invalid block was from 2011-07-21

Oh, thats weird.

On a different note, does anyone have mine_slush working?  Its supposed to jump away from slush at .1*difficulty shares apparently, but the last time I tried it, it would stay until around .4*difficulty shares.  Seems other people have been experiencing the same thing.  I haven't tried it on the newest version of c00w's hopper though.

I drink it up!
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 10:52:33 PM
 #1754

pull request... done

@sukrim:  The code you released is public domain or you transfer copyright to c00w?

"mine_friendly" should make it as "mine_help" (my opinion)

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

Activity: 1904


View Profile
July 30, 2011, 10:56:09 PM
 #1755

Similar to mine_friendly (or charity or whatever) I'd like to develop a patch to extend the backup pools to all hopping proof ones and hop to the one(s) that have the highes share count currently.

Parapinaikos, that's not exactly as I suggested it - at least in the pool.py and website.py version of your pull request "application_path" isn't even used. Also __file__ will always exist, it will just point to a wrong path when being frozen ("compiled").

Edit:
For clarification: the code I posted was the whole "try:" block. Why did you do the changes, were there errors?

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

Activity: 196


View Profile
July 30, 2011, 10:57:10 PM
 #1756

Yeah, mine_friendly is the wrong name. I might do a search and replace to change it to mine_charity.

EDIT:
__file__ doesn't always exist. just a heads up.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 11:06:17 PM
 #1757

Similar to mine_friendly (or charity or whatever) I'd like to develop a patch to extend the backup pools to all hopping proof ones and hop to the one(s) that have the highes share count currently.

Parapinaikos, that's not exactly as I suggested it - at least in the pool.py and website.py version of your pull request "application_path" isn't even used. Also __file__ will always exist, it will just point to a wrong path when being frozen ("compiled").

Edit:
For clarification: the code I posted was the whole "try:" block. Why did you do the changes, were there errors?

my bad, there were no errors I copy pasted poorly Sad

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

Activity: 644


View Profile
July 30, 2011, 11:21:59 PM
 #1758

at the current difficulty and exchange rates namecoin mining should never trigger

Clipse
Hero Member
*****
Offline Offline

Activity: 504


View Profile
July 30, 2011, 11:38:19 PM
 #1759

at the current difficulty and exchange rates namecoin mining should never trigger

It wont the way its implemented atm however if implemented the way I proposed it will enable quite a few times optimally and profitably.

The approach I suggested(that c00w will implement afaik) is to stay for exactly the same variable time to difficulty so that you would be able to either A.) hit it lucky and get paid more than BTC worth or b.) get paid longterm the same worth as BTC.

Its actually quite a practical approach for the times that there is no prop pools <43% of difficulty. This method should also give you the chance of higher returns if lucky or similar returns if unlucky as EMPPS pools.

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

Activity: 169



View Profile WWW
July 30, 2011, 11:56:00 PM
 #1760

Why does bithopper stop polling ozco.in stats after a while (approx ~1-2h)?

Any ideas?

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
Pages: « 1 ... 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 134 135 136 137 138 ... 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!