Pages:
Author

Topic: bitHopper: Python Pool Hopper Proxy - page 71. (Read 355678 times)

sr. member
Activity: 434
Merit: 250
August 06, 2011, 04:13:19 PM
Yeah works great now for slush. Right after a block is found it goes to processing, then to none. If you submitted shares it then goes to your reward. It's a slow process there. It appears as though it says "none" on old blocks when zero shares were submitted and 0.00000000 when shares were submitted but decayed to nothingness.
legendary
Activity: 2955
Merit: 1049
August 06, 2011, 04:08:51 PM
As I can see now mine_slush is working, but
question:
very often I see on my
Block history:
Your reward                               0.00000000
and on the other side
Your reward                               none

do I feel correct that if it is           none                  then I have no (0) shares
and if I see                                0.00000000         I have too less shares for counting?
sr. member
Activity: 434
Merit: 250
August 06, 2011, 04:06:40 PM
Sounds pretty good to me, though I know less than nothing about regex. Smiley

Either way it's still not working...unfortunately. I have this for pools.cfg + user.cfg:

[namebit]
name: Namebit.org
namecoin: Yep
mine_address: pool.namebit.org:10000
api_address: http://namebit.org/
api_method: re
api_key: current_share_count">(\d+)
url: http://namebit.org/details?username=http%3A%2F%2Fnamebit.org%2Fmy_account%2F(user)s

[Namebit]
# Namecoin pool, use mine_nmc . Good for hopping if you want some namecoins
#http://namebit.org/
#CHANGE THIS (if you want)
role: mine_nmc
user: Nxxxxxxxxxxxxxxxxxxx
pass: x
#passwords can be anything on namebit.org


member
Activity: 78
Merit: 10
August 06, 2011, 03:58:40 PM
ahh crap yeah missed the "

and i hate to waste c00ws thread learning... but the

(\d+) is equiv to ([0-9]+) and it doesnt matter if I am using c00ws or ryouiki?


when their is a comma.. like ([,0-9]+) is it  (,\d+)

eh I need to read some regex for dummies who are slightly slow and might have been hit in the head too many times


[,0-9]+ means one instance or more of any of the characters ",0123456789"
\d+ means 1 or more instances of digits (0123456789) (\d is "shorthand" for digits, like \s is short for whitespaces)

,\d+ would return ",234" from "1,234,567"

someone with better regexp-fu than me, correct me if i'm completely off-base Smiley
sr. member
Activity: 476
Merit: 250
moOo
August 06, 2011, 03:47:55 PM
ahh crap yeah missed the "

and i hate to waste c00ws thread learning... but the

(\d+) is equiv to ([0-9]+) and it doesnt matter if I am using c00ws or ryouiki?


when their is a comma.. like ([,0-9]+) is it  (,\d+)

eh I need to read some regex for dummies who are slightly slow and might have been hit in the head too many times

member
Activity: 78
Merit: 10
August 06, 2011, 03:41:02 PM
Code:
#api_key: current_share_count>(\d+)


I'm not even good enough to call my self a newb but



Code:
#api_key: current_share_count>([ 0-9]+)

that should work

polmine is up for me.. could be pathing errors for you



This should work. Notice the missing " in both previous examples (which I believe both should work fine otherwise)

Code:
api_key: current_share_count">(\d+)
sr. member
Activity: 434
Merit: 250
August 06, 2011, 03:40:54 PM
Thanx I'll give it a whirl.

I dunno, it's an https, and I read of some having issues with twisted and https', but it used to work fine. I reinstalled twisted just in case and have quadruple checked my config for them. I'm also unable to visit their webpage from any computer in the house which would seem to amount to ip=ban. Great mining site too.
sr. member
Activity: 476
Merit: 250
moOo
August 06, 2011, 03:34:38 PM
Code:
#api_key: current_share_count>(\d+)


I'm not even good enough to call my self a newb but



Code:
#api_key: current_share_count>([ 0-9]+)

that should work

polmine is up for me.. could be pathing errors for you

sr. member
Activity: 434
Merit: 250
August 06, 2011, 03:26:07 PM
I must be in the doghouse. I can't even visit their webpage. Roll Eyes
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 06, 2011, 03:12:25 PM

Is Polmine.pl down for everyone or just me?

Looks up to me.
edit: looks like stats don't update
edit2: they update!
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 06, 2011, 03:08:12 PM

