Bitcoin Forum
November 11, 2024, 09:20:12 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 »  All
  Print  
Author Topic: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy  (Read 123137 times)
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 02, 2014, 02:15:17 AM
 #261

This is a known bug in pymysql. You have to modify pymysql, I can't remember exactly what line or file but I remember finding the solution in a google group somewhere.  I found it with a little googling.

Thats the funny thing though, it WAS working. I am not much of a PHP-fu master to use the data yet, but I knew that was the best way to utilize it for the future.


Also, an update: I started screwing around with things due to the bitcoinrpc bug and fucked up everything so I started from scratch again. Its ok though, since i'm documenting what works for me the more I struggle the easier it will be on others.

~WHH
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 02, 2014, 03:28:58 AM
 #262

I got an error:
Code:
makeCoinbaseTxn	ERROR	Coinbaser failed!
then i do some debug
line 105 in eloipool.py raise an error
Code:
nout = int(p.stdout.readline())
I guess CoinbaserCmd is invalid, then i run the command in terminal
Code:
echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU"
the result is:
Code:
bash: %d / 100: syntax error: operand expected (error token is "%d / 100")
any ideas?
My guess would be a non-BASH default shell...
I found the reason
Code:
p.stdout.readline()
return
Code:
b'-e 1\n'
My default shell is Bash,I use Python 3.3.1 on Ubuntu
If your default shell was BASH, you wouldn't get that result.

i have the same with BASH, python 3.2 , on ubuntu 12.

commenting CoinbaserCmd, may help but it isn't good solution...

I can verify this. I switched my shell to bash and ran the same command. Same issue.
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 02, 2014, 05:25:29 AM
 #263

With all of your help I was able to put this guide together

https://bitcointalk.org/index.php?topic=495542.0
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 02, 2014, 02:40:16 PM
 #264

I solved the PyMySQL issue. I updated my thread and put it in there.

https://bitcointalk.org/index.php?topic=495542.0
greatbotboy
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile WWW
March 02, 2014, 10:59:57 PM
 #265

Awesome good work WHH!
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 03, 2014, 12:22:34 PM
 #266

Every now and then I see this in the log:

Code:
2014-03-03 01:53:05,041 StratumHandler  DEBUG   Traceback (most recent call last):
  File "/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 113] No route to host

Or this:

Code:
2014-03-02 06:07:20,231 StratumHandler  DEBUG   Traceback (most recent call last):
  File "/eloipool/networkserver.py", line 47, in handle_read
    data = self.recv (self.ac_in_buffer_size)
  File "/usr/lib/python3.2/asyncore.py", line 384, in recv
    data = self.socket.recv(buffer_size)
socket.error: [Errno 110] Connection timed out

Is this normal? Also, how are you guys calculating hashrates? The sharelog isnt providing much information in terms of hashrates. Should we be deducing this from the "shares" table and "time" column? If so, how are you doing this (in PHP if possible, if not thats fine)?
greatbotboy
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile WWW
March 03, 2014, 08:22:02 PM
 #267

I can't comment on the error, I've never seen it.

As for the calculation of speed (in php even):
Code:
$shares = 200; //Number of shares of a given time.
$timeLen = 10; //The given time in seconds.


$hashrate = pow(2, 32) * $shares / $timeLen;         //85899345920
$hashrate = $hashrate / 1000000000;                   //85.899345920
$hashrate = round($hashrate, 2);                        //85.9

returns 85.9 which is 85.9 Gh/s

1000000000 could be changed to:
1000000000000 for Th/s
1000000 for Mh/s
1000 for Kh/s

However if using VarDiff you need to modify your DB and config.py to log the Minimum difficulty of each share a 2 diff share = 2 shares, 32 diff = 32 shares.

Or you can join my pool... just saying.
NoctumDesign
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 04, 2014, 07:06:55 AM
Last edit: March 04, 2014, 04:04:24 PM by whitehathacker
 #268

I can't comment on the error, I've never seen it.

As for the calculation of speed (in php even):
Code:
$shares = 200; //Number of shares of a given time.
$timeLen = 10; //The given time in seconds.


$hashrate = pow(2, 32) * $shares / $timeLen;         //85899345920
$hashrate = $hashrate / 1000000000;                   //85.899345920
$hashrate = round($hashrate, 2);                        //85.9

returns 85.9 which is 85.9 Gh/s

1000000000 could be changed to:
1000000000000 for Th/s
1000000 for Mh/s
1000 for Kh/s

However if using VarDiff you need to modify your DB and config.py to log the Minimum difficulty of each share a 2 diff share = 2 shares, 32 diff = 32 shares.

Or you can join my pool... just saying.
NoctumDesign

Thats awesome, I appreciate that. How are you pulling shares per time length though? I understand grabbing a specific item in a column in a table, but over a specific time frame? Are you doing a comparison with the time column?

EDIT: Here's a new one for you:

Code:
42014-03-04 00:02:36,648 sharelogging.logfile    CRITICAL        Traceback (most recent call last):
  File "/eloipool/sharelogging/logfile.py", line 54, in run
    self.flushlog()
  File "/eloipool/sharelogging/logfile.py", line 46, in flushlog
    with open(self.fn, "a") as logfile:
IOError: [Errno 2] No such file or directory: 'share-logfile'
balemon
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 07, 2014, 09:21:01 PM
 #269

Have just finished installing and setting up. Managed to get through everything reasonably well.

Started mining via the testnet to confirm all is functioning only to get this error below

