Bitcoin Forum
February 22, 2019, 10:00:34 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   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 108357 times)
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
October 23, 2015, 04:15:25 PM
Last edit: October 23, 2015, 05:18:10 PM by hodedowe
 #321

For fun and as a soundboard I'll start posting my progress here. If anyone feels froggy please jump in, though I know this isn't that type of thread (support).

Moving on, it seems like the latest writeups all call for the process to be called "eloipool.py", but on my systems - and I've gone through several at this point trying to get it working - but all my systems run the process as "python3" so the killall scripts don't operate correctly.


As for errors, this one pops up all the time on the commandline after running : eloipool.py: no process found. I discovered this is due to newblock.sh trying to kill the process by calling it eloipool.py instead of python3. Fixed.

Now I'm still getting this error with the merklemaker:

Code:
2015-10-23 09:13:02,020 BitcoinRPC DEBUG -5967379-> getblocktemplate [{"capabilities": ["coinbasevalue", "coinbase/append", "coinbase", "generation", "time", "transactions/remove", "prevblock"]}]
2015-10-23 09:13:02,020 BitcoinRPC DEBUG -5967380-> getmemorypool [{"tx": "obj", "capabilities": ["coinbasevalue", "coinbase/append", "coinbase", "generation", "time", "transactions/remove", "prevblock"]}]
2015-10-23 09:13:02,021 BitcoinRPC DEBUG -5967381-> getmemorypool []
2015-10-23 09:13:02,022 merkleMaker CRITICAL Traceback (most recent call last):
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 694, in run
    self.merkleMaker_I()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 684, in merkleMaker_I
    self.merkleMaker_II()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 650, in merkleMaker_II
    return self._updateMerkleTree()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 550, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 478, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 328, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/apple/eloipool-server/eloipool/bitcoinrpc/authproxy.py", line 134, in __call__
    'Content-type': 'application/json'})
  File "/usr/lib/python3.2/http/client.py", line 971, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.2/http/client.py", line 999, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.2/http/client.py", line 854, in putrequest
    raise CannotSendRequest(self.__state)
http.client.CannotSendRequest: Request-sent


And if I downgrade using the command in my previous post I get thousands of stale, bad, or discarded shares on the miner (see pic). So I'm back to going through this and trying to get it running. I'll post if I come up with a solution.


Got Stale? Check that "Rejected" vs "Accepted" - Ouch!





Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
1550872834
Hero Member
*
Offline Offline

Posts: 1550872834

View Profile Personal Message (Offline)

Ignore
1550872834
Reply with quote  #2

1550872834
Report to moderator
1550872834
Hero Member
*
Offline Offline

Posts: 1550872834

View Profile Personal Message (Offline)

Ignore
1550872834
Reply with quote  #2

1550872834
Report to moderator
1550872834
Hero Member
*
Offline Offline

Posts: 1550872834

View Profile Personal Message (Offline)

Ignore
1550872834
Reply with quote  #2

1550872834
Report to moderator
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
October 23, 2015, 04:55:45 PM
Last edit: October 23, 2015, 07:50:16 PM by hodedowe
 #322

ALso, if someone has a copy of midstate.so and wouldn't mind sharing the code (cut,paste) I'd sure appreciate it as Gitorious is dead and not serving it anymore.

Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
October 23, 2015, 10:28:47 PM
 #323

Running on Bitcoin testnet I keep getting this error when a test block is found

Code:
2015-10-23 15:26:56,261 BitcoinRPC DEBUG <-114- "bad-version"
2015-10-23 15:26:56,261 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': bad-version
2015-10-23 15:26:56,261 merkleMaker CRITICAL Traceback (most recent call last):
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 694, in run
    self.merkleMaker_I()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 684, in merkleMaker_I
    self.merkleMaker_II()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 662, in merkleMaker_II
    return self._updateMerkleTree()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 550, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/apple/eloipool-server/eloipool/merklemaker.py", line 536, in _updateMerkleTree_I
    raise RuntimeError('Failed to create usable template')
RuntimeError: Failed to create usable template



I believe it has to do with the difference in Test coins vs real coins. Trying to figure it out now...


Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
October 23, 2015, 11:45:18 PM
 #324

Ok, successfully mined a test coin, but it failed to show up at the target address.
Good thing I'm on the test net and not shooting myself for missing 25 btc!  Cheesy

Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
October 30, 2015, 02:58:14 AM
 #325

In frustration I completely removed my eloipool installation and started from scratch using a different build and I'll be darned if it isn't working now. A few stales from time to time, but difficulty rises quickly and the bad shares are all gone. It's running fast and easy.

I'll continue testing this weekend. If all goes well I'll have a downloadable point-and-click version ready soon. Entirely n00b friendly.

Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
October 30, 2015, 01:10:01 PM
 #326

Note: After mining several test blocks successfully it seems that the coinbaser address doesn't work, nor does the mining to the miner's address. The only address that receives coins is the TrackerAddr address in the config.py file.

Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
hodedowe
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


View Profile
November 02, 2015, 03:33:28 PM
 #327

I got a working version put together. I started a new thread here for support etc.

https://bitcointalk.org/index.php?topic=1235123.0


Good luck to anyone else looking to try to figure this out. It took me a while but it was worth it. All knowledge is priceless Smiley

Solo mining is alive and profitable!
Helped? Thanks! 1CXRFh4bDVFBsUzoHMMDbTMPcBP14RUTus
panyiqiang
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile WWW
November 11, 2015, 03:25:15 AM
 #328

If TrackerAddr is not defined, will the bitcoind provide a generation address?How to estimate the current hashrate of the pool?
Luke-Jr
Legendary
*
Offline Offline

Activity: 2436
Merit: 1012



View Profile
January 29, 2016, 11:13:40 PM
 #329

Segregated witness and SegNet are now supported in the "segwit" branch.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17]  All
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!