Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
February 29, 2012, 02:12:35 AM |
|
This is interesting but I don't understand the low level details. Does this imply that mining this way with the proxy achieves the same independence as p2p or solo regarding 51% attacks and/or voting? 51% attacks, yes, provided enough users choose to audit the blocks. "voting": in theory, but supporting it on Eligius would be a lot of work for effectively nothing (BIP 16 sucks, and it'll probably be over within a month anyway)
|
|
|
|
sveetsnelda
|
|
March 05, 2012, 12:02:28 AM |
|
Hey Luke. I was giving gmp-proxy a try and ran into a snag. The server starts fine, but as soon as a mining client connects, I get an error regarding string conversion. I'm fairly certain I have everything configured correctly (unless the newest git isn't supposed to be used against Eligius yet?): ERROR:JSONRPCHandler:Error during JSON-RPC call: doJSON_getwork[] Traceback (most recent call last): File "/tmp/eloipool/jsonrpcserver.py", line 156, in _doJSON_i rv = getattr(self, method)(*params) File "/tmp/eloipool/jsonrpc_getwork.py", line 40, in doJSON_getwork hdr = self.server.getBlockHeader(self.Username) File "gmp-proxy.py", line 67, in MakeWork MRD = getMRD() File "gmp-proxy.py", line 47, in getMRD MRD = makeMRD(mp) File "gmp-proxy.py", line 26, in makeMRD coinbase = a2b_hex(mp['coinbasetxn']) TypeError: 'str' does not support the buffer interface
|
14u2rp4AqFtN5jkwK944nn741FnfF714m7
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 05, 2012, 12:53:30 AM |
|
Hey Luke. I was giving gmp-proxy a try and ran into a snag. The server starts fine, but as soon as a mining client connects, I get an error regarding string conversion. I'm fairly certain I have everything configured correctly (unless the newest git isn't supposed to be used against Eligius yet?): ERROR:JSONRPCHandler:Error during JSON-RPC call: doJSON_getwork[] Traceback (most recent call last): File "/tmp/eloipool/jsonrpcserver.py", line 156, in _doJSON_i rv = getattr(self, method)(*params) File "/tmp/eloipool/jsonrpc_getwork.py", line 40, in doJSON_getwork hdr = self.server.getBlockHeader(self.Username) File "gmp-proxy.py", line 67, in MakeWork MRD = getMRD() File "gmp-proxy.py", line 47, in getMRD MRD = makeMRD(mp) File "gmp-proxy.py", line 26, in makeMRD coinbase = a2b_hex(mp['coinbasetxn']) TypeError: 'str' does not support the buffer interface This is a bug in CPython. It's fixed in git, and at least in 3.1.4.
|
|
|
|
sveetsnelda
|
|
March 05, 2012, 01:21:38 AM |
|
Hmmm... I was using 3.2.2. Perhaps I should try an earlier version?
|
14u2rp4AqFtN5jkwK944nn741FnfF714m7
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 05, 2012, 01:22:14 AM |
|
Hmmm... I was using 3.2.2. Perhaps I should try an earlier version?
I'm not sure what version introduced the bug. Just that 3.1.4 is bug-free.
|
|
|
|
sveetsnelda
|
|
March 05, 2012, 05:05:41 AM |
|
Sure enough, 3.1.4 works. Weird.
Is this proxy meant to run an individual copy on each miner? In other words, it's not meant to run one instance with multiple miners?
|
14u2rp4AqFtN5jkwK944nn741FnfF714m7
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 05, 2012, 03:41:12 PM |
|
Sure enough, 3.1.4 works. Weird.
Is this proxy meant to run an individual copy on each miner? In other words, it's not meant to run one instance with multiple miners?
It should be fine with multiple miners, but it only supports one upstream username.
|
|
|
|
sveetsnelda
|
|
March 05, 2012, 09:15:56 PM |
|
I tried this yesterday (which is why I was asking). I changed the listener IP in the python script and connected my rigs. One rig worked just fine, but when I added more machines, cgminer couldn't get work quickly enough and kept disconnecting/reconnecting from/to the proxy. I only tested it for a short time though before going to bed.
|
14u2rp4AqFtN5jkwK944nn741FnfF714m7
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 05, 2012, 09:38:20 PM |
|
I tried this yesterday (which is why I was asking). I changed the listener IP in the python script and connected my rigs. One rig worked just fine, but when I added more machines, cgminer couldn't get work quickly enough and kept disconnecting/reconnecting from/to the proxy. I only tested it for a short time though before going to bed.
Hmm, not sure what might cause that. How's it look on CPU usage? Can you create me a pcap file? tcpdump -i any -s0 -w pcap port 8337 or port 9332
|
|
|
|
sveetsnelda
|
|
March 06, 2012, 01:28:12 AM |
|
CPU usage was hardly being touched when I looked at top. This was an Ubuntu guest on an ESXi host (HP DL380 G5).
Sure thing. I'll make one in a bit.
|
14u2rp4AqFtN5jkwK944nn741FnfF714m7
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 17, 2012, 05:45:47 PM |
|
Finally got around to removing the old debug info ("fee"), so now Eligius is completely fee-free (as of midnight UTC tonight).
|
|
|
|
|
hashking
|
|
March 18, 2012, 02:21:23 AM |
|
I'm trying to register for the namecoins and my bitcoin qt doesnt have the message option. How can I correct this.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 18, 2012, 02:24:10 AM |
|
I'm trying to register for the namecoins and my bitcoin qt doesnt have the message option. How can I correct this. Upgrade to 0.6.0rc4.
|
|
|
|
hashking
|
|
March 18, 2012, 02:25:39 AM |
|
I'm trying to register for the namecoins and my bitcoin qt doesnt have the message option. How can I correct this. Upgrade to 0.6.0rc4. Where can I get that for windows.
|
|
|
|
|
The00Dustin
|
|
March 18, 2012, 03:51:35 PM |
|
So, [sarcasm]*theoretical question*[/sarcasm], when some retard mines for over 24 hours with the username set as <bitcoinaddress>.x instead of the username being properly set as <bitcoinaddress> with a password of x, is there any chance said retard can get the rewards he should have earned added returned to his queue?
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
March 18, 2012, 06:13:57 PM |
|
So, [sarcasm]*theoretical question*[/sarcasm], when some retard mines for over 24 hours with the username set as <bitcoinaddress>.x instead of the username being properly set as <bitcoinaddress> with a password of x, is there any chance said retard can get the rewards he should have earned added returned to his queue? Not practical, sorry. The shares are processed in realtime, and there's no way for me to change the history without significantly rewriting code and taking the pool down for probably an extended duration to try to adapt the historical block record.
|
|
|
|
asdf2121
Newbie
Offline
Activity: 24
Merit: 0
|
|
March 20, 2012, 02:57:24 PM |
|
the pool now is work well?
|
|
|
|
The00Dustin
|
|
March 20, 2012, 03:04:18 PM |
|
the pool now is work well? I don't think I have had any trouble with the pool, why do you ask?
|
|
|
|
|