Code:
2014-03-08 04:54:38,424	merkleMaker	INFO	New block: 00000000a7b45a26837f6e134f3fc00cc042dd7a73edafedca1cdfd20301f8a8 (height: 203771; bits: 1b180ab0)
2014-03-08 04:54:38,448 JSONRPCServer INFO Waiting 15 seconds to longpoll
2014-03-08 04:54:42,694 JSONRPCServer INFO Ignoring longpoll attempt while another is waiting
2014-03-08 04:54:53,409 JSONRPCServer INFO Nobody to longpoll
2014-03-08 05:05:27,233 checkShare INFO BLKHASH:            d739a915e14c3f70fde09220df14cef8097493ab8fa607783a767
2014-03-08 05:05:27,235 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-08 05:05:27,235 checkShare INFO Submitting upstream
2014-03-08 05:05:27,237 checkShare INFO Real block payload: 02000000a8f80103d2df1ccaedafed737add42c00cc03f4f136e7f83265ab4a700000000857ab5db6004b9c70749b35841980b1877360390f9f7740b700d1593a6e63f724f181a53b00a181b03b8f8cc1101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1103fb1b0304531a184f00000000c4010000ffffffff01f03b082a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac000000000100000001f1b08e8ecc8bbb8363fd5c93b9c5ef63fa6b4a7daddb825d299dca400a269b07010000006b48304502200588fd6d120996b24cf61a052e8f489d2b806ace58c0a34ccaa2478c15657448022100fcdc87610b35bda8636e6197453c5418124bc948eeca5fc00afd7be8bbb9f9a1012102de1ac163350aac805928a479222242c01a963fa7b7dce662d3569221da9e1089ffffffff0200b33f71000000001976a9147d1209604fe6df84381948c41abcced208cd261088ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac000000000100000001c91cc4c73021007656b60d98130900b8ed7ec94a4fe8a56986fac318586a7033000000006b483045022100b95a362f417c67f4764d78a65e94cf6a6568e7b163b4f6ae09b1f07bc9bfdcf702206a60c99040f8714f23c9dd1cb776661a1b948fd94243e65426aa510004c35e62012103c716e13e73bcdbbf79b49a878425e755d0f65a67cbe4da00e1ccb6ec655582b8ffffffff0200e1f505000000001976a9143d4777c79d2495a608dbb20d0a942850c6695ad088ac8034010e000000001976a91496c1f972a3fdc6a51758b40c11281c2f5b32cc8b88ac000000000100000001d24fa4e2460e91e1d5996f31c2371fc18b19a67cf5635e61656f06e3b5956483010000006b483045022100e58806ddac889472558212ff5935a75673c62b5888a47b6b2538f427b488eeef022003b3114c94b1442d8719e23d194321d6f5135fc3ed87779370a1969c6c1c795e01210229e89b67ba82311e51f80ded9455d5a8fd4011cc8fbc085254a170dccae1f231ffffffff0200e1f505000000001976a9140ac5623d29bf4d551399f0717a82beec138a924e88ace016cd1d000000001976a914ca415b2cf503b0675c4d91844d36575c0d79992e88ac000000000100000001e16b56ba1559100351a98397aedfbae39c5b3833a00d2130f11abe4f2693d32f020000006b48304502203f2283f2a0ece89d00ead3a3860375ffd8ad597b85116ddaaf7bcf6c76529fa0022100b4d14f5701eacc1d78dda17130f110138b58ad715eee4e664675e89f0c9c496a01210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a152ffffffff037064080000000000232103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c2ac4c443201000000004752210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a1522103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c252ae621d7209000000001976a914d4c23edec54815eb9a3414385d32bf5b40aaf2ec88ac0000000001000000012ffd1b139f52cb35aa49724544515a3c4d49603a13f19631dddce09b84cec3df010000006b483045022100be70b1754b8673baea7c6fbb86f3be37872c60d49938d3a93efcae5ac5491d3f02201299064e9d60d7fc164e724e83d80a0f79bdb556c51ba746960b4e1af42e98aa012102c7a7662e89aec9dc452958d12c7fe86a5a9ef28ae2c9f6674eda7e610368bb6affffffff0200e1f505000000001976a9148beb2ecf4cf7e3acacd6d883ba8f3bd83d250e8d88ace0f7c223000000001976a9141f592a9185960b5c16f2821c08b0626ada6b058e88ac00000000010000000130e494352411e1852269c51f58edb6dadbfb88a085444ab3a5967c8d5b862ce5010000006a47304402203dc97a0728c1b60c8fa3bd3b26ed72de52c4864538141ec2f1dc37d4019cb8c002204bd41119b7631b022ac006f7524209c05268ee06e57fd7f247b772f322058e260121026de0e2c7e111ee6324066dc1e00a5b4b19c1d0d305d1b4407099f563b0708343ffffffff0200c2eb0b000000001976a914805d2cd148ff6813f9e21ab00a34a776e5b538ac88ac50b6520b000000001976a914178d76374321d56d5aeb9e3bab9a4364ff69de5488ac000000000100000001187c89f6e245ccb3736546bc09fb5258d924248eb0cbd0555cdde361dccbbf66000000006b4830450220614b5726cbf638bc13802aeb07ca6199b995422d3655e9f5f650b6accfa2a37e022100b219f6d912ff0f85c42d8532c5c5fdfed8228f542caa0e5f649da085911216a0012103eb0753af316368bded5edbf2316500a84318c12af2ee895067992d0aa87f2d1dffffffff0200e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac7004530b000000001976a91465b8cae9acd8147606b6bb2d023ce68b741fdfdf88ac00000000010000000195da535ed8166e0e7cc9a88395cafbdcc57cf15d01aa58d5a4a21264a01be44d000000006b483045022100ca52d7ba237e165a8f318d240adce191e962e3b6c291ff818b2a1b42e47aed43022023b5e2b7f2cc1ee34f74c0809508d24c0373a78b34cc9d1b8ead049eb19b0162012102fc3f059e1153c11682268e339cfd0f4d531d7d2f9dd03defb141af4a9efc2626ffffffff02ce411300000000001976a914cecc896859245c49392ff24f58b4f77045529f2e88aca0860100000000001976a9149b3047b8596b0698feee5ac08f5c84f43df991a088ac000000000100000001d711bd5aa29b462367f78abd25c8fdcf7bc15932b41809199dd23f9df121a9aa000000006b48304502203e591160db14cf1d4add95bb9c346c16271a88381a27a9bbfcc2d73fa23d4e6c02210082126d55a552305221845fb692fa8e35277fe1bf90afd124434126f4299c4ae80121023047c17b363f969adfc3e16fc4927db40c3bbe07d97f0e53d1ff4d4f7e851b4affffffff02f0aa496b000000001976a914a1759feef65cbc92a6af1ef0d1e97b361e2e296488ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac000000000100000001614918e7ad92615b1a1c8697c11bec6c048b69b77255560a76fbeb3621daf33a010000006c493046022100f10b4bedc681b3c71845f99a10c79737ed285ea356bbf566d355bcddbbb2ee99022100a7a2f7b5cda232d85317c4ae7f3be00d384673376f46165e973354379df7db9a01210250f33d42507054f1ae91d5720725c4172c4892dab944916ba1cc7c1324002d56ffffffff0260fc5c05000000001976a914139509416a0c7d84554864f607e50f290c7fe6fc88ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac000000000100000001ace0e0e9f08c7ae9b318867d09fcd02667b65337f49277756824527484b7ecd1020000006b48304502204e05085e1a40251a74543a29fba945bd4d51ae422ad4f8af9282a89a3bf985ac022100845773e6431f28993cb1cfe6198da0db34a2ce86e6431d2bddeb529e8496196a0121038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed37ffffffff029e4000000000000023210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a152acd257f731000000001976a914544cff8187868bc439c2a5470331295c41bde0c488ac000000000100000001dee5e4040358ac27d6f233becc86b0bd597c78f95a0a1a9065aa3d3dd8019c6d010000006a4730440220614aaf9e65e3a111425d2e24d152449b64b75cbea1f7ff34e62928e9f55d09b202201be0bb53714b2c6d38bc368e4fe925c3b167caac8a55ddce3dfa77aa807502090121038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed37ffffffff02175600000000000023210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a152acabdaf631000000001976a914544cff8187868bc439c2a5470331295c41bde0c488ac000000000100000001074500659ebde6106fa14e175ef79093ed4c03148e3db0a72b19df9bda4de991020000006b48304502210092356efb5bf022205307d44115f84de62791cb8a6260a0d1c332e082560aff42022069cff759799c91c524bd315a786c126db09110644faf7ee03e4280ac5d2c047b0121038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed37ffffffff037064080000000000232103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c2ac4c44320100000000475221038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed372103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c252ae2d9b2b30000000001976a914544cff8187868bc439c2a5470331295c41bde0c488ac00000000010000000297ef87f5a4935dcca177e259b791de83677f1e7bf5a780719967a1106c785ace010000006b4830450221009ab6bc5935a978d7bc8f348bd6e8d26236071873f4fe14676e0681551ca845fc022067cfe975ce3b999cfd601283fe5c76b5dadec38e2a73f9e39d40b4ca75b6facb012103250024ec1bed8a47f0ef01b213aab498214c15d269d4ef36e37e1292a69609c1ffffffff9aa0f65e764d95528c862ca06649e84dbda5a0c55b0250158722c9b8155a4a55000000006a47304402204d32f55f96596660de7741c99ace5fa0a52bd70e4c1c8c39e4cd455e2adf67ee02205f1283550d44073ab9a703ec7a70306d37d091f69deb09fc1907464fc1aa0f07012103f1fe05d77885a3fb5d82823b9d86f24c297c846f397def3a6703758a12f11165ffffffff02608f8f03000000001976a914b06862dc95b700394657b45e5446d8bb515fccca88ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac0000000001000000016ad55da2d39e7da6b1e9c93339757e90c4221cdf662c5aed7c1de6801524d07b000000006b483045022100a65ffa9efd91b6570cb612eee1e0ba52a78ec8f99bac9a6d1afe5a34ec42caf7022069d66cd72342128a7a758f53e25bb76a0383feae5e0b55e6cafa1fc188b9ac2c0121021d12b8d583fb91efab50d92a3d47afe0a03023a76a19f1cc35bf990a7e16fbeaffffffff0280969800000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588acd0d1f602000000001976a914ff55d0602c91c22a53c1a8f7b2953ee8d296f5c588ac000000000100000001ba970c27b1e275f19fd86a57fb2c2dc272c1bf6d9fa70a196c65c9b5d4688fac010000006c49304602210090efccb95f12b108b4c638c5301e2ae397807c50f9bce0daa2ea1b03b0d82339022100bf22af5521ad4c28d35ebbe82dcb81a0b696ab2d81e7e18bdd0492d7668f2de3012102da0f244f273886608401b7cb44548102f9a76dd1812d909c6364778ec1f16df4ffffffff0240145e02000000001976a9146c7b52824fd27501fae1779046afc9f58ac8773588ac80969800000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac00000000
2014-03-08 05:05:27,240 merkleMaker INFO New block: 00000000000d739a915e14c3f70fde09220df14cef8097493ab8fa607783a767 (height: 203772; bits: 1b180ab0)
2014-03-08 05:05:27,249 JSONRPCServer INFO Nobody to longpoll
2014-03-08 05:05:27,251 Waker for BitcoinNode DEBUG Read wakeup
2014-03-08 05:05:27,258 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-08 05:05:27,272 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-08 05:05:27,322 newBlockNotification INFO Received new block notification
2014-03-08 05:05:28,083 redflag CRITICAL Traceback (most recent call last):
  File "/usr/lib/python3.2/json/decoder.py", line 367, in raw_decode
    obj, end = self.scan_once(s, idx)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./eloipool.py", line 382, in blockSubmissionThread
    reason = UpstreamBitcoindJSONRPC.submitblock(payload)
  File "/bitcoin/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 114, in __call__
    response = self._get_response()
  File "/bitcoin/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 140, in _get_response
    parse_float=decimal.Decimal)
  File "/usr/lib/python3.2/json/__init__.py", line 322, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.2/json/decoder.py", line 351, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.2/json/decoder.py", line 369, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Found the answer (I thought) over here on this awesome post...
https://bitcointalk.org/index.php?topic=495542.0
being
Quote
A known fix is to change the line in python-bitcoinrpc/bitcoinrpc/authproxy.py
somewhere around line 72

Code:

self.__auth_header = "Basic %s" % base64.b64encode(authpair)

to read:
Code:

self.__auth_header = "Basic %s" % base64.b64encode(authpair).decode()

Unfortunately, and not knowing how to code at all(Close friend who does do a lot of coding and away overseas at the moment) has actually banned me form coding, apparently I am  Huh
Quote
"a menace to all society if I attempt to code")
The closest line to the answer above is
Code:
   self.__auth_header = b'Basic ' + base64.b64encode(authpair)

I added the ".decode" as instructed above to this

Code:
   self.__auth_header = b'Basic ' + base64.b64encode(authpair).decode

But this prevents the miner form connecting or finding the pool at all.  Shocked

I have spent hours on this, and have exhausted my frustration.. Cry

Could anyone assist with this.   Grin

Cheers
whitehathacker
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 08, 2014, 04:50:56 AM
 #270

Have just finished installing and setting up. Managed to get through everything reasonably well.

Started mining via the testnet to confirm all is functioning only to get this error below

Code:
2014-03-08 04:54:38,424	merkleMaker	INFO	New block: 00000000a7b45a26837f6e134f3fc00cc042dd7a73edafedca1cdfd20301f8a8 (height: 203771; bits: 1b180ab0)
2014-03-08 04:54:38,448 JSONRPCServer INFO Waiting 15 seconds to longpoll
2014-03-08 04:54:42,694 JSONRPCServer INFO Ignoring longpoll attempt while another is waiting
2014-03-08 04:54:53,409 JSONRPCServer INFO Nobody to longpoll
2014-03-08 05:05:27,233 checkShare INFO BLKHASH:            d739a915e14c3f70fde09220df14cef8097493ab8fa607783a767
2014-03-08 05:05:27,235 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-08 05:05:27,235 checkShare INFO Submitting upstream
2014-03-08 05:05:27,237 checkShare INFO Real block payload: 02000000a8f80103d2df1ccaedafed737add42c00cc03f4f136e7f83265ab4a700000000857ab5db6004b9c70749b35841980b1877360390f9f7740b700d1593a6e63f724f181a53b00a181b03b8f8cc1101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1103fb1b0304531a184f00000000c4010000ffffffff01f03b082a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac000000000100000001f1b08e8ecc8bbb8363fd5c93b9c5ef63fa6b4a7daddb825d299dca400a269b07010000006b48304502200588fd6d120996b24cf61a052e8f489d2b806ace58c0a34ccaa2478c15657448022100fcdc87610b35bda8636e6197453c5418124bc948eeca5fc00afd7be8bbb9f9a1012102de1ac163350aac805928a479222242c01a963fa7b7dce662d3569221da9e1089ffffffff0200b33f71000000001976a9147d1209604fe6df84381948c41abcced208cd261088ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac000000000100000001c91cc4c73021007656b60d98130900b8ed7ec94a4fe8a56986fac318586a7033000000006b483045022100b95a362f417c67f4764d78a65e94cf6a6568e7b163b4f6ae09b1f07bc9bfdcf702206a60c99040f8714f23c9dd1cb776661a1b948fd94243e65426aa510004c35e62012103c716e13e73bcdbbf79b49a878425e755d0f65a67cbe4da00e1ccb6ec655582b8ffffffff0200e1f505000000001976a9143d4777c79d2495a608dbb20d0a942850c6695ad088ac8034010e000000001976a91496c1f972a3fdc6a51758b40c11281c2f5b32cc8b88ac000000000100000001d24fa4e2460e91e1d5996f31c2371fc18b19a67cf5635e61656f06e3b5956483010000006b483045022100e58806ddac889472558212ff5935a75673c62b5888a47b6b2538f427b488eeef022003b3114c94b1442d8719e23d194321d6f5135fc3ed87779370a1969c6c1c795e01210229e89b67ba82311e51f80ded9455d5a8fd4011cc8fbc085254a170dccae1f231ffffffff0200e1f505000000001976a9140ac5623d29bf4d551399f0717a82beec138a924e88ace016cd1d000000001976a914ca415b2cf503b0675c4d91844d36575c0d79992e88ac000000000100000001e16b56ba1559100351a98397aedfbae39c5b3833a00d2130f11abe4f2693d32f020000006b48304502203f2283f2a0ece89d00ead3a3860375ffd8ad597b85116ddaaf7bcf6c76529fa0022100b4d14f5701eacc1d78dda17130f110138b58ad715eee4e664675e89f0c9c496a01210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a152ffffffff037064080000000000232103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c2ac4c443201000000004752210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a1522103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c252ae621d7209000000001976a914d4c23edec54815eb9a3414385d32bf5b40aaf2ec88ac0000000001000000012ffd1b139f52cb35aa49724544515a3c4d49603a13f19631dddce09b84cec3df010000006b483045022100be70b1754b8673baea7c6fbb86f3be37872c60d49938d3a93efcae5ac5491d3f02201299064e9d60d7fc164e724e83d80a0f79bdb556c51ba746960b4e1af42e98aa012102c7a7662e89aec9dc452958d12c7fe86a5a9ef28ae2c9f6674eda7e610368bb6affffffff0200e1f505000000001976a9148beb2ecf4cf7e3acacd6d883ba8f3bd83d250e8d88ace0f7c223000000001976a9141f592a9185960b5c16f2821c08b0626ada6b058e88ac00000000010000000130e494352411e1852269c51f58edb6dadbfb88a085444ab3a5967c8d5b862ce5010000006a47304402203dc97a0728c1b60c8fa3bd3b26ed72de52c4864538141ec2f1dc37d4019cb8c002204bd41119b7631b022ac006f7524209c05268ee06e57fd7f247b772f322058e260121026de0e2c7e111ee6324066dc1e00a5b4b19c1d0d305d1b4407099f563b0708343ffffffff0200c2eb0b000000001976a914805d2cd148ff6813f9e21ab00a34a776e5b538ac88ac50b6520b000000001976a914178d76374321d56d5aeb9e3bab9a4364ff69de5488ac000000000100000001187c89f6e245ccb3736546bc09fb5258d924248eb0cbd0555cdde361dccbbf66000000006b4830450220614b5726cbf638bc13802aeb07ca6199b995422d3655e9f5f650b6accfa2a37e022100b219f6d912ff0f85c42d8532c5c5fdfed8228f542caa0e5f649da085911216a0012103eb0753af316368bded5edbf2316500a84318c12af2ee895067992d0aa87f2d1dffffffff0200e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac7004530b000000001976a91465b8cae9acd8147606b6bb2d023ce68b741fdfdf88ac00000000010000000195da535ed8166e0e7cc9a88395cafbdcc57cf15d01aa58d5a4a21264a01be44d000000006b483045022100ca52d7ba237e165a8f318d240adce191e962e3b6c291ff818b2a1b42e47aed43022023b5e2b7f2cc1ee34f74c0809508d24c0373a78b34cc9d1b8ead049eb19b0162012102fc3f059e1153c11682268e339cfd0f4d531d7d2f9dd03defb141af4a9efc2626ffffffff02ce411300000000001976a914cecc896859245c49392ff24f58b4f77045529f2e88aca0860100000000001976a9149b3047b8596b0698feee5ac08f5c84f43df991a088ac000000000100000001d711bd5aa29b462367f78abd25c8fdcf7bc15932b41809199dd23f9df121a9aa000000006b48304502203e591160db14cf1d4add95bb9c346c16271a88381a27a9bbfcc2d73fa23d4e6c02210082126d55a552305221845fb692fa8e35277fe1bf90afd124434126f4299c4ae80121023047c17b363f969adfc3e16fc4927db40c3bbe07d97f0e53d1ff4d4f7e851b4affffffff02f0aa496b000000001976a914a1759feef65cbc92a6af1ef0d1e97b361e2e296488ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac000000000100000001614918e7ad92615b1a1c8697c11bec6c048b69b77255560a76fbeb3621daf33a010000006c493046022100f10b4bedc681b3c71845f99a10c79737ed285ea356bbf566d355bcddbbb2ee99022100a7a2f7b5cda232d85317c4ae7f3be00d384673376f46165e973354379df7db9a01210250f33d42507054f1ae91d5720725c4172c4892dab944916ba1cc7c1324002d56ffffffff0260fc5c05000000001976a914139509416a0c7d84554864f607e50f290c7fe6fc88ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac000000000100000001ace0e0e9f08c7ae9b318867d09fcd02667b65337f49277756824527484b7ecd1020000006b48304502204e05085e1a40251a74543a29fba945bd4d51ae422ad4f8af9282a89a3bf985ac022100845773e6431f28993cb1cfe6198da0db34a2ce86e6431d2bddeb529e8496196a0121038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed37ffffffff029e4000000000000023210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a152acd257f731000000001976a914544cff8187868bc439c2a5470331295c41bde0c488ac000000000100000001dee5e4040358ac27d6f233becc86b0bd597c78f95a0a1a9065aa3d3dd8019c6d010000006a4730440220614aaf9e65e3a111425d2e24d152449b64b75cbea1f7ff34e62928e9f55d09b202201be0bb53714b2c6d38bc368e4fe925c3b167caac8a55ddce3dfa77aa807502090121038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed37ffffffff02175600000000000023210322a9e92b2eaab7eb3c7b3e2f0efbc532ade9128963d46d3894c2fe801e05a152acabdaf631000000001976a914544cff8187868bc439c2a5470331295c41bde0c488ac000000000100000001074500659ebde6106fa14e175ef79093ed4c03148e3db0a72b19df9bda4de991020000006b48304502210092356efb5bf022205307d44115f84de62791cb8a6260a0d1c332e082560aff42022069cff759799c91c524bd315a786c126db09110644faf7ee03e4280ac5d2c047b0121038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed37ffffffff037064080000000000232103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c2ac4c44320100000000475221038ec2a9148c7b846a34bc2927192d1cfd9e4cf3cc99c05bb5a8408664f35eed372103a3dbfcaf0bda0fd6697890fb599cf7c111b96fa485e3d37ecf8b2f6ddcba97c252ae2d9b2b30000000001976a914544cff8187868bc439c2a5470331295c41bde0c488ac00000000010000000297ef87f5a4935dcca177e259b791de83677f1e7bf5a780719967a1106c785ace010000006b4830450221009ab6bc5935a978d7bc8f348bd6e8d26236071873f4fe14676e0681551ca845fc022067cfe975ce3b999cfd601283fe5c76b5dadec38e2a73f9e39d40b4ca75b6facb012103250024ec1bed8a47f0ef01b213aab498214c15d269d4ef36e37e1292a69609c1ffffffff9aa0f65e764d95528c862ca06649e84dbda5a0c55b0250158722c9b8155a4a55000000006a47304402204d32f55f96596660de7741c99ace5fa0a52bd70e4c1c8c39e4cd455e2adf67ee02205f1283550d44073ab9a703ec7a70306d37d091f69deb09fc1907464fc1aa0f07012103f1fe05d77885a3fb5d82823b9d86f24c297c846f397def3a6703758a12f11165ffffffff02608f8f03000000001976a914b06862dc95b700394657b45e5446d8bb515fccca88ac00e1f505000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac0000000001000000016ad55da2d39e7da6b1e9c93339757e90c4221cdf662c5aed7c1de6801524d07b000000006b483045022100a65ffa9efd91b6570cb612eee1e0ba52a78ec8f99bac9a6d1afe5a34ec42caf7022069d66cd72342128a7a758f53e25bb76a0383feae5e0b55e6cafa1fc188b9ac2c0121021d12b8d583fb91efab50d92a3d47afe0a03023a76a19f1cc35bf990a7e16fbeaffffffff0280969800000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588acd0d1f602000000001976a914ff55d0602c91c22a53c1a8f7b2953ee8d296f5c588ac000000000100000001ba970c27b1e275f19fd86a57fb2c2dc272c1bf6d9fa70a196c65c9b5d4688fac010000006c49304602210090efccb95f12b108b4c638c5301e2ae397807c50f9bce0daa2ea1b03b0d82339022100bf22af5521ad4c28d35ebbe82dcb81a0b696ab2d81e7e18bdd0492d7668f2de3012102da0f244f273886608401b7cb44548102f9a76dd1812d909c6364778ec1f16df4ffffffff0240145e02000000001976a9146c7b52824fd27501fae1779046afc9f58ac8773588ac80969800000000001976a9146842cba8d7cee7c2fde067757c425eb4ca88982588ac00000000
2014-03-08 05:05:27,240 merkleMaker INFO New block: 00000000000d739a915e14c3f70fde09220df14cef8097493ab8fa607783a767 (height: 203772; bits: 1b180ab0)
2014-03-08 05:05:27,249 JSONRPCServer INFO Nobody to longpoll
2014-03-08 05:05:27,251 Waker for BitcoinNode DEBUG Read wakeup
2014-03-08 05:05:27,258 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-08 05:05:27,272 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-08 05:05:27,322 newBlockNotification INFO Received new block notification
2014-03-08 05:05:28,083 redflag CRITICAL Traceback (most recent call last):
  File "/usr/lib/python3.2/json/decoder.py", line 367, in raw_decode
    obj, end = self.scan_once(s, idx)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./eloipool.py", line 382, in blockSubmissionThread
    reason = UpstreamBitcoindJSONRPC.submitblock(payload)
  File "/bitcoin/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 114, in __call__
    response = self._get_response()
  File "/bitcoin/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 140, in _get_response
    parse_float=decimal.Decimal)
  File "/usr/lib/python3.2/json/__init__.py", line 322, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.2/json/decoder.py", line 351, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.2/json/decoder.py", line 369, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Found the answer (I thought) over here on this awesome post...