@magnet
Typo's everywhere! I think I fixed it again.

Have it running for 1 minute now, looks like the errors are gone  Grin
sr. member
Activity: 434
Merit: 250
August 06, 2011, 03:07:44 PM
Yeah! Finally whitelisted. To the spaminator! Grin

Could someone with regex knowhow take a peek at namebit.org's api? Last time I had it working was in an old ryo build, but I like c00w's altslicer implementation. Here's what I ported from the last working:

#[namebit]
#name: Namebit.org
#namecoin: Yep
#mine_address: pool.namebit.org:10000
#api_address: http://namebit.org/
#api_method: re
#api_key: current_share_count>(\d+)
#url: http://namebit.org/details?username=http%3A%2F%2Fnamebit.org%2Fmy_account%2F(user)s

TIA

@eskimo, have you tried --scheduler=AltSliceScheduler? It's operation is a good deal more intuitive to my mind.
 
Is Polmine.pl down for everyone or just me?
full member
Activity: 196
Merit: 100
August 06, 2011, 03:03:42 PM
@Eskimo
The default is time based slicing. Each server gets equal time per server round.
So if you start partway through a server round it will be bouncing between all three equally without weighting there percentage. Its simple and it works. If you want to use a more advanced slice scheduler user altsclicescheduler.

The default does not look at shares. It doesn't look at rate. It only does time per server round. By server round I mean the pools time to generate a block.

@magnet
Typo's everywhere! I think I fixed it again.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 06, 2011, 02:57:09 PM
Update? I think I fixed it.

Quote
[20:54:41] Updating Difficulty
[20:54:41] 1888786.7053531
[20:54:41] Updating NameCoin Difficulty
[20:54:42] 94037.96
[20:54:42] Checking Database
[20:54:44] Database Setup
[20:54:44] writing to database
[20:54:44] Using default scheduler.
[20:54:44] Server change to bitp
[20:54:45] RPC request [getwork] submitted to bitp.it
[20:54:45] triple: 4021527
[20:54:45] btcworld: 1443078
[20:54:45] bloodys: 1091095
[20:54:45] rfc: 1612415
[20:54:45] bclc: 672358
[20:54:45] Server change to bclc
[20:54:45] eligius: 3641985
[20:54:45] bcpool: 5542610
[20:54:45] slush: 1608302
[20:54:46] LP Call pool.bitp.it:8334/longpoll
[20:54:46] polmine: 1176482
[20:54:46] mtred: 1702714
[20:54:46] bithasher: 815150
[20:54:46] Server change to bithasher
[20:54:46] nofeemining: 4821613
[20:54:46] Error in pool api for nofeemining
[20:54:46] bitclockers: 2805101
[20:54:46] Error in pool api for bitclockers
[20:54:46] bitp: 147867
[20:54:46] Error in pool api for bitp
[20:54:46] digbtc: 903361
[20:54:46] Error in pool api for digbtc
[20:54:46] RPC request [getwork] submitted to BitHasher.com
[20:54:46] btcpool24: 1074381
[20:54:46] Error in pool api for btcpool24
[20:54:46] ozco: 8719893
[20:54:46] Error in pool api for ozco
[20:54:46] LP Call bithasher.com:8332/LP
[20:54:46] btcmonkey: 3250216
[20:54:46] Error in pool api for btcmonkey
[20:54:47] RPC request [getwork] submitted to BitHasher.com
[20:54:48] RPC request [getwork] submitted to BitHasher.com
[20:54:49] RPC request [getwork] submitted to BitHasher.com
[20:54:51] RPC request [getwork] submitted to BitHasher.com
[20:54:51] RPC request [getwork] submitted to BitHasher.com
[20:54:52] RPC request [getwork] submitted to BitHasher.com
[20:54:52] RPC request [422a5000] submitted to BitHasher.com
[20:54:52] RPC request [getwork] submitted to BitHasher.com
[20:54:53] RPC request [933d9000] submitted to BitHasher.com
[20:54:54] RPC request [getwork] submitted to BitHasher.com
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1162, in r
un
    self.mainLoop()
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1171, in m
ainLoop
    self.runUntilCurrent()
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 793, in ru
nUntilCurrent
    call.func(*call.args, **call.kw)
  File "C:\Python27\lib\site-packages\twisted\internet\task.py", line 194, in __
