Bitcoin Forum
December 03, 2016, 10:08:12 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
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 96662 times)
Luke-Jr
Legendary
*
Offline Offline

Activity: 2086



View Profile
October 20, 2015, 12:41:13 AM
 #321

Downgrade python-bitcoinrpc.

1480802892
Hero Member
*
Offline Offline

Posts: 1480802892

View Profile Personal Message (Offline)

Ignore
1480802892
Reply with quote  #2

1480802892
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480802892
Hero Member
*
Offline Offline

Posts: 1480802892

View Profile Personal Message (Offline)

Ignore
1480802892
Reply with quote  #2

1480802892
Report to moderator
1480802892
Hero Member
*
Offline Offline

Posts: 1480802892

View Profile Personal Message (Offline)

Ignore
1480802892
Reply with quote  #2

1480802892
Report to moderator
hodedowe
Sr. Member
****
Offline Offline

Activity: 308


View Profile
October 20, 2015, 12:56:19 AM
 #322

Will do. What version should I be using?

I've "downgraded" by using this command

Code:
git checkout -b 770881c8bd9b1f92427290270b37a28751cf9df0


This sent my "bad" shares & rejected through the roof.  Shocked


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

Activity: 308


View Profile
October 22, 2015, 11:27:39 PM
 #323

I'm working on a "Cut and paste" version of this pool server for the average "joe" to download, fire up, and begin mining. No programming or linux experience necessary. I've got most of the bugs worked out and instructions typed, but the Python errors are tangling me up. If you've put this server together and can provide a little insight for the greater good, PM me.

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

Activity: 308


View Profile
October 23, 2015, 04:15:25 PM
 #324

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
hodedowe
Sr. Member
****
Offline Offline

Activity: 308


View Profile
October 23, 2015, 04:55:45 PM
 #325

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: 308


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

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: 308


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

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: 308


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

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: 308


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

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: 308


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

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

I invite you to join the MMMGlobal


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

If TrackerAddr is not defined, will the bitcoind provide a generation address?How to estimate the current hashrate of the pool?

MMM participants get up to 100% per month
Luke-Jr
Legendary
*
Offline Offline

Activity: 2086



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

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:  

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!