https://bitcointalk.org/index.php?topic=495542.0
being
Quote
A known fix is to change the line in python-bitcoinrpc/bitcoinrpc/authproxy.py
somewhere around line 72

Code:

self.__auth_header = "Basic %s" % base64.b64encode(authpair)

to read:
Code:

self.__auth_header = "Basic %s" % base64.b64encode(authpair).decode()

Unfortunately, and not knowing how to code at all(Close friend who does do a lot of coding and away overseas at the moment) has actually banned me form coding, apparently I am  Huh
Quote
"a menace to all society if I attempt to code")
The closest line to the answer above is
Code:
   self.__auth_header = b'Basic ' + base64.b64encode(authpair)

I added the ".decode" as instructed above to this

Code:
   self.__auth_header = b'Basic ' + base64.b64encode(authpair).decode

But this prevents the miner form connecting or finding the pool at all.  Shocked

I have spent hours on this, and have exhausted my frustration.. Cry

Could anyone assist with this.   Grin

Cheers


You have to add the () to the end of decode.

In programing, parentheses "()" is where you put the input for a function or identifies a function. Because the "decode" is a function, it requires that parentheses at the end.

I'm overseas right now as well, but the magic of the internet allows such collaboration :-)

~WHH
balemon
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 08, 2014, 06:15:38 AM
 #271

G'day WHH,
Thanks for the reply..

The missing brackets were a slackness in my cut and paste skills.

Just to be sure I went back and redid everything, but came up with the same result. With or without the brackets in there I cannot connct to Eloipool, but without the ".decode()", I can connect, but recieve the error..

Cheers Grin
balemon
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 11, 2014, 06:05:48 AM
Last edit: March 11, 2014, 07:14:18 AM by balemon
 #272

OK, Got it running.
Appears I had to but some details in teh config that I missed..  Roll Eyes

So now. when it finds a block should it show as rejected??
Also there is an error that seems to be random. It's also in the log.

We are using the testnet to test this.. just unsure