call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- ---
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 133, in m
aybeDeferred
    result = f(*args, **kw)
  File "C:\bitHopper\bitHopper.py", line 128, in server_update
    if self.scheduler.server_update():
  File "C:\bitHopper\scheduler.py", line 348, in server_update
    if shares > mine_shares:
exceptions.NameError: global name 'mine_shares' is not defined
[20:55:00] RPC request [getwork] submitted to BitHasher.com
[20:55:00] RPC request [getwork] submitted to BitHasher.com
[20:55:00] RPC request [getwork] submitted to BitHasher.com
[20:55:00] RPC request [getwork] submitted to BitHasher.com
legendary
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
August 06, 2011, 02:51:09 PM
BitMinersUnion.org at 30%
PolMine.pl at 34%
MtRed.com 7%

For no apparent reason (no errors in bitHopper screen session) work get sent to BitMinersUnion and PolMine and then MtRed for a while and then it switches back to  BitMinersUnion and PolMine.pl. Why?

I started the script without any additional options

This has gotten really strange.  I am getting switched from pool at 16% to a pool with 30+%. This makes absolutely no sense to me at the moment. ( I am running the latest c00w version) 
full member
Activity: 196
Merit: 100
August 06, 2011, 02:37:34 PM
Update? I think I fixed it.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 06, 2011, 02:24:55 PM
run with --debug


Ah, I'll do that.
First I have to put in the "bad" version again.

Update: now it gives lots of info, what do you need? Tongue

2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] Error in pool api for bit
p
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] "[Failure instance: Trace
back: : BitHopper instance has no attribute 'p
ools'\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1076:gotRes
ult\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1063:_inlineC
allbacks\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:361:call
back\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:455:_startRu
nCallbacks\n--- ---\nC:\\Python27\\lib\\site-packages\\t
wisted\\internet\\defer.py:542:_runCallbacks\nC:\\bitHopper\\pool.py:186:selects
haresResponse\nC:\\bitHopper\\bitHopper.py:128:server_update\nC:\\bitHopper\\sch
eduler.py:337:server_update\n]"
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] Error in pool api for btc
monkey
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] "[Failure instance: Trace
back: : BitHopper instance has no attribute 'p
ools'\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1076:gotRes
ult\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1063:_inlineC
allbacks\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:361:call
back\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:455:_startRu
nCallbacks\n--- ---\nC:\\Python27\\lib\\site-packages\\t
wisted\\internet\\defer.py:542:_runCallbacks\nC:\\bitHopper\\pool.py:186:selects
haresResponse\nC:\\bitHopper\\bitHopper.py:128:server_update\nC:\\bitHopper\\sch
eduler.py:337:server_update\n]"
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] Error in pool api for bit
p
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] "[Failure instance: Trace
back: : BitHopper instance has no attribute 'p
ools'\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1076:gotRes
ult\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1063:_inlineC
allbacks\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:361:call
back\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:455:_startRu
nCallbacks\n--- ---\nC:\\Python27\\lib\\site-packages\\t
wisted\\internet\\defer.py:542:_runCallbacks\nC:\\bitHopper\\pool.py:186:selects
haresResponse\nC:\\bitHopper\\bitHopper.py:128:server_update\nC:\\bitHopper\\sch
eduler.py:337:server_update\n]"
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] Error in pool api for bit
p
2011-08-06 20:31:36+0200 [HTTP11ClientProtocol,client] "[Failure instance: Trace
back: : BitHopper instance has no attribute 'p
ools'\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1076:gotRes
ult\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1063:_inlineC
allbacks\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:361:call
back\nC:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:455:_startRu
nCallbacks\n--- ---\nC:\\Python27\\lib\\site-packages\\t
wisted\\internet\\defer.py:542:_runCallbacks\nC:\\bitHopper\\pool.py:186:selects
haresResponse\nC:\\bitHopper\\bitHopper.py:128:server_update\nC:\\bitHopper\\sch
eduler.py:337:server_update\n]"
full member
Activity: 196
Merit: 100
August 06, 2011, 02:24:23 PM
run with --debug
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 06, 2011, 02:22:53 PM
Can I convince you to give me a debug log? Those errors don't appear on my computer.

Where do I find the log?
full member
Activity: 196
Merit: 100
August 06, 2011, 02:21:08 PM
Can I convince you to give me a debug log? Those errors don't appear on my computer.
Pages:
Jump to: