Bitcoin Forum
November 11, 2024, 05:15:38 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355784 times)
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 04, 2011, 11:34:09 PM
 #2461

sweet, i turned digbit on right before they found that, nice payout for an hours worth of work

mooo for rent
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
August 04, 2011, 11:39:16 PM
 #2462

Seems to be alot of errors popping up upon pool changes with latest version, seems to be related to lp.py code.

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

Activity: 196
Merit: 100


View Profile
August 04, 2011, 11:45:41 PM
 #2463

Got this error.

Code:
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 949, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
    result = g.send(result)
  File "/home/djex/bitHopper/work.py", line 71, in jsonrpc_lpcall
    lp.receive(text,server)
  File "/home/djex/bitHopper/lp.py", line 30, in receive
    response = json.loads(body)
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
August 04, 2011, 11:51:37 PM
 #2464

error Im getting with default scheduler:

Code:
{"midstate":"4ff8f635b68edda9bf676e149049cf307e5b187b0791d59888fe93e7cd064427","target":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000","data":"00000001ddd6f368dbf681c6416c1e61dd419e9b19a9eb2f08df9704000006a90000000042fad16a38388060ee7f1f055bb7e84d774b66067c5223b5b6edcb0f9cd7e70e4e3b30481a08e1e500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
Traceback (most recent call last):
  File "./bitHopper.py", line 296, in <module>
    main()
  File "./bitHopper.py", line 292, in main
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1158, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1167, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 789, in runUntilCurrent
    call.func(*call.args, **call.kw)
exceptions.TypeError: pull_lp() takes exactly 3 arguments (2 given)

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

Activity: 196
Merit: 100


View Profile
August 04, 2011, 11:53:56 PM
 #2465

Errors?

Error with not being able to decode?
Solved. Actually solved twice.

Error with pull_lp taking three arguments instead of 2?
Solved.

This version should be stable.

EDIT:
djex:
Your error was fixed this morning I think.
the other two errors were found in lp.py. For some reason callLater(self.whatever) still need to have self passed as an argument.
And I also wasn't wrapping my errors enough. They are wrapped now.

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

Activity: 504
Merit: 502


View Profile
August 04, 2011, 11:55:23 PM
Last edit: August 05, 2011, 12:27:01 AM by Clipse
 #2466

Errors?

Error with not being able to decode?
Solved. Actually solved twice.

Error with pull_lp taking three arguments instead of 2?
Solved.

This version should be stable.

Cool , updating now. I hope the error log spamming isnt anoying you but actually usefull Smiley

...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 05, 2011, 12:00:32 AM
Last edit: August 05, 2011, 12:21:44 AM by paraipanakos
 #2467

Errors?

Error with not being able to decode?
Solved. Actually solved twice.

Error with pull_lp taking three arguments instead of 2?
Solved.

This version should be stable.

Cool , updating now. I hope the error log spamming is anoying you but actually usefull Smiley

+1  Cool

edit: running nice and smooth

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

Activity: 350
Merit: 250


View Profile
August 05, 2011, 12:52:22 AM
 #2468

i just made a poclbm fork that gets its server list from an bitHopper address.
it checks every three seconds for the current pool and switches if neccesary

if you want to try it out:
https://github.com/flower1024/poclbm




This is awesome and it looks like it will nail a couple problems I was having on the head I think. At the very least allow me to test a few theories of mine to trying nail the problem to the source for a few pools. If more pools start to give similar issues, then bitHopper will just have to grow with it. Wink
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 05, 2011, 01:53:13 AM
 #2469

digbit went from 2ghash to 50... lol damn u hoppers!!!

mooo for rent
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
August 05, 2011, 01:55:15 AM
 #2470

digbit went from 2ghash to 50... lol damn u hoppers!!!

Testament if a new pool start with prop they have a chance to get into the market thanks to hoppers.

There is next to no chance a new pool can get going without hoppers, the market is simply to crowded.

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

Activity: 196
Merit: 100


View Profile
August 05, 2011, 02:03:48 AM
 #2471

digbit went from 2ghash to 50... lol damn u hoppers!!!

Hop'em while there hot.

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 05, 2011, 02:13:17 AM
 #2472

talked to the guy who found the digbit coin, he is a hopper.. stuck in the newbie section.. 23 shares got him a couple coins.. thats like 1million percent eff. LOL


He sends his thanks to c00w and the new slicing.

mooo for rent
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 05, 2011, 02:22:49 AM
 #2473

talked to the guy who found the digbit coin, he is a hopper.. stuck in the newbie section.. 23 shares got him a couple coins.. thats like 1million percent eff. LOL


He sends his thanks to c00w and the new slicing.

lucky guy with the right tool  Cool

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

Activity: 42
Merit: 0


View Profile
August 05, 2011, 03:08:33 AM
 #2474

Odd, I didn't touch anything to do with sending/getting work. Seems unrelated... do the logs tell you which pool? I find the newer/smaller pools more buggy and will cause these types of errors (like digbtc)

I have btcmp.com working, but it's been flaky the last few days (the pool itself). If it stabilizes, I'll release my patch (I didn't push it to github yet).

FYI i've patched up AltSliceScheduler, should be stable and a little more aggressive in switching pools when threshold is met (rather than finishing it's slice). Also the slices are truly proportional now.

Getting quite a few of these errors in your version Ed, ill see if c00w's bithopper doing the same.
Strange part is it doesnt actually seem to matter, it still continues at the pool.

Code:
[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.DNSLookupError'>: DNS lookup failed: address 'http' not found: [Errno -5] No address associated with hostname.
]
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 388, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/home/miner1/bitHopper_c00w_echiu64/work.py", line 66, in jsonrpc_lpcall
    body.deliverBody(WorkProtocol(finish))
exceptions.AttributeError: 'NoneType' object has no attribute 'deliverBody'
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 05, 2011, 03:13:55 AM
 #2475

Quote
DNS lookup failed: address 'http' not found: [Errno -5] No address associated with hostname.

that sounds like something got pasted badly.. check your user cfg.. i cant see a pool causing a dns look up failure as you are the one doing the look up... look for a http all by it self or missing the :

everything is awesome here... 600 shares 2 rejects.. going great

mooo for rent
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
August 05, 2011, 03:17:13 AM
 #2476

Quote
DNS lookup failed: address 'http' not found: [Errno -5] No address associated with hostname.

that sounds like something got pasted badly.. check your user cfg.. i cant see a pool causing a dns look up failure as you are the one doing the look up... look for a http all by it self or missing the :

everything is awesome here... 600 shares 2 rejects.. going great

Nope, nothing wrong in my pool or user settings. cow's latest version is working fine, those errors I am getting on ed's version.

Btw ED, I got those errors with your latest on bitcoinpool, polmine and digbtc.

That said, I seem to have hit those errors within 30min timeframe and then switched to cow version so Im not sure if it was some random fluke that got triggered cause now im not getting them at all(or if its ED's version) but as ED said he didnt change a thing so perhaps it was some random fluke I dunno.

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

Activity: 196
Merit: 100


View Profile
August 05, 2011, 03:33:39 AM
 #2477

It looks like LP is returning a url which is "" based on that error message.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 05, 2011, 03:35:17 AM
 #2478

something still fails... mine just sticked with slush for good, 140% atm Shocked , I just l left it to see how high could go, better mine with them until the block is found methinks

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

Activity: 196
Merit: 100


View Profile
August 05, 2011, 03:36:13 AM
 #2479

In my version?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 05, 2011, 03:37:06 AM
Last edit: August 05, 2011, 03:54:19 AM by paraipanakos
 #2480

In my version?

yep, last one

edit: here you have it...



Code:
[05:39:34] triple: 2912606
[05:39:34] RPC request [b01c4000] submitted to Bitcoin.cz
[05:39:36] rfc: 937478
[05:39:39] RPC request [getwork] submitted to Bitcoin.cz
[05:39:43] slush: 2850671
[05:39:45] writing to database
[05:39:55] btcserv: 1171576
[05:40:00] RPC request [getwork] submitted to Bitcoin.cz
[05:40:02] nofeemining: 4391413
[05:40:04] triple: 2912865
[05:40:04] btcmonkey: 3159713
[05:40:08] RPC request [4eb61000] submitted to Bitcoin.cz
[05:40:11] arsbitcoin: 1090152
[05:40:13] slush: 2865572
[05:40:19] eligius: 919794
[05:40:21] RPC request [getwork] submitted to Bitcoin.cz
[05:40:24] RPC request [b9124000] submitted to Bitcoin.cz
[05:40:25] btcserv: 1171580
[05:40:26] RPC request [bb135000] submitted to Bitcoin.cz
[05:40:35] triple: 2913103
[05:40:35] btcmonkey: 3159733

edit2: just had a strike of luck, they found it and I'm freee

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
Pages: « 1 ... 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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 ... 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!