Code:
2014-03-11 15:56:25,583	merkleMaker	INFO	New block: 00000000ec0f57dd5f7e6511ec3e8b7d6e2458b5d7b34e11922d04cb5e9025de (height: 204337; bits: 1b180ab0)
2014-03-11 15:56:25,594 JSONRPCServer INFO Waiting 14.9 seconds to longpoll
2014-03-11 15:56:30,051 JSONRPCServer INFO Ignoring longpoll attempt while another is waiting
2014-03-11 15:56:40,527 JSONRPCServer INFO Nobody to longpoll
2014-03-11 15:59:19,764 BitcoinLink DEBUG Received block inv over p2p for 00000000c881e0efc98059046558fae7fdea6264d4efc1c7011639e58542bf1d
2014-03-11 15:59:19,777 merkleMaker INFO New block: 00000000c881e0efc98059046558fae7fdea6264d4efc1c7011639e58542bf1d (height: 204338; bits: 1b180ab0)
2014-03-11 15:59:19,783 JSONRPCServer INFO Nobody to longpoll
2014-03-11 15:59:19,792 newBlockNotification INFO Received new block notification
2014-03-11 15:59:22,508 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:01:34,305 checkShare INFO BLKHASH:           169d276fcf1908811cebafc70c7e69446654624412047629686067
2014-03-11 16:01:34,307 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-11 16:01:34,307 checkShare INFO Submitting upstream
2014-03-11 16:01:34,308 checkShare INFO Real block payload: 020000001dbf4285e5391601c7c1efd46462eafde7fa5865045980c9efe081c800000000bf432237dd27125a71ae4c70b1b0f054396574b7d1463d778790591fbf3cf2b8bba61e53b00a181b9b86542a0a01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1103321e0304531ea6a80000000021010000ffffffff0160dc062a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac00000000010000000162bb42b2524feaa4a605a0f23e187828baa433ec9fb5905fad714a430cbf2c04020000006b483045022100d17c7260ffe38bc15ed3fdea972109f06ab7628865f116f86238f793a5b49f1502204ec15af4db5d2d9eb17884723ce413514319fb371dd6ad43e3a919a77d52a063012103366f51a0cdc763e91ea2cf77dd3d37633551b0fc68b535d1315cba0aa57f5157ffffffff03d8209000000000001976a9149d8fa51eb46097d0c5b72448352f10949dd02f0588ac69b90000000000001976a91443dc321b6600511fe0a96a97c2593a90542974d688ac6e0d0fe1000000001976a914af685e020bb2c3d19fb7d524658a97e97ef9703a88ac000000000100000001be05c3b86d326151e1704157f18e025ec15112414a7dc4af075037419c258711000000006b48304502207f0c6dceab5f5f3e294dbcf69f582a7803d05a45c49e1ea0ab22971bf87d81bb022100b2eb6cb0c5b863ce7be580f2bddc3672d8b40664b12020a19678a42edf26c51c01210275798721f6631d86defd86b093141453e2e61af2cc5efbf8e00a43935059eedcffffffff0280384fe1020000001976a9147d2420c227e9d05d790f930ff3fc718738da9eac88ac801a7018000000001976a914662f522632a823d8f6f602ff6dcbe708af506bc088ac000000000100000001804301dc75c2f22fdd8dcfa4f8bb1f688f1d04ee6fda156827c781a0a215bb39000000006a47304402201a4c127e61a9f0b29b13d85988eab38ada79aabec9471b1098e3fb5e182f979102204e89dd8bb2902fb76446052ace6dce70c3f8957417e2dd92f5dc512cf6f59c860121025533b65d6c25a3f5eae8241ed4dec92ae59b7670fe5768f57d57a2615797be53ffffffff033cab9f00000000001976a914af685e020bb2c3d19fb7d524658a97e97ef9703a88ac67cd0000000000001976a91443dc321b6600511fe0a96a97c2593a90542974d688ac2c3be507000000001976a9146b64e67bf7ce9655daa29847bd4664211e79dd5888ac00000000010000000180da9ee7b36a3c2c3e69464723a6abf4278f92cf81789274c247ac5895997668000000006c493046022100ccb610d38ee22f703cba45e81b5863700c21cec8b5b86bf3a30014c99be92fc6022100b488c8e281b38cc6216685a3eb864e085cb2c9d2da0ae367abc569f59f53aa5201210258ce75f68fbe23dde2a7cbfd39a03579f2a2f7aef4208410aace155a75cc800cffffffff021cf31a03000000001976a914cf20239950ff5dbc50a40caf7b4a4ca2b8bdcddd88ac740b82840b0000001976a9146aa9337431240a608d1ed9d3cac17d2ad4bd760c88ac000000000100000001ae2c043a2a42755859fe54daa131359486edd3e95c31a0c643790d311c8d68a2010000006b483045022057992c6ad5ecfc2b5af2c323c3f7488a0490fd0149675d738e3f22ff591ddc200221008ac82a68579239eb385542fcf54a79220866e79f300d4a8a615b506bf99d942a0121025dfcbc7a2efb11ae68d08e02ce67b110c6b0b0d44d85938122c460b7c84395d6ffffffff02e8800000000000001976a914514951a7219fd99678c634bea850b0cb69f4e9ca88ace8eaf405000000001976a914f510cb928f5b85f73928ec0e2e8f2910de5395d188ac000000000100000001768ae0016aec4d990b25b63f0938b4f55ac42a9ac94340a441cd2286d059f857010000006b483045022100864ee64f79158b0beaba7508d037fe120bc56aa2c2d4b8e5270b46d058545c16022021d33ba7b9147430ea8ad2b0ca66fab1fc0221f1081f39cf3c33b30672934615012103253866214fe36fbcf9e56d90e3b4e6cac660a29b41f293b31e14503070544765ffffffff023efb0e03000000001976a914df02b93b7edb7406e25baa17fa66c87f45333b3388ac14ad7c45040000001976a91430d13024c20750852762107e462fcc45cd91e7af88ac000000000100000001e3869a49f94c602f4a760308ea59661f9f3f7b45746d47750e174e782b1b68e2010000006b483045022100b0aa69d0341e44b7a706bf965142e7389082af00c8efd7bf6a903183742aa824022024b35c067e3f31e6b01728b596e6b122fea9ce7dca40631c55fb160f47824e98012103517ced1a801b13d2169d905e54967b4ba24882295df67e630331f6f705c49bb8ffffffff02801a7018000000001976a91423b7530a00dd7951e11791c529389421c0b8d83b88aca02e9122000000001976a9142e06c67be86bdc63177ef88e9161f72a4993726888ac0000000001000000018ed6150453ece16b6549e65cbc87026fbe841cb1ce35ddae4f5e3a03fd43db26000000006c493046022100df01a5ced945baaac14ecdc42de5db931d36997879c3c9fbf850e4464b4530aa022100a9c1a8d31ace4ea90deeb5835657fe2fe24eac0262c4825fc07eca2cf04fcf56012103bfd0e2fbc9c90954cb2a18da01d4264d51581acb7cd45c44784a80cfea7b97e6ffffffff02270fd114000000001976a914c9b9aaad0e1128bae410ba29ce685e98f317d11e88ac4ccafb01000000001976a914ebc76b86ccced62062a6dfc0853bd0be12a62ba288ac00000000010000000451da967ef5e1fcfe4102cfbce051392978fc790155b11848c72e6f829f24fca2000000006a473044022018ea4927218963d0bd7aca143b78107857d76108736ea73c7f2e50703078bbf302203d33244455458d9a664098c218d293af8a813d1441c19c9386ec68222e8598440121025dfcbc7a2efb11ae68d08e02ce67b110c6b0b0d44d85938122c460b7c84395d6ffffffffa1ef391cb34a113b60f0698fb2356cae3dde866076df873c90d2eee69941cf70000000006b4830450220373da1a7601b4f24c03807894ac60795c32a955e07b9acd9214af111a56c2e62022100bafc6c21dc1c9e4f58012f27eab676b87426c3035c7e1e90618dfcc8ee82d4b00121025dfcbc7a2efb11ae68d08e02ce67b110c6b0b0d44d85938122c460b7c84395d6ffffffff70d85634baf4b6386424bcd1653927b357503c63bc887075f321e9fa395102b3000000006b483045022100a74d9f794e22f71a6bbc3b01508c8a646efd873878ee70e0debc0a2af629f44502206ecbaa1fa2973f1f5a155fbe919c093c060673383a14ea5ff6de13e5c9540ea00121025dfcbc7a2efb11ae68d08e02ce67b110c6b0b0d44d85938122c460b7c84395d6ffffffff192dbd2704c17e1b0b7daf2ad16b010c08c9f3df55f6d7efb4de1b3359fde78e000000006a4730440220064d8b1ee579388778655ef480533909f84c13456c34e80533ba47b196bd7fd90220246ff42d91323e564a8f5cb82def5e3c47f4688e911e20ded3a44029d1a01b4e0121025dfcbc7a2efb11ae68d08e02ce67b110c6b0b0d44d85938122c460b7c84395d6ffffffff02e8800000000000001976a914514951a7219fd99678c634bea850b0cb69f4e9ca88ac68420000000000001976a914f510cb928f5b85f73928ec0e2e8f2910de5395d188ac00000000
2014-03-11 16:01:34,314 merkleMaker INFO New block: 0000000000169d276fcf1908811cebafc70c7e69446654624412047629686067 (height: 204339; bits: 1b180ab0)
2014-03-11 16:01:34,316 Waker for BitcoinNode DEBUG Read wakeup
2014-03-11 16:01:34,326 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:01:34,327 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-11 16:01:34,333 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-11 16:01:34,341 redflag CRITICAL Upstream 'primary' block submission failed: rejected
2014-03-11 16:01:34,374 newBlockNotification INFO Received new block notification
2014-03-11 16:01:37,001 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:06:07,886 BitcoinLink DEBUG Received block inv over p2p for 00000000689c3450cb346a97b5a31807700f0182a170a2b8d1a7fbda9acaaef8
2014-03-11 16:06:07,895 merkleMaker INFO New block: 00000000689c3450cb346a97b5a31807700f0182a170a2b8d1a7fbda9acaaef8 (height: 204340; bits: 1b180ab0)
2014-03-11 16:06:07,897 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:06:07,917 newBlockNotification INFO Received new block notification
2014-03-11 16:06:10,750 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:15:14,009 BitcoinLink DEBUG Received block inv over p2p for 000000000008bff4e1e9aab9744e9df86fd34bcea212f7698ef678137616ad9c
2014-03-11 16:15:14,020 merkleMaker INFO New block: 000000000008bff4e1e9aab9744e9df86fd34bcea212f7698ef678137616ad9c (height: 204341; bits: 1b180ab0)
2014-03-11 16:15:14,032 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:15:14,041 newBlockNotification INFO Received new block notification
2014-03-11 16:15:16,665 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:17:17,071 checkShare INFO BLKHASH:           1771cf3aa462f10d2f0b3a39c11bf7279d2f56e164584ea02b143c
2014-03-11 16:17:17,072 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-11 16:17:17,072 checkShare INFO Submitting upstream
2014-03-11 16:17:17,073 checkShare INFO Real block payload: 020000009cad16761378f68e69f712a2ce4bd36ff89d4e74b9aae9e1f4bf0800000000004c929bc89aeaf82a70c634fd8a6dce3978f5a2a0608f8b3d3f2225392324c57d69aa1e53b00a181b18dc77180101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1303351e0306531eaa62012d0000000086000000ffffffff0100f2052a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac00000000
2014-03-11 16:17:17,076 merkleMaker INFO New block: 00000000001771cf3aa462f10d2f0b3a39c11bf7279d2f56e164584ea02b143c (height: 204342; bits: 1b180ab0)
2014-03-11 16:17:17,082 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:17:17,082 Waker for BitcoinNode DEBUG Read wakeup
2014-03-11 16:17:17,086 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-11 16:17:17,094 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-11 16:17:17,104 redflag CRITICAL Upstream 'primary' block submission failed: rejected
2014-03-11 16:17:17,129 newBlockNotification INFO Received new block notification
2014-03-11 16:17:19,814 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:31:52,276 BitcoinLink DEBUG Received block inv over p2p for 000000009dd7bd84faaf02ab70427ba7efa33dba46e213a581ed0a4e9e49b3e8
2014-03-11 16:31:52,286 merkleMaker INFO New block: 000000009dd7bd84faaf02ab70427ba7efa33dba46e213a581ed0a4e9e49b3e8 (height: 204343; bits: 1b180ab0)
2014-03-11 16:31:52,310 newBlockNotification INFO Received new block notification
2014-03-11 16:31:52,323 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:31:55,174 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:36:39,486 checkShare INFO BLKHASH:            94466bffe8fffb3a69f813e460ccc748c4ffa2d8e28770b49098b
2014-03-11 16:36:39,486 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-11 16:36:39,487 checkShare INFO Submitting upstream
2014-03-11 16:36:39,488 checkShare INFO Real block payload: 02000000e8b3499e4e0aed81a513e246ba3da3efa77b4270ab02affa84bdd79d0000000032cc7e07af1f8ce2a52a37ce8fba88945d374707006a402d578dcc83a37490fff4ae1e53b00a181b46703f6e0301000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1303371e0306531eaeee03f40000000073000000ffffffff012040062a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac000000000100000001edfbeaee66f994755ab439803959ed2d748137cf73bdca20a9aade9d002f5949010000006b483045022100adad4f89d34bf2fc3ddccaccddc493c545809eb53bdfa3eeef2b38fa5e60b3260220398986890237083db9fae7c5369965f4a4a7789845e94cb0da686ee17f3ab5c5012103114eaf17f04d9d9253ff884792215a8723210cbd9851f5957d79350307bdf759ffffffff026a655708000000001976a914a83df1c633945ba8459269840b6e4a802bfe703388ac242dd204000000001976a914c133837e2906e9f0ea93342c19ec53071c7c9e5388ac00000000010000000148a027d04621b46f9204b17e2e7020880c729a28a04fb072fff24bb6492bb145000000006a47304402207d1daf63c924c45740dd9e1edd65a50ad552d3d67d094647ba680ca3b653ee9b0220673b66e6f4607ae08413ebb421cba7284939f5653fed44eebc16d8a9a430501f012103e7c59c599cae76bdfa3e7b1bbc552efa8e1dc72f807b9db0861c49fa26249912ffffffff029a18bf01000000001976a914473aec86a0abe4c23f1f0b3cb024b70879013b5188acf26bac00000000001976a91463a50466d6ff658312341d6269cdb7aec4a4942c88ac00000000
2014-03-11 16:36:39,490 merkleMaker INFO New block: 0000000000094466bffe8fffb3a69f813e460ccc748c4ffa2d8e28770b49098b (height: 204344; bits: 1b180ab0)
2014-03-11 16:36:39,493 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:36:39,497 Waker for BitcoinNode DEBUG Read wakeup
2014-03-11 16:36:39,500 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-11 16:36:39,514 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-11 16:36:39,519 redflag CRITICAL Upstream 'primary' block submission failed: rejected
2014-03-11 16:36:39,542 newBlockNotification INFO Received new block notification
2014-03-11 16:36:42,332 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:38:44,527 newBlockNotification INFO Received new block notification
2014-03-11 16:38:44,536 merkleMaker INFO New block: 00000000b58f8f4e61725a9db000f36d4c784a9ea157f8531a1c91b5ee4a0937 (height: 204345; bits: 1b180ab0)
2014-03-11 16:38:44,540 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:38:44,549 BitcoinLink DEBUG Received block inv over p2p for 00000000b58f8f4e61725a9db000f36d4c784a9ea157f8531a1c91b5ee4a0937
2014-03-11 16:38:47,355 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:43:08,263 checkShare INFO BLKHASH:            e69086f918eaa087c327c5001e4a9b22960e966c0334354fa8e14
2014-03-11 16:43:08,264 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-11 16:43:08,264 checkShare INFO Submitting upstream
2014-03-11 16:43:08,265 checkShare INFO Real block payload: 0200000037094aeeb5911c1a53f857a19e4a784c6df300b09d5a72614e8f8fb500000000b06dca812cfb6efcfcf4a01d354c1391b93718d6d21bb5f12427c38fdd272dca79b01e53b00a181b53acfa4b0501000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1303391e0306531eb053060e0000000012020000ffffffff013067062a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac000000000100000001139dc3fa204a7fef1fea3b70335f0651995996e4bd1ef8bd8a72869cdd2102a2010000006b4830450221009734c2ab2b1421f34afcfef3fc7a34def3ffa24383d0f690028f211efbc4c508022035dd141ff95f5b265df503943792a47988e1c33e42460debb532506e4a4282380121023e62327134f2257a680c9fb1d77c20b3fc236c6d013e855deab0becb42ce7852ffffffff0212298503000000001976a91414c82b00e06eb2e45bd2e89143fefe57c609a05b88aca0e9367a0b0000001976a914fd1403815612aea7fe9be9e8b094db030cb9036b88ac000000000100000001ec83f6debde843469b31e89fa24df4c55910a09be4c856b45ce13e109152780a010000006a473044022077ff6874717d8a489bb6ab7dfe09fff97632514d43403deaa2bc518bd247f566022042f91e14a3a680abacdabac07b96ac9c29ff6ed7dcd154831ac732372a9db6580121039b135b82edb823a9530adb58fe4248403385ca37c0868df19d6de009667bd0b5ffffffff02f0e82600000000001976a914e2d23f9ecb2c9f44444f567ba0980cc70e41c49688ac6012e034000000001976a914defb56704d91f8c856dd37937a47043ab413d08a88ac000000000100000001ca8d40ac1c5056b59484e97937ce7af66e4a0b8f92ed8e10d1923f7b8b5a4245010000006a473044022070cee61a42047b636e9c48862a4d3b753e69ae76aab4b4b8cd6ab6bbc69c127f022023729e082264e89616dac6f120205430d72b1aa18127b9c227f15ec7dddf92780121037276f2234f116d4a3a0885c5cface8d3c064d540f025125a1a8531bc516b7baaffffffff02f36fdf17000000001976a91411d389c8cceba108511ea7d1bd85beaf09a9daf288ac905ccb01000000001976a9145a3ee0a224b5bc34efe71c7cddba12e18943ef5088ac0000000001000000024a6a4f04696c6b4cdd4e610ad2745f6a03084d6baacd254d068107864c28e4ba010000006c49304602210094f53a59f513441ebdc79e8255b56ca352c6acf0caacb5e825a2753fb102b93e022100ee3830a0e79b9541c2469b71db806ba85883b9332fb4ffa2131dca4f785f3d3001210338328d7dd4268f349ce2604f10b2d0c6b3d2571e935603e6809aaab6c16cdf3dffffffff95ff190faa1fddf63d9af0715ec1681541400a63d66f858a546cd787eb5e47b1010000006b483045022100ce910f67533e8f353af2db2767b5f96b07ec85818c4b6058ae95d8b5b6e4042f0220149af343725188de8d10d989399298e87966bf611929c7c23ea6f9e4d98ce7c1012102bc8722004187b2a55746c044a931f84eb65d49c903719c36e84bd74cd3772e25ffffffff0250690f00000000001976a914311454724582df155034ae07db12a4ab337d329488ac002d3101000000001976a914dd8f23a955f3cd281943d58e4b208988cb945cfe88ac00000000
2014-03-11 16:43:08,269 merkleMaker INFO New block: 00000000000e69086f918eaa087c327c5001e4a9b22960e966c0334354fa8e14 (height: 204346; bits: 1b180ab0)
2014-03-11 16:43:08,272 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:43:08,273 Waker for BitcoinNode DEBUG Read wakeup
2014-03-11 16:43:08,276 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-11 16:43:08,293 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-11 16:43:08,295 redflag CRITICAL Upstream 'primary' block submission failed: rejected
2014-03-11 16:43:08,319 newBlockNotification INFO Received new block notification
2014-03-11 16:43:11,074 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:45:49,123 checkShare INFO BLKHASH:            e5cac6f817c10e1503fe4ecad0e088300c63f7dee80d45c936889
2014-03-11 16:45:49,124 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-11 16:45:49,124 checkShare INFO Submitting upstream
2014-03-11 16:45:49,125 checkShare INFO Real block payload: 02000000148efa544333c066e96029b2a9e401507c327c08aa8e916f08690e00000000003c6cf2767de9eaf35602743fddf2f67ad9ae176b8807b136806039aa6f55a20f19b11e53b00a181bac686a520701000000010000000000000000000000000000000000000000000000000000000000000000ffffffff11033a1e0304531eb0ed0000000060020000ffffffff01408e062a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac000000000100000001a0e9a987155d749416fe3021ee3613d2285fd8c2828e1ec0b8b1c2cb07abefd4010000006b483045022071b88e8261e614602d24f6da2cd83172a43646b2ba769664114b3c7bd37d1a96022100ec0044b6f9c6ff2a8314429baff18b2eedb09b689e820488033de05272eb2481012102c905595ebcdc7f192c777d70ab1e1de7d84486e0a1d614add52e85adf02aee72ffffffff027057fe02000000001976a9142904a5df8a2991532985004998ba2acc8e82903488aceabe273f040000001976a914d93a76fa803af2ef5c12160a0bb38d87f767963488ac0000000001000000018a2e826c81be469d3fe56996f487bf197ea303f6064517efeaf3039c22246687010000006a47304402205fcad14de0e07b7a86ce5902252f7b77867e257162f38b2e840efabb2ccce51702201170046847c353e242f07e371f6cdc7185d8e53cd9de74c95c7074b978894cf8012102f53ced39b8580ac27e5d25475cb9b070e5dabe9cebb9e32caec7f6ebd127fa77ffffffff02eec2e0760b0000001976a9148fc0e95c9233a52a8b8ef93f034f7ea4598f4f0088acb2265603000000001976a914d2bb150a71fa4fc9e48f202796fc8f56b348427f88ac000000000100000001cea500aff13d404f720a2190b93272613f650739a5798d6ed99c030569fa77e7010000006a47304402203d4b2523f17473867a7e120f6eb83b35a9b4b9ae68c46822cacc6cbf314a53fe0220778812289798f5643e2505253c63e86778ec1320f92d1ec625070417f2c253e4012102e38714e422672badb9938ad5e15b414e00089f173029881e20fb3283c54f1486ffffffff0252edaf01000000001976a91466ac68cbb9efdcd70a276468101aaffb5942707b88acc87bd515000000001976a914ab564710a48e81f8c0f299663277e16ef4f626b188ac0000000001000000016cda0d964722fa4b5c1a517761a129a310acc21ac67a84d7aa6039b34931e686010000006a473044022012f171e3ed8bb5718fc975f2861afc7b6833d33c49d85a6936c44fc8cc23a3f6022053f5223ddab6d1417cb32e3fb788fd50c5142743163cb4d71a644423a3f3da530121039b135b82edb823a9530adb58fe4248403385ca37c0868df19d6de009667bd0b5ffffffff02f0e82600000000001976a914641e81b6221301afde668537d8b1c9f53975fc0288ac6002b934000000001976a914defb56704d91f8c856dd37937a47043ab413d08a88ac00000000010000000148447bbfb9348466aee06833d33b90d8789e9cae50a79d66731828f614f6627e000000006b483045022100961101301d08783a2672fd2c6d6fef8741940d05ce6e7737f8708a5cb43f245a0220531649f162031985f73002b4265c29c1d9d1717179b18127023e889a596a9aec012103458e98ec4f069070a13d09d0a4a4f84465c720180b77b3e7da6be38cd5b639eaffffffff0256a7ab01000000001976a914d4d2afb209a7c90b5c11cd3e006836c2274f1f4c88acd0b6ac10000000001976a914ce4ee6a44542abc5ccd0cd9677eafa7357c47f1888ac000000000100000001371849a5e5cfea5822707c40e3a35d2b3cc21a259dd5254f94e558e14b5612f5000000006c493046022100e63379b0c54e8abed14f1ce9e814a287a2894ee5b81cde1a364943a8dcd66832022100a54e350e2572127e7eef1e36825c3bb2b64120d7d94e16235bf9a6291e1517170121036c0c0d4ff07381aa7a1df3ca5fbffb4e16858430f257fd9b0bb15521403b954bffffffff02beb2c901000000001976a914a2f11e282ac588acc05760bd94c0a015756933a388ac0dfc7411000000001976a9144656fa0bc570dccab4b2e0712f32ea729788ef2488ac00000000
2014-03-11 16:45:49,128 merkleMaker INFO New block: 00000000000e5cac6f817c10e1503fe4ecad0e088300c63f7dee80d45c936889 (height: 204347; bits: 1b180ab0)
2014-03-11 16:45:49,140 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:45:49,144 Waker for BitcoinNode DEBUG Read wakeup
2014-03-11 16:45:49,147 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-11 16:45:49,157 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-11 16:45:49,166 redflag CRITICAL Upstream 'primary' block submission failed: rejected
2014-03-11 16:45:49,189 newBlockNotification INFO Received new block notification
2014-03-11 16:45:51,957 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:47:20,185 checkShare INFO BLKHASH:            1f78c6c6378c7cdde85775ab2ac6d618716c1b87e29dbbe69352c
2014-03-11 16:47:20,185 checkShare INFO TARGET:           180ab0000000000000000000000000000000000000000000000000
2014-03-11 16:47:20,186 checkShare INFO Submitting upstream
2014-03-11 16:47:20,186 checkShare INFO Real block payload: 020000008968935cd480ee7d3fc60083080eadece43f50e1107c816fac5c0e0000000000b24dc86f690f3649f2185c5002d2a2e9d11d81af6e8934fb20ec5293eefac3ea73b11e53b00a181b77c77d1a0401000000010000000000000000000000000000000000000000000000000000000000000000ffffffff11033b1e0304531eb156000000009f010000ffffffff011019062a010000001976a91438ac799ceb934fec797fd7e8800661f5ab4bb7dd88ac000000000100000001fe41c35dcc381fa3f8393bd0cc6b67b41605f9c48910b0481979d8984e3ac887000000006b483045022047c15403204e5d236f69946371d302fd401a64d67fd2a221d32e3855ee64c20d022100e226b8e44bd46cf57ccc55eb91033e05adf8a1721d6d24bbe5738095f5c421e2012103b43a377887f70c92e3cacdec2299fb9ead1ae141e6042c7e43b8ff1f0ccf6a52ffffffff025c3851730b0000001976a914a0d6baa222eef25e628164d31cb1a953c8d6ae4988ac928a8f03000000001976a914a5f687b6790914b955ef8b3e5295657a7918fa7f88ac0000000001000000015015b74fe1f90a074d95f52b87b3bb1e6c49b948fa5739bb9c0ddb1a72e8a5da010000006b483045022100bd718941ca344c1d73f68d3f40977e1222d2608b2fd857582c317e362add685a0220225220a359b6689f27a1b142f1f27abbd2e235a8345b41b4fc47f035637e15cb012103a132ed0e09f8ca944594c13c53902ed4498ec98b408178930bc0f9fcf4bfd87bffffffff0270fd293c040000001976a9149d603113300b3138c54b8486109a93c5f731ef7588ac7ac1fd02000000001976a914a0ec45dd7e10bf5cb2bce7387da5f33b5e3ca83588ac00000000010000000174c46663bdff01de72a65a2147b001e695e8edd8988e106cb63713bdf124085b010000006b483045022100ce29776e267ae67b2a7bb730f368b45714ed16990b7bff281377d5c2ff3811f1022028618b2856a8163bb6021a36edad8cd46e0fa436db0b57d610f1518b030c649c012102e86e925ee6b3ed000bd72f0cb51be0135a466917c4f7f04ceb79ce2fabe78e57ffffffff0280969800000000001976a91460b198dd4631fe00a1c5367a23661ae1455517ea88ace00b6202000000001976a91405288960acd0f3b0fca4945d8cc0a68a2a95251388ac00000000
2014-03-11 16:47:20,190 Waker for BitcoinNode DEBUG Read wakeup
2014-03-11 16:47:20,191 merkleMaker INFO New block: 000000000001f78c6c6378c7cdde85775ab2ac6d618716c1b87e29dbbe69352c (height: 204348; bits: 1b180ab0)
2014-03-11 16:47:20,192 BitcoinNode INFO Sent `block' to 1 nodes
2014-03-11 16:47:20,197 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:47:20,217 blockSubmission DEBUG Upstream 'primary' accepted block
2014-03-11 16:47:20,223 redflag CRITICAL Upstream 'primary' block submission failed: rejected
2014-03-11 16:47:20,246 newBlockNotification INFO Received new block notification
2014-03-11 16:47:22,863 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:49:21,126 BitcoinLink DEBUG Received block inv over p2p for 00000000fe37e055e9c1a6ae23c1501425edf43911ca1f348032e14a3c9cfd37
2014-03-11 16:49:21,135 merkleMaker INFO New block: 00000000fe37e055e9c1a6ae23c1501425edf43911ca1f348032e14a3c9cfd37 (height: 204349; bits: 1b180ab0)
2014-03-11 16:49:21,140 JSONRPCServer INFO Nobody to longpoll
2014-03-11 16:49:21,152 newBlockNotification INFO Received new block notification
2014-03-11 16:49:24,036 JSONRPCServer INFO Nobody to longpoll
2014-03-11 17:02:23,457 newBlockNotification INFO Received new block notification
2014-03-11 17:02:23,481 BitcoinLink DEBUG Received block inv over p2p for 0000000018b30c353662d9ce9816b902fd777313370da81302faadf86434704c
2014-03-11 17:02:23,485 merkleMaker INFO New block: 0000000018b30c353662d9ce9816b902fd777313370da81302faadf86434704c (height: 204350; bits: 1b180ab0)
2014-03-11 17:02:23,497 JSONRPCServer INFO Nobody to longpoll
2014-03-11 17:02:23,508 BitcoinNode ERROR Traceback (most recent call last):
  File "/bitcoin/eloipool/networkserver.py", line 422, in serve_forever
    o.handle_read()
  File "/bitcoin/eloipool/networkserver.py", line 62, in handle_read
    self.handle_readbuf()
  File "/bitcoin/eloipool/bitcoin/node.py", line 94, in handle_readbuf
    getattr(self, method)(payload)
  File "/bitcoin/eloipool/bitcoin/node.py", line 127, in doCmd_inv
    getattr(self, method)(invHash)
  File "/bitcoin/eloipool/bitcoin/node.py", line 131, in doInv_2
    self.server.newBlock(blkhash)
  File "./eloipool.py", line 79, in <lambda>
    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/bitcoin/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/bitcoin/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/bitcoin/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/bitcoin/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/bitcoin/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/bitcoin/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

2014-03-11 17:02:23,510 BitcoinLink DEBUG Traceback (most recent call last):
  File "/bitcoin/eloipool/networkserver.py", line 422, in serve_forever
    o.handle_read()
  File "/bitcoin/eloipool/networkserver.py", line 62, in handle_read
    self.handle_readbuf()
  File "/bitcoin/eloipool/bitcoin/node.py", line 94, in handle_readbuf
    getattr(self, method)(payload)
  File "/bitcoin/eloipool/bitcoin/node.py", line 127, in doCmd_inv
    getattr(self, method)(invHash)
  File "/bitcoin/eloipool/bitcoin/node.py", line 131, in doInv_2
    self.server.newBlock(blkhash)
  File "./eloipool.py", line 79, in <lambda>
    bcnode.newBlock = lambda blkhash: MM.updateMerkleTree()
  File "/bitcoin/eloipool/merklemaker.py", line 561, in updateMerkleTree
    self._updateMerkleTree()
  File "/bitcoin/eloipool/merklemaker.py", line 549, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/bitcoin/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/bitcoin/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/bitcoin/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/bitcoin/python-bitcoinrpc/bitcoinrpc/authproxy.py", line 112, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 967, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 995, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 850, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent

2014-03-11 17:02:26,235 JSONRPCServer INFO Nobody to longpoll


Thanks..

Cheers
balemon
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 12, 2014, 06:51:56 PM
 #273

Anyone able to confirm submissions to the testnet should  or shouldn't be rejected.

Cheers
Aldur1
Member
**
Offline Offline

Activity: 73
Merit: 10


www.bitex.co.uk - A new begining in cryptotech


View Profile WWW
March 13, 2014, 07:54:54 AM
 #274

I'm Trying to setup an eloipool server, and have successfully got it running, but wanted to see if anyone could explain some of the items available in the configuration as despite a bit searching I havnt been able to find an answer......

ShareTarget = 0x000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffff

GotWorkTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff

What is the difference between share target and got work,  and with that in mind should

GotWorkURI = ''

Be pointing to bitcoind or is got work for merged mining?

and finally

SecretUser = ""

what user should go here? bitcoin, altcoin, server?

Thanks

Donations: 1PX1uRHtWzYLBdbbRm2nbhqS3H4QcxqDkD
Bitcoin OTC WoT: http://bitcoin-otc.com/viewratingdetail.php?nick=aldur1
https://www.facebook.com/BitEx.Cryptocurrency.Solutions
https://twitter.com/bitEX_Ltd
http://instagram.com/bitex_ltd
http://www.linkedin.com/company/bitex-ltd
<html>
<a href="http://bitcoin.stackexchange.com/users/13963/hafnero">
<img src="http://bitcoin.stackexchange.com/users/flair/13963.png" width="208" height="58" alt="profile for hafnero at Bitcoin Stack Exchange, Q&amp;A for Bitcoin crypto-currency enthusiasts" title="profile for hafnero at Bitcoin Stack Exchange, Q&amp;A for Bitcoin crypto-currency enthusiasts">
</a>
</html>
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
March 13, 2014, 02:35:28 PM
 #275

Share target is the bitcoin share difficulty.  Gotwork target is the merged mining share difficulty to pass along to namecoind. GotworkURI is the URL to the merged mining proxy you have setup.

SecretUser is the username for the mining proxy/namecoind.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Aldur1
Member
**
Offline Offline

Activity: 73
Merit: 10


www.bitex.co.uk - A new begining in cryptotech


View Profile WWW
March 13, 2014, 10:01:57 PM
 #276

Fantastic, Thank you.


I had a feeling it was something like that but just wasn't..

Donations: 1PX1uRHtWzYLBdbbRm2nbhqS3H4QcxqDkD
Bitcoin OTC WoT: http://bitcoin-otc.com/viewratingdetail.php?nick=aldur1
https://www.facebook.com/BitEx.Cryptocurrency.Solutions
https://twitter.com/bitEX_Ltd
http://instagram.com/bitex_ltd
http://www.linkedin.com/company/bitex-ltd
<html>
<a href="http://bitcoin.stackexchange.com/users/13963/hafnero">
<img src="http://bitcoin.stackexchange.com/users/flair/13963.png" width="208" height="58" alt="profile for hafnero at Bitcoin Stack Exchange, Q&amp;A for Bitcoin crypto-currency enthusiasts" title="profile for hafnero at Bitcoin Stack Exchange, Q&amp;A for Bitcoin crypto-currency enthusiasts">
</a>
</html>
cryptophoenix
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 14, 2014, 09:46:53 PM
 #277

The exception I was getting with bitcoinrpc was addressed by following jgarzik's steps in the avalon/eloipool thread... https://bitcointalk.org/index.php?topic=158105.0

Quote

eloipool setup
...
python-bitcoinrpc       https://github.com/jgarzik/python-bitcoinrpc
...
2) For python-bitcoinrpc, check out an older release,

Code:
$ cd /repo/python-bitcoinrpc
$ git checkout -b solo-mining 770881c8bd9b1f92427290270b37a28751cf9df0

So... that part is good. I keep getting the following exception though.

Code:
2013-11-23 03:58:18,716 StratumHandler  DEBUG   Traceback (most recent call last):
  File "./eloipool.py", line 668, in receiveShare
    checkShare(share)
  File "./eloipool.py", line 506, in checkShare
    MWL = workLog[None]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/foo/build/eloipool/stratumserver.py", line 91, in found_terminator
    rv = getattr(self, funcname)(*rpc['params'])
  File "/home/foo/build/eloipool/stratumserver.py", line 199, in _stratum_mining_submit
    self.server.receiveShare(share)
  File "./eloipool.py", line 677, in receiveShare
    logShare(share)
  File "./eloipool.py", line 651, in logShare
    share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8')
KeyError: 'data'

2013-11-23 03:58:18,720 JSONRPCServer   INFO    Nobody to longpoll


I am wondering if I should be concerned that eloipool won't be handling winning shares correctly.

Anyone work around this?

Did you ever get a solution for this?
LukeJr -- any ideas what causes this?
jeppe
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


View Profile
March 20, 2014, 08:41:42 PM
 #278

Is it possible to get this working for a ppc pool??
Thanks,
JT
SolarWindMiningCompany
Hero Member
*****
Offline Offline

Activity: 966
Merit: 502



View Profile
March 21, 2014, 06:49:54 PM
 #279

Hi Luke, everyone,

With individual miners using their own miningware at home becoming less feasible with every rise in the difficulty level, more and more people are moving to cloudmining platforms. This has the effect of centralizing Bitcoins Network, something that those of us who care more about Bitcoins potential than we care about just making a profit, should have serious concerns about. This issue was one of the main reasons that I founded SWMC. I am always been concerned over threats to Bitcoins Decentralized Network. SWMC is in the process of creating a Hashing Exchange and to help solve the potential threat to Bitcoins Network, SWMC will be offering its users the choice of pointing their mining hashes anywhere they want, or even solo mine if they wish.

This is one of the solutions that I came up with was to address this potential threat using SWMC's Hashing Exchange:

Use a "Master Mining Pool Server" that acts not only as a mining pool, but as a router to other mining pools (including p2p mining pools.)  In order to allocate hashing power owned by a SWMC Hashing Exchange users to any mining pool that they request (an essential element to making this work), the "Master Mining Pool Server" would need to dynamically divide the total hashing power available to it, into as many little chunks as possible and also dynamically direct/redirect the hashing power to the requested pool. Solo mining could be achieved by creating a "Personal Mining Pool" for each user and then have the Master Mining Pool Server direct/redirect the hashing power to their Personal Mining Pool. The Personal Mining Pool owner could also share their personal mining pool with their friends or partners. Personal mining pools could easily be used and would be perfect for crowdfunding projects. It would be a nice way to create a "Kickstarter" like service using the hashing power to fund the projects! Executive Decision: SWMC will make it easy to create and donate to Crowdfunding Projects and this feature will be built into SWMC's Hashing Exchange platform.  (I am never happier than when I think of a great idea that will help people achieve their dreams. Smiley)

So here is the question, would it be feasible to modify Eloipool to serve as a "Master Mining Pool Server," or would it be better to create a modular system that used individual instances of "Direct/Redirect Hashing Moduals"  (or a mixture of both) to feed work to the individual Wasps? (I am a member of The Wasp Project Collective and SWMC will be using our design to populate SWMC's mining farm.)

I have offered 25% of all trading fees from SWMC's Hashing Exchange as payment to anyone who contributes to the development of SWMC's Hashing Exchange. Too date, as I have found someone to design the website and exchange, there is only 10% still available. Since having something like the "Master Mining Pool Server" that I have described is essential to the success of my vision for the Hashing Exchange, I am willing to allocate the rest of the 10% remaining to anyone willing to help SWMC build this system. I will also commit to making all the code for the Hashing Exchange and "Master Mining Pool Server" available with an open source license, once SWMC has been operating successfully for 6 months (just to give SWMC a chance to establish itself before going open source.)

center]
ApeSwap.
The next-gen AMM,
Staking and Farming
Protocol on BSC
           ▄██▄
          ██████
          ██████
          ██████ ▄▄███▄
          █████
███▀ ▀▀█
    ▄█████████████▌    ▀█
   ██▀  ▀█████████▄     ▀█
  ██      █████████▄
 ▄█▀       █████████▄
▀▀          ▀█████████▄
              ▀█████████▄
                ▀█████████▄
                   ▀▀▀▀▀▀██
██████
██
██
██
██
██
██
██
██
██
██
██
██████
Stake now
for over 900% APR!
██████
██
██
██
██
██
██
██
██
██
██
██
██████
[/center]
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
March 21, 2014, 07:09:29 PM
 #280

That sounds even more centralised than mining already is.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 »  All
  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!