Title: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on January 29, 2012, 07:23:10 AM Eloipool - FAST Python3 pool server (https://gitorious.org/bitcoin/eloipool)
Now running live on:
Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: cablepair on January 29, 2012, 07:14:32 PM hi Luke
I was excited to see this post as I am always excited to see new pool server software I am a little confused about this, is it unfinished - or is it just meant to be this way? I was able to get it working even though - there are no instructions what so ever (tip if your using Debian or Ubuntu you will probably have to dpkg-reconfigure dash and set it to no - so your using bash as default) but where does it connect to a db? How do you manage users and shares? I see no support for this anywhere, did I miss it? Please give us more info - I am really excited about this project! thanks!!! :) Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on January 29, 2012, 07:48:03 PM I am a little confused about this, is it unfinished - or is it just meant to be this way? It will probably always be "unfinished" unless someone steps up to "finish" it. Otherwise, I plan to make it stable and reliable for Eligius's use (which probably involves some cleanup over time), and other pool ops are welcome to add functionality they need (accounts?). In the meantime, most of the code (moved into specialized do-one-thing-very-well Python modules) is working and clean; it's mainly eloipool.py that ties them all together that's a bit of a rat's nest right now. ;)I was able to get it working even though - there are no instructions what so ever I figured the README and example config should be enough for most people who know what they're doing... what did you find lacking? (just what was listed below?)(tip if your using Debian or Ubuntu you will probably have to dpkg-reconfigure dash and set it to no - so your using bash as default) Hmm, I don't know what would depend on BASH? O.obut where does it connect to a db? There is PostgreSQL support for logging shares, but I haven't documented that... <.<How do you manage users and shares? I see no support for this anywhere, did I miss it? Eligius doesn't have users, so unless some other poolop/developer wants to add support for accounts, you don't.In short, this isn't being released as end-user software, but as "this is what I am using" code that others can use and extend. My hopes in releasing this publicly, is that other miners and pool operators will also contribute, and all of us can benefit without each one of us reinventing everything independently from scratch. This is why I chose the AGPL license, which requires anyone running it as a public pool server to release their changes. Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: cablepair on January 29, 2012, 08:03:46 PM thanks for clearing that up Luke! You never mentioned in your thread it was unfinished, understood now! :)
if you are using dash by default (debian, ubuntu) you get a /bin/sh Let command not found error this is fixed by changing default shell to bash not sure if it has anything to do with it actually working or not, but I hate errors thanks again for all your contributions Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on January 29, 2012, 08:53:10 PM if you are using dash by default (debian, ubuntu) you get a /bin/sh Let command not found error Sounds like the example config requires BASH for its example coinbaser command. It doesn't make sense to leave that in unmodified.this is fixed by changing default shell to bash Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: streblo on August 13, 2012, 07:48:24 PM I am having trouble getting gmp-proxy.py to work. Ubuntu 12.04 32bit. Using apt-get, I installed python3-minimal and python3-anyjson.
Code: ~/bc/eloipool$ ./gmp-proxy.py --help Any ideas? ??? Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on August 13, 2012, 07:49:34 PM I am having trouble getting gmp-proxy.py to work. Ubuntu 12.04 32bit. Using apt-get, I installed python3-minimal and python3-anyjson. README?Code: ~/bc/eloipool$ ./gmp-proxy.py --help Any ideas? ??? Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: streblo on August 13, 2012, 08:08:48 PM Sorry, I forgot to move jsonrpc from python-bitcoinrpc. I did the same with python-base58, per README.
Code: ~/bc/eloipool$ ./gmp-proxy.py --help Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on August 13, 2012, 08:35:26 PM Sorry, I forgot to move jsonrpc from python-bitcoinrpc. I did the same with python-base58, per README. Where did eloipool/json.py come from? json is a standard Python module...Code: ~/bc/eloipool$ ./gmp-proxy.py --help Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: streblo on August 13, 2012, 08:40:46 PM Where did eloipool/json.py come from? json is a standard Python module... I accidentally moved it from python-bitcoinrpc. After moving it back to eloipool/json it seems to be working better-ish:Code:
Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on August 13, 2012, 10:33:34 PM Where did eloipool/json.py come from? json is a standard Python module... I accidentally moved it from python-bitcoinrpc. After moving it back to eloipool/json it seems to be working better-ish:Code:
Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: check_status on August 14, 2012, 01:21:51 AM I thought I might have something I could add to the How To's and Guides Mega List (https://bitcointalk.org/index.php?topic=83146.0) to beef up the Pools category, but it's limited in being able to meet the goals of that thread, which is focused on helping novice users to get involved. Will be nice to include when this fleshes out a little more.
Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: streblo on August 14, 2012, 03:16:42 AM That one's a real bug. try this until it works, for now: git checkout HEAD^ EDIT: Working now, cheers!Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on August 14, 2012, 03:35:16 AM That one's a real bug. try this until it works, for now: git checkout HEAD^ Same problem Code: ~/bc/eloipool$ git checkout HEAD^ Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: sippsnapp on August 31, 2012, 11:33:10 PM How do i install the python-bitcoinrpc and python-base58 ?
Thx Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on September 01, 2012, 01:24:27 AM How do i install the python-bitcoinrpc and python-base58 ? It's usually sufficient to just get the git checkout linked under your eloipool directory.Thx Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: sippsnapp on September 29, 2012, 05:12:52 AM I installed python3.2 from source, what am i doing wrong?
Code: root@j064:/opt/midstate# make Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on September 29, 2012, 05:18:58 AM Code: midstatemodule.c:5:20: error: Python.h: Datei oder Verzeichnis nicht gefunden Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: sippsnapp on October 01, 2012, 05:23:44 AM I already made another thread, however i think its better placed here because its mianly about eloipool.
https://bitcointalk.org/index.php?topic=113730.msg1235209#msg1235209 This is the error i get: Code: root@j064:/opt/eloipool# ./eloipool.py Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: sippsnapp on October 02, 2012, 07:58:50 PM Got it working, mining right now on it.
I installed it on ubuntu 12.04 EDIT: i decided to remove the guide i wrote as i dont know how secure this way of installing was/is, please excuse. Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: tomaszsz on October 26, 2012, 07:47:24 AM is eloipool resistant to this type of sabotage?
https://bitcointalk.org/index.php?topic=94392.msg1043633#msg1043633 Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on October 26, 2012, 07:53:56 AM is eloipool resistant to this type of sabotage? No, that problem's inherent in Bitcoin itself.Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: tomaszsz on October 26, 2012, 07:56:58 AM so any PPS pool is vulnerable not only eloipool ?
Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on October 26, 2012, 08:13:40 AM so any PPS pool is vulnerable not only eloipool ? It's not really a PPS-only problem. Any pool is vulnerable period.Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: tomaszsz on October 26, 2012, 12:00:18 PM and what about Stratum is it ok ? or GBT is better ?
Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on October 26, 2012, 03:58:57 PM and what about Stratum is it ok ? or GBT is better ? Stratum is just ASIC-friendly getwork. GBT solves that problem as well as the more important decentralization concern: https://en.bitcoin.it/wiki/GetblocktemplateTitle: Re: [ANN] eloipool - FAST Python3 pool server software Post by: DavinciJ15 on October 26, 2012, 04:09:51 PM and what about Stratum is it ok ? or GBT is better ? So cgminer does not work with this pool back end?Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on October 26, 2012, 04:16:54 PM and what about Stratum is it ok ? or GBT is better ? So cgminer does not work with this pool back end?Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: kano on October 27, 2012, 12:03:57 AM and what about Stratum is it ok ? or GBT is better ? So cgminer does not work with this pool back end?Meanwhile ... Hmm - well a good example of this so called 'more' is the MMQ driver. Luke-jr wrote it for BarbieMiner and then sent pull requests to cgminer. The cgminer pull requests didn't work - and he didn't send the pull requests that fixed that. ... however ... there is only one driver in cgminer that falsifies it's hash rate - the MMQ driver - coz the code Luke-jr wrote for BarbieMiner (and cgminer) falsifies it by up to 5% over and still does in both miners. (I haven't rewritten the mining loop to fix this yet) So yeah there's a good example of his 'more' for you ... Though, cgminer fully supports Stratum ... yet BarbieMiner doesn't ... I guess that's called more also? Hmm, what dictionary do you use to define the word 'everything' ? Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on November 19, 2012, 02:54:14 PM Just a note that updating Eloipool within the next week or so is critical to surviving the subsidy halving.
Previous code had 50 BTC hard-coded in the "blank" coinbase. Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: mrb on November 20, 2012, 01:43:46 AM Just a note that updating Eloipool within the next week or so is critical to surviving the subsidy halving. Previous code had 50 BTC hard-coded in the "blank" coinbase. Shhh! ;) I predict at least some pools will have bugs and will continue to pay out as before the halving. Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on November 20, 2012, 02:27:48 AM Just a note that updating Eloipool within the next week or so is critical to surviving the subsidy halving. Shhh! ;) I predict at least some pools will have bugs and will continue to pay out as before the halving.Previous code had 50 BTC hard-coded in the "blank" coinbase. Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: Luke-Jr on November 20, 2012, 04:47:14 AM Been a while since I first announced Eloipool, so I'm updating the first post with new features :)
Most notable is support for dynamic share targetting in various modes (fractional, power-of-two (zero bit count), and bdiff rounded). Combined with GBT, this is what pools need to support ASICs. Additionally, Eloipool now supports the (pre-BIP draft) stratum mining protocol. These new features were sponsored by Inaba/EclipseMC. Also, a little background on the "loop" branch that's been sitting in the repository for a while: This branch is designed to increase Eloipool's support of the GBT protocol on the upstream side. Basically, you can run Eloipool as a "sub-pool" to any other GBT-enabled pool. As of tonight, it is up to date with the final GBT protocol specifications, and works somewhat with both Eligius and BitMinter upstreams. The main problems left to address are upstream longpolling support and properly dealing with upstreams when sending out the initial new block notifications (currently these produce and accept invalid work). If you'd like to try this branch out, create a fresh clone of Eloipool and use git checkout loop[/url] to get the loop branch. Customize your configuration as follows:
General "loop"-related donations can be sent to 14VUob11S77JmrnShEKXPWttg8s6FvW12W (bitcoin:14VUob11S77JmrnShEKXPWttg8s6FvW12W). Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: TAiS46 on November 29, 2012, 09:59:12 AM Help with
Code: # Network ID for the primary blockchain and another failure Code: Traceback (most recent call last): Edit: Fixed the error, changed some thing in the File. Next error: Code: 2012-11-29 12:44:43,877 merkleMaker WARNING Transaction-longpoll requested 100 seconds ago, and still not ready. Is your server fast enough to keep up with your configured WorkQueueSizeRegular maximum? (doing longpoll merkle roots) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on November 29, 2012, 02:22:21 PM Yeah, that's what happens when I try to fix a rare edge race condition when I have a fever over 39 C/103 F. :(
Just ignore that top commit for now and I'll fix it when I get better Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: TAiS46 on November 29, 2012, 02:26:31 PM Oh ok just to let you know what I changed:
Code: def _makeOne(self, putf, merkleTree, checkBlock, height): switches the args: height=self.currentBlock[1], False Are the Transaction-Longpoll warnings also a failure from you? I search the whole time for the fix :D Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on November 29, 2012, 02:35:37 PM Are the Transaction-Longpoll warnings also a failure from you? No, that was (if it's what I think you're referring to) a bugfix; it wasn't actually doing what it needed to be doing.I search the whole time for the fix :D Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: TAiS46 on November 29, 2012, 02:38:13 PM Ok, keep me updated.
Maybe I will use your software for a bitcoin-24.com pool ;) get well soon Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: TAiS46 on December 03, 2012, 07:00:28 PM no fix and this moment, does not work :(
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: dreamwatcher on December 06, 2012, 12:55:55 AM TAiS46,
I have it running, and with a couple of Alt coins. You need to completely revert the last commit, That involved taking a section out and putting code back in. I also disabled some of the more extraneous options in the config file and am running it as a basic GBT pool. The GBT long-polls are right on time, and I haven't see any of my rigs complain yet. Luke, I have to admit Luke, I am impressed. After all the crappy and abandoned code that usually involved ancient oddball dependencies I have have spent way to much time on over last few months. Eloipool is a breath of fresh air. I only lost half my hair going through this code. ;D Anyway, Hope you are feeling better and I look forward to further development on Eloipool. I think my next project will be a pool and it looks like it will be based on Eloipool. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: TAiS46 on December 06, 2012, 11:02:37 AM Hey,
I am not the best in git and linux, can you tell me, how to revert the last commit? I have just clone the git from github, but it is very old I think. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 06, 2012, 12:28:21 PM Hey, Eloipool is in Gitorious, not GitHub...I am not the best in git and linux, can you tell me, how to revert the last commit? I have just clone the git from github, but it is very old I think. To simply pull the top commit off: Code: git reset --hard HEAD^ Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 04:36:48 AM I have been solo mining against an eloipool instance (revision 475de39) for the last few days, using bfgminer 2.9.3 and 'getwork'. eloipool is configured with a ShareTarget set to 0x0000000000fff... to emulate difficulty 256. I wanted to give this setup a shot before trying the newer Stratum protocol. I thought it would be a robust way to mine, using mature code paths (both at the bfgminer side, and at the eloipool side).
I was wrong. I solved a block today. I know it because bfgminer currently shows "Best share: 19.5M". However eloipool silently ignored the solved block. There goes 25 BTC... Furthermore, it is almost impossible to do a post-mortem analysis. I found out that checkShare() in eloipool.py has buggy logging code, so pretty much no useful information has been logged. Indeed, the checkShare.logger object has a default level of 'WARNING', so logfunc() below will never log INFO and DEBUG messages: Code: logfunc = getattr(checkShare.logger, 'info' if blkhashn <= networkTarget else 'debug') Either eloipool silently ignored the block due to an internal bug. Or it crafted an invalid block which was sent to my bitcoind, who in turns ignored it because it was invalid. I am quite disappointed. In case you care to investigate, Luke, here is my config.py: Code:
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 08, 2012, 05:01:42 AM I solved a block today. I know it because bfgminer currently shows "Best share: 19.5M". However eloipool silently ignored the solved block. There goes 25 BTC... I doubt Eloipool was the problem in this case. The "best share" code is much newer, and there have been reports of similar behaviour from altcoin solo mining; unfortunately, I don't know any good way to reproduce it. Did you happen to be running BFGMiner with a debug log by any chance? There might be some useful info in there...Furthermore, it is almost impossible to do a post-mortem analysis. I found out that checkShare() in eloipool.py has buggy logging code, so pretty much no useful information has been logged. Indeed, the checkShare.logger object has a default level of 'WARNING', so logfunc() below will never log INFO and DEBUG messages: Eloipool's code only configures loggers for DEBUG or INFO... For post-mortem analysis on the pool side, check out the RBFs variable (only kept in memory!) and bitcoind's debug.log. Of course, that's assuming the share ever got to Eloipool, which I suspect isn't the case since you apparently didn't see the info logging from it.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 05:35:40 AM I was not running bfgminer with --debuglog.
I restarted eloipool to change some of its config, so it is too late to look at the RBFs variables. The only trace of data I have on eloipool is the share-logfile. But I need to write some custom code to re-hash the share data there, to find out if the share hash with a 19.5M difficulty is in there. That's what I am doing now... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 05:43:19 AM By the way, what is the use of GotWorkURI? Shares found from getmemorypool work cannot be submitted via getwork, or can they?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 08, 2012, 05:44:04 AM By the way, what is the use of GotWorkURI? Shares found from getmemorypool work cannot be submitted via getwork, or can they? GotWorkURI is for merged mining. gotwork != getworkTitle: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 06:12:09 AM Well the highest share I found in share-logfile is 2.3M which was the value displayed by bfgminer yesterday. But then again, the code path between the moment receiveShare() is called and when it is logged in share-logfile, is quite complex and it is possible to imagine a bug that would cause the shared to be received, but not logged.
I am surprised about these reports of "Best share" possibly displaying incorrect information. I would think this is a dead simple feature to implement, so why would this be buggy? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 08, 2012, 06:16:47 AM Upon further investigation, I am 99% certain we're looking at a BFGMiner bug here. There are two functions which both recalculate the share/block hash and compare it to a target: fulltest (util.c) and regeneratehash (miner.c). It seems that at least on little-endian, these two functions produce opposite endians for each 32-bit chunk of the hash; in cases where the target is presumably not met, the shares are fed through the share_diff function (responsible for updating the best block) with the opposite endian than it expects. This causes your best block to report something erroneous (or at least it seems this is where the error is). What needs to be done now, is to audit the endian handling in these two functions to determine which one is correct and ideally unify the code into a single function. Hopefully I'll get to that within the next week, but if you want to take a stab at it, feel free... ;)
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 06:19:42 AM I am reassured the bug seems to be in bfgminer. I may take a stab at a fix this weekend.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: jgarzik on December 08, 2012, 06:34:08 AM Yeah that sounds like a bug everybody inherited from cpuminer, which definitely had rough edges when it came to any target besides the standard difficulty-1.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 09:20:00 AM I confirm the bug. One of my tests shows:
Hash computed by hashtest2(): 0000000039d5e400932fef0b1d7cdec1f2833dec594e30ee03252113f03be9b4 Hash computed by regeneratehash(): 0000000000e4d5390bef2f93c1de7c1dec3d83f2ee304e5913212503b4e93bf0 regeneratehash() is the one that does not compute it correctly. But there is a 2nd endianness bug in share_diff() which cancels the bug in regeneratehash (which is why the "best share" is always updated correctly when a new share is found)! This 2nd endianness bug in share_diff() is what causes TNR_HIGH shares to sometimes spuriously increase the "best share" statistic without a corresponding share submitted to the pool. I have a patch fixing both endianness bugs. I am currently testing it... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mrb on December 08, 2012, 10:43:42 AM Pull request sent, see main bfgminer thread: https://bitcointalk.org/index.php?topic=78192.msg1386296#msg1386296
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tvasconcelos on December 12, 2012, 11:22:53 AM So what's the latest stable release of eloipool that i can use? I've seen some forks in github too, are they good or is better to stick with the one from Luke in Gitourios?
Is eloi good for litecoins? I'm trying to set a private pool but been having a hard time. Tryed ecoinpool, pushpool and i want to give a shot at eloipool. My limited knowledge in programming is giving me some difficulties in setting up the pool, and so little info on how to set it up also. Ecoinpool has a really nice tutorial on how to setup, but it's been unmaintained for quite some time now, and running in couchdb, written in erlang, it's giving me a hard time to setup. The db grows way too big for my available space. Can't get it to use mysql to use a frontend like simplecoin. How about eloipool, are there any good open source frontend that i can use? Thanks Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tvasconcelos on December 12, 2012, 02:59:38 PM Ok, i'm trying to get eloipool with litecoin, and i'm getting this error:
python eloipool.py Traceback (most recent call last): File "eloipool.py", line 43, in <module> bcnode = BitcoinNode(config.UpstreamNetworkId) File "/home/pi/eloipool/bitcoin/node.py", line 132, in __init__ super().__init__(*a, **ka) TypeError: super() takes at least 1 argument (0 given) Can someone give some help on this. My config goes like this: Code: ### Settings relating to server identity What is wrong here? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 28, 2012, 04:57:05 AM hi, i got this errors in log,
Code: 2012-12-27 20:11:24,359 JSONRPCHandler ERROR Traceback (most recent call last): Code: 2012-12-27 21:18:40,371 JSONRPCHandler ERROR Error during JSON-RPC call: doJSON_submitblock['02000000579f07f9c10be136a4ab439144d1ad74b2e21e512xxxxxxxxxxxxxxxxxxxxxxxxxxH', {}] is there any solution ? i have last version from December 16 2012, is it just wrog data from clinet ? or i have just lost 25 BTC ? is there ANY support or manual to this pool software ? :P ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 28, 2012, 04:58:40 AM Those are wrong data from client.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 28, 2012, 05:01:55 AM Those are wrong data from client. thanks for very fast answer :)is it danger (someone try to mess (steal 25 BTC? fake shares ?) , or DoS pool ? ) ?or just ignore this messages ? which database should I use ? (mysql is useless... exception, disconnections etc.) which version sql lib should i use ? which do you prefer on Your computer ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 28, 2012, 05:05:27 AM Those are wrong data from client. thanks for very fast answer :)is it danger (someone try to mess (steal 25 BTC? fake shares ?) , or DoS pool ? ) ?or just ignore this messages ? whish database should I use ? (mysql is useless... exception, disconnections etc.) whish version sql lib should i use ? which do you prefer on jour computer ? I use sqlite+flatfile for testing, and Eligius uses Postgres. I think EclipseMC figured out the MySQL mess...Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 29, 2012, 04:00:26 AM is it possible to use PPS reward shares count to use with GBT/stratum/dyntarget ? does GBT/stratum/dyntarget/proxy affects shares count ?
i want to use eloipool with PPS reward method (count shares in database) is it correct ? or wrong method with eloipool and GBT/stratum/dyntarget/proxy enabled ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 29, 2012, 05:59:00 AM is it possible to use PPS reward shares count to use with GBT/stratum/dyntarget ? does GBT/stratum/dyntarget/proxy affects shares count ? Eloipool just handles the miners. It's up to you how you pay them. As long as you log the share target/difficulty, you should be able to calculate the correct PPS value for each share.i want to use eloipool with PPS reward method (count shares in database) is it correct ? or wrong method with eloipool and GBT/stratum/dyntarget/proxy enabled ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 29, 2012, 07:27:36 AM but eloipool does not log share difficult by default ? how to enable this feature ?
or I have to swith off dynamic target/difficult (DynamicTargeting =0 ) to get correct PPS calculation ... or it does not depends from DynamicTargeting variable, and PPS calculation (and in fact other method ?) is impossible in eloipool ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 29, 2012, 10:44:27 AM but eloipool does not log share difficult by default ? how to enable this feature ? Eloipool doesn't log anything by default. You have to configure it.or I have to swith off dynamic target/difficult (DynamicTargeting =0 ) to get correct PPS calculation ... or it does not depends from DynamicTargeting variable, and PPS calculation (and in fact other method ?) is impossible in eloipool ? Take your pick (add to share log statement - note the difference between curly braces and normal parenthesis):
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 29, 2012, 02:19:15 PM i have add {target2bdiff(target)} and get this error
Code:
so it look like {target2bdiff(target)} is buggy but {target2pdiff(target)} seems to be ok :) what means when someone have 1 ? and other user None ? as a result {target2pdiff(target)} in share log ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 29, 2012, 02:26:21 PM i have add {target2bdiff(target)} and get this error Some errors/rejects occur before the pool knows the target the share is being submitted at, so those get None.Code:
so it look like {target2bdiff(target)} is buggy but {target2pdiff(target)} seems to be ok :) what means when someone have 1 ? and other user None ? as a result {target2pdiff(target)} in share log ? As you noticed, target2bdiff doesn't like this currently... should be an easy fix. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 29, 2012, 02:45:18 PM i see that there is in fact two errors when i use {target2bdiff(target)}
1. JSONRPCHandler ERROR Error during JSON-RPC and then 2. TypeError: unsupported operand type(s) for /: 'int' and 'NoneType Code: >>> 2012-12-29 15:10:46,080 JSONRPCHandler ERROR Error during JSON-RPC call: doJSON_getwork['00000002b3adf6e137be13xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx i dont know if it is importent Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on December 30, 2012, 06:19:01 AM By the way, what is the use of GotWorkURI? Shares found from getmemorypool work cannot be submitted via getwork, or can they? GotWorkURI is for merged mining. gotwork != getworkI think that eloipool need more complex exemple configuration and step by step quick start guide (in few scenerios ? ) . Is there any example for merged mining configuration ? Could someone post some config files ? I tried to do it, but it is to complicated . just few lines of config from eloipool and bitcoin (altcoin) daemon proxy ? UpstreamURI ? SecretUser? UpstreamBitCoinNode ?GotWorkURI ? BitCoinNodeAddresses ? Whish version bitcoind shuld i use ? with merged ? which proxy ? i have tries many difrent configuration, and it still does not work.... could someone post example config ? is it possible to get it all together online ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mich on January 22, 2013, 01:28:17 PM How to setup stratum in eloipool? stratumserver.py is included but can't find any settings of stratum there.
Thanks Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on January 22, 2013, 01:33:06 PM How to setup stratum in eloipool? stratumserver.py is included but can't find any settings of stratum there. Just add a StratumAddresses to the config.Thanks Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: RoboCoder on January 28, 2013, 07:29:17 PM Howdy,
Was wondering if anyone had tried eloipool on a windows server? Also, which version of the bitcoind is recommended for the best performance. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on January 28, 2013, 08:08:12 PM Was wondering if anyone had tried eloipool on a windows server? "Windows" and "server" don't go together. And no, it won't work on Windows. You could possibly port it to use select(), but that's going to run into scaling problems very quickly. Too bad Windows doesn't have any sane socket polling interface - but I guess that's why it isn't a server platform.Also, which version of the bitcoind is recommended for the best performance. Eligius and I think some others are running my 0.6.0.eligius branch, based on 0.6.0.x (but does have even better GBT support than mainline).Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Parazyd on February 09, 2013, 08:19:29 AM Could anyone help me with setting up the config.py?
Thanks! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 10, 2013, 07:23:23 AM Thanks Luke-Jr :) for great eloipool it is the best the best software pool I have ever seen ! and "It's Alive!!!" :)
i get this error ... is this normal ? what can cause this error ? Quote 2013-02-10 08:11:47,172 JSONRPCServer INFO Longpoll woke up xx clients in 0.009 seconds Unhandled exception in thread started by <bound method merkleMaker._bootstrap of <merkleMaker(Thread-2, stopped daemon 140194112648960)>> Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 503, in run File "/home/xxxx/merklemaker.py", line 493, in merkleMaker_I File "/home/xxxx/merklemaker.py", line 471, in merkleMaker_II File "/home/xxxx/merklemaker.py", line 277, in updateMerkleTree File "/home/xxxx/jsonrpc/authproxy.py", line 95, in __call__ File "/usr/lib/python3.1/http/client.py", line 932, in request File "/usr/lib/python3.1/http/client.py", line 970, in _send_request File "/usr/lib/python3.1/http/client.py", line 928, in endheaders File "/usr/lib/python3.1/http/client.py", line 782, in _send_output File "/usr/lib/python3.1/http/client.py", line 723, in send File "/usr/lib/python3.1/http/client.py", line 705, in connect File "/usr/lib/python3.1/socket.py", line 292, in create_connection socket.gaierror: [Errno -5] No address associated with hostname During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.1/threading.py", line 516, in _bootstrap_inner File "/home/xxxx/merklemaker.py", line 505, in run File "/usr/lib/python3.1/traceback.py", line 269, in format_exc File "/usr/lib/python3.1/traceback.py", line 186, in format_exception File "/usr/lib/python3.1/traceback.py", line 75, in format_tb File "/usr/lib/python3.1/traceback.py", line 100, in extract_tb File "/usr/lib/python3.1/linecache.py", line 15, in getline File "/usr/lib/python3.1/linecache.py", line 41, in getlines File "/usr/lib/python3.1/linecache.py", line 132, in updatecache IOError: [Errno 24] Too many open files: '/home/xxxx/merklemaker.py' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.1/threading.py", line 489, in _bootstrap File "/usr/lib/python3.1/threading.py", line 529, in _bootstrap_inner File "/usr/lib/python3.1/traceback.py", line 269, in format_exc File "/usr/lib/python3.1/traceback.py", line 186, in format_exception File "/usr/lib/python3.1/traceback.py", line 75, in format_tb File "/usr/lib/python3.1/traceback.py", line 100, in extract_tb File "/usr/lib/python3.1/linecache.py", line 15, in getline File "/usr/lib/python3.1/linecache.py", line 41, in getlines File "/usr/lib/python3.1/linecache.py", line 132, in updatecache IOError: [Errno 24] Too many open files: '/home/xxxx/merklemaker.py' and this when i use sql mysql share login Quote During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.1/dist-packages/pymysql/connections.py", line 734, in _connect socket.gaierror: [Errno -5] No address associated with hostname During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/xxxx/jsonrpcserver.py", line 196, in _doJSON_i File "/home/xxxx/jsonrpc_getwork.py", line 44, in doJSON_getwork File "/home/xxxx/jsonrpc_getwork.py", line 79, in doJSON_submitwork File "/home/xxxx/eloipool9.py", line 461, in receiveShare File "/home/xxxx/sharelogging/sql.py", line 90, in logShare File "/usr/local/lib/python3.1/dist-packages/pymysql/__init__.py", line 93, in Connect File "/usr/local/lib/python3.1/dist-packages/pymysql/connections.py", line 575, in __init__ File "/usr/local/lib/python3.1/dist-packages/pymysql/connections.py", line 744, in _connect pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (-5)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/xxxx/jsonrpcserver.py", line 260, in handle_request File "/home/xxxx/jsonrpcserver.py", line 243, in doJSON File "/home/xxxx/jsonrpcserver.py", line 201, in _doJSON_i File "/usr/lib/python3.1/traceback.py", line 269, in format_exc File "/usr/lib/python3.1/traceback.py", line 186, in format_exception File "/usr/lib/python3.1/traceback.py", line 75, in format_tb File "/usr/lib/python3.1/traceback.py", line 100, in extract_tb File "/usr/lib/python3.1/linecache.py", line 15, in getline File "/usr/lib/python3.1/linecache.py", line 41, in getlines File "/usr/lib/python3.1/linecache.py", line 132, in updatecache IOError: [Errno 24] Too many open files: '/usr/local/lib/python3.1/dist-packages/pymysql/connections.py' During handling of the above exception, another exception occurred: is it mean that someone open too much socket connections to server ? flood or something ? i get this error in every version eloipool in last version i get this Quote 2013-02-10 08:32:47,093 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template in new version i noticed that there is new section TemplateSource and BlockSubmision , This is great, I think that this configuration is clearer than previous versions if You can describe configuration in which you run your test it will be very usefull :) (eg. bincond ports and bitcoin.conf + config.py ) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 10, 2013, 07:43:35 AM Looks like you need to raise your fd limits (check out man ulimit), and double check your UpstreamURI (or TemplateSources in newer configs)
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 10, 2013, 01:07:25 PM Looks like you need to raise your fd limits (check out man ulimit), and double check your UpstreamURI (or TemplateSources in newer configs) fd limits is ok (after increase limit and RELOG ) but still get this error Quote 2013-02-10 14:05:42,145 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template 2013-02-10 14:05:42,145 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template 2013-02-10 14:05:42,162 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template last version from git + login and pass copied from previous config ? it is first error message afret program start (no other before -such as "cant connect" etc ) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 10, 2013, 04:49:30 PM Please pastebin your config file (minus passwords)
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 10, 2013, 08:18:53 PM Please pastebin your config file (minus passwords) eloipool config.py http://pastebin.com/XYyVuH99 bitcoind 1 (ver 0.7.2) - template http://pastebin.com/7CWZ3Xit bitcoind 2 (ver 3.2.4 ) - submit block http://pastebin.com/ub3qAeLN is it importent which bitcoind has --nolisten parametr ? both will be ok ? (all is on one computer ) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 11, 2013, 12:46:30 AM TrackerAddr and CoinbaserCmd are invalid. That's all that stands out..
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: jgarzik on February 11, 2013, 04:15:27 AM FWIW, eloipool helped the Avalon ASIC miner solo-mine its first block:
http://blockexplorer.com/block/00000000000001528a3fa72b86032459e1fb6ab38720e19a26e3a1f4a64e461a Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 11, 2013, 07:12:08 AM I will help in the development of eloipool, but I do not know python very well (and certainly not as good as Luke) , for now I can help in testing
is it ok that stratum server reports different difficult than client? i have send You PM with detailed description of this issue. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 11, 2013, 07:14:19 AM I will help in the development of eloipool, but I do not know python very well (and certainly not as good as Luke) , for now I can help in testing Some clients display truncated bdiff (what bitcoin uses) instead of pdiff (what mining pools traditionally use). Pdiff 1 is about 0.9999 bdiff (and similar for higher difficulties), so truncating as bdiff will show 1 less than the actual difficulty.is it ok that stratum server reports different difficult than client? i have send You PM with detailed description of this issue. BFGMiner uses truncated pdiff, so it will show these correctly. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/p Post by: Parazyd on February 11, 2013, 09:54:29 AM Is the TrackerAddr a valid Bitcoin address.
Do 25 BTC of a solved block go on that address? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: arruah on February 13, 2013, 02:55:59 PM Hi!
I have error when I trying start eloipool.py root@feinman:~/eloipool# ./eloipool.py >>> 2013-02-13 20:45:02,965 restoreState INFO Restoring saved state from 'eloipool.worklog' (24 bytes) 2013-02-13 20:45:02,982 restoreState DEBUG Skipping restore of expired workLog 2013-02-13 20:45:02,982 restoreState INFO State restored successfully 2013-02-13 20:45:02,982 restoreState INFO Total downtime: 8774.59 seconds 2013-02-13 20:45:20,433 merkleMaker WARNING clearMerkleRoots running out! only 0 left 2013-02-13 20:46:33,057 merkleMaker CRITICAL Traceback (most recent call last): File "/root/eloipool/merklemaker.py", line 501, in run self.merkleMaker_I() File "/root/eloipool/merklemaker.py", line 491, in merkleMaker_I self.merkleMaker_II() File "/root/eloipool/merklemaker.py", line 457, in merkleMaker_II return self.updateMerkleTree() File "/root/eloipool/merklemaker.py", line 274, in updateMerkleTree MP = self.access.getblocktemplate(self.GBTReq) File "/usr/local/lib/python3.1/dist-packages/jsonrpc/authproxy.py", line 96, in __call__ httpresp = self.__conn.getresponse() File "/usr/lib/python3.1/http/client.py", line 1017, in getresponse response.begin() File "/usr/lib/python3.1/http/client.py", line 348, in begin version, status, reason = self._read_status() File "/usr/lib/python3.1/http/client.py", line 304, in _read_status line = str(self.fp.readline(), ) File "/usr/lib/python3.1/socket.py", line 214, in readinto return self._sock.recv_into(b) socket.timeout: timed out My config http://pastebin.com/CtEEiSdj Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: smracer on February 21, 2013, 05:41:50 AM Ok, i'm trying to get eloipool with litecoin, and i'm getting this error: python eloipool.py Traceback (most recent call last): File "eloipool.py", line 43, in <module> bcnode = BitcoinNode(config.UpstreamNetworkId) File "/home/pi/eloipool/bitcoin/node.py", line 132, in __init__ super().__init__(*a, **ka) TypeError: super() takes at least 1 argument (0 given) Can someone give some help on this. My config goes like this: Code: ### Settings relating to server identity What is wrong here? How did you fix this? I am getting the same error. Thanks. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 21, 2013, 07:49:12 AM Ok, i'm trying to get eloipool with litecoin, and i'm getting this error: How did you fix this? I am getting the same error. Thanks.python eloipool.py Traceback (most recent call last): File "eloipool.py", line 43, in <module> bcnode = BitcoinNode(config.UpstreamNetworkId) File "/home/pi/eloipool/bitcoin/node.py", line 132, in __init__ super().__init__(*a, **ka) TypeError: super() takes at least 1 argument (0 given) If you're still getting the error anyway, it looks like it's probably from some ancient version of Python. As the README clearly states, you need Python 3. To be more specific, I test under 3.1. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Parazyd on February 21, 2013, 02:36:02 PM Hey Luke-Jr. Trying to setup eloipool. Can you help me with my config.py?
When I start ./eloipool.py I get the error that the jsonrpc module isn't found. Code: ### Settings relating to server identity Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 21, 2013, 05:25:10 PM When I start ./eloipool.py I get the error that the jsonrpc module isn't found. That means the bitcoinrpc module isn't installed correctly.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 22, 2013, 07:32:34 PM this error still appears , just after starting the program,
Code: >>> Traceback (most recent call last): and the program stops i send config.py to PM (pastebin ) is it a problem with configuration ? i use the same settings in the previous version . Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 22, 2013, 07:43:37 PM this error still appears , just after starting the program, Check that all your option lists (especially TemplateSources, TemplateChecks, and BlockSubmissions) have commas after every element (including the last!).Code: >>> Traceback (most recent call last): and the program stops i send config.py to PM (pastebin ) is it a problem with configuration ? i use the same settings in the previous version . Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 22, 2013, 09:57:15 PM that is true, a have add commas, and now
i get this error Quote >>> 2013-02-22 22:53:35,380 merkleMaker INFO New block: 00000000000004509071260531df744090422d372d706cee907b2b5f2be8b8ff (height: 222598; bits: 1a04985c) 2013-02-22 22:53:35,382 JSONRPCServer INFO Waiting 14.1 seconds to longpoll 2013-02-22 22:53:35,450 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxx/merklemaker.py", line 636, in merkleMaker_II return self._updateMerkleTree() File "/home/xxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxx/merklemaker.py", line 506, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/xxx/merklemaker.py", line 481, in _updateMerkleTree_fromTS (AcceptedScore, TotalScore) = self._CheckTemplate(newMerkleTree, TS) File "/home/xxx/merklemaker.py", line 430, in _CheckTemplate propose = caccess.getblocktemplate(ProposeReq) File "/home/xxx/jsonrpc/authproxy.py", line 106, in __call__ raise JSONRPCException(resp['error']) jsonrpc.authproxy.JSONRPCException Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 22, 2013, 10:05:33 PM that is true, a have add commas, and now Probably your bitcoind is missing BIP 23 Proposal (https://en.bitcoin.it/wiki/BIP_0023#Block_Proposal) support.i get this error Quote >>> 2013-02-22 22:53:35,380 merkleMaker INFO New block: 00000000000004509071260531df744090422d372d706cee907b2b5f2be8b8ff (height: 222598; bits: 1a04985c) 2013-02-22 22:53:35,382 JSONRPCServer INFO Waiting 14.1 seconds to longpoll 2013-02-22 22:53:35,450 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxx/merklemaker.py", line 636, in merkleMaker_II return self._updateMerkleTree() File "/home/xxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxx/merklemaker.py", line 506, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/xxx/merklemaker.py", line 481, in _updateMerkleTree_fromTS (AcceptedScore, TotalScore) = self._CheckTemplate(newMerkleTree, TS) File "/home/xxx/merklemaker.py", line 430, in _CheckTemplate propose = caccess.getblocktemplate(ProposeReq) File "/home/xxx/jsonrpc/authproxy.py", line 106, in __call__ raise JSONRPCException(resp['error']) jsonrpc.authproxy.JSONRPCException There is a pull request for bitcoind here (https://github.com/bitcoin/bitcoin/pull/1816). It's also included in the 0.6.0.eligius (https://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin/commits/0.6.0.eligius) and 0.8.0.eligius (https://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin/commits/0.8.0.eligius) miner releases of bitcoind. Alternatively, it should be safe to use Eloipool without any TemplateChecks. This is only used to guard against unknown bugs in block creation. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 23, 2013, 04:07:57 PM everything look ok now ( after comment TemplateChecks or use 0.8.0.eligius bitcoind branch ) but sometimes this message appears
Quote 2013-02-23 14:04:49,958 merkleMaker INFO New block: 00000000000002323fa1359645f9c26ec005792f9d463faa55931f32cde12020 (height: 222693; bits: 1a04985c) 2013-02-23 14:04:50,111 JSONRPCServer INFO Longpoll woke up 6 clients in 0.042 seconds 2013-02-23 14:04:50,126 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II return self._updateMerkleTree() File "/home/xxxxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxx/merklemaker.py", line 506, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/xxx/merklemaker.py", line 485, in _updateMerkleTree_fromTS AcceptRatio = AcceptedScore / TotalScore ZeroDivisionError: int division or modulo by zero ? Quote 2013-02-23 16:14:17,978 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.2', IP=::ffff:xx.xx.41.73): doJSON_submitblock['02000000d6b2ca723dd01ffffffff025d5988ac00000000', {}] Traceback (most recent call last): File "/home/xxxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/home/xxxxx/jsonrpc_getblocktemplate.py", line 91, in doJSON_submitblock data = bytes.fromhex(data) ValueError: non-hexadecimal number found in fromhex() arg at position 166 i think it is bug in cgminer 2.10.2 ? Quote 2013-02-23 16:29:37,753 JSONRPCServer INFO Longpoll woke up 2 clients in 0.272 seconds ?2013-02-23 16:30:45,122 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': stale-prevblk 2013-02-23 16:30:45,132 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II return self._updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template and in stratum Quote 2013-02-23 14:33:47,374 merkleMaker WARNING Transaction-longpoll requested 22 seconds ago, and still not ready. Is your server fast enough to keep up with your configured WorkQueueSizeRegular maximum? (doing longpoll merkle roots) 2013-02-23 14:33:47,374 merkleMaker WARNING Haven't updated the merkle tree in at least 22 seconds! Is your server fast enough to keep up with your configured work queue minimums? (doing longpoll merkle roots) 2013-02-23 14:33:49,320 JSONRPCServer INFO Nobody to longpoll 2013-02-23 14:34:26,101 StratumServer ERROR Traceback (most recent call last): File "/home/yyyyyyy/networkserver.py", line 413, in serve_forever o.handle_read() File "/home/yyyyy/networkserver.py", line 59, in handle_read self.handle_readbuf() File "/homeyyyyy/networkserver.py", line 111, in handle_readbuf self.found_terminator() File "/home/yyyyyy/stratumserver.py", line 60, in found_terminator inbuf = b"".join(self.incoming).decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xb9 in position 32: ordinal not in range(128) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 23, 2013, 07:14:32 PM Quote 2013-02-23 14:04:49,958 merkleMaker INFO New block: 00000000000002323fa1359645f9c26ec005792f9d463faa55931f32cde12020 (height: 222693; bits: 1a04985c) 2013-02-23 14:04:50,111 JSONRPCServer INFO Longpoll woke up 6 clients in 0.042 seconds 2013-02-23 14:04:50,126 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II return self._updateMerkleTree() File "/home/xxxxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxx/merklemaker.py", line 506, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/xxx/merklemaker.py", line 485, in _updateMerkleTree_fromTS AcceptRatio = AcceptedScore / TotalScore ZeroDivisionError: int division or modulo by zero Quote 2013-02-23 16:14:17,978 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.2', IP=::ffff:xx.xx.41.73): doJSON_submitblock['02000000d6b2ca723dd01ffffffff025d5988ac00000000', {}] Traceback (most recent call last): File "/home/xxxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/home/xxxxx/jsonrpc_getblocktemplate.py", line 91, in doJSON_submitblock data = bytes.fromhex(data) ValueError: non-hexadecimal number found in fromhex() arg at position 166 i think it is bug in cgminer 2.10.2 ? Quote 2013-02-23 16:29:37,753 JSONRPCServer INFO Longpoll woke up 2 clients in 0.272 seconds 2013-02-23 16:30:45,122 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': stale-prevblk 2013-02-23 16:30:45,132 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II return self._updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template Quote 2013-02-23 14:33:47,374 merkleMaker WARNING Transaction-longpoll requested 22 seconds ago, and still not ready. Is your server fast enough to keep up with your configured WorkQueueSizeRegular maximum? (doing longpoll merkle roots) 2013-02-23 14:33:47,374 merkleMaker WARNING Haven't updated the merkle tree in at least 22 seconds! Is your server fast enough to keep up with your configured work queue minimums? (doing longpoll merkle roots) 2013-02-23 14:33:49,320 JSONRPCServer INFO Nobody to longpoll 2013-02-23 14:34:26,101 StratumServer ERROR Traceback (most recent call last): File "/home/yyyyyyy/networkserver.py", line 413, in serve_forever o.handle_read() File "/home/yyyyy/networkserver.py", line 59, in handle_read self.handle_readbuf() File "/homeyyyyy/networkserver.py", line 111, in handle_readbuf self.found_terminator() File "/home/yyyyyy/stratumserver.py", line 60, in found_terminator inbuf = b"".join(self.incoming).decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xb9 in position 32: ordinal not in range(128) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on February 23, 2013, 08:48:32 PM Quote 2013-02-23 16:29:37,753 JSONRPCServer INFO Longpoll woke up 2 clients in 0.272 seconds 2013-02-23 16:30:45,122 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': stale-prevblk 2013-02-23 16:30:45,132 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II return self._updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template i don't think that is after new block notyfication about minute after new block ? and usualy new block is annouced without this message , just normal like this: Quote 2013-02-23 20:14:03,307 JSONRPCServer INFO Longpoll woke up 8 clients in 0.030 seconds 2013-02-23 20:22:16,810 merkleMaker INFO New block: 00000000000000112079f0792 (height: 222748; bits: 1a04985c) 2013-02-23 20:22:16,956 JSONRPCServer INFO Longpoll woke up 8 clients in 0.081 seconds 2013-02-23 20:22:17,951 JSONRPCServer INFO Waiting 4 seconds to longpoll 2013-02-23 20:22:21,972 JSONRPCServer INFO Longpoll woke up 7 clients in 0.010 seconds 2013-02-23 20:27:41,546 merkleMaker INFO New block: 00000000000001d403f01 (height: 222749; bits: 1a04985c) 2013-02-23 20:27:41,769 JSONRPCServer INFO Longpoll woke up 8 clients in 0.089 seconds 2013-02-23 20:27:44,384 JSONRPCServer INFO Waiting 2.39 seconds to longpoll 2013-02-23 20:27:58,363 JSONRPCServer INFO Longpoll woke up 7 clients in 0.062 seconds Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: smracer on February 27, 2013, 04:27:33 AM 2013-02-26 22:19:38,420 jsonrpc_getwork WARNING Error importing 'midstate' module; work will not provide midstates
2013-02-26 22:19:38,440 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named psycopg2',), <traceback object at 0x1c2ab48>) >>> 2013-02-26 22:19:38,441 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named pymysql',), <traceback object at 0x1c2ac20>) 2013-02-26 22:19:38,473 merkleMaker INFO New block: 0000000000000015f4b9cf9b1c9e8b1e95460cdf6397ab2cf2e8a67d7228b655 (height: 223339; bits: 1a04985c) 2013-02-26 22:19:38,476 JSONRPCServer INFO Waiting 15 seconds to longpoll 2013-02-26 22:19:39,441 JSONRPCServer INFO Ignoring longpoll attempt while another is waiting 2013-02-26 22:19:53,465 JSONRPCServer INFO Nobody to longpoll 2013-02-26 22:21:40,147 merkleMaker INFO New block: 000000000000039c13a0e83af734cf6c0c5accc06b83ed0cb6c77ff9bd38e0f4 (height: 223340; bits: 1a04985c) 2013-02-26 22:21:40,150 JSONRPCServer INFO Nobody to longpoll 2013-02-26 22:21:40,708 JSONRPCServer INFO Nobody to longpoll What am I doing wrong? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on March 03, 2013, 06:04:10 PM probably you dont have midstate module (compile this from source file midstate.so needed )
and no sql libs pymysql etc (install python modules) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: dreamwatcher on March 03, 2013, 07:43:24 PM 2013-02-26 22:19:38,420 jsonrpc_getwork WARNING Error importing 'midstate' module; work will not provide midstates 2013-02-26 22:19:38,440 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named psycopg2',), <traceback object at 0x1c2ab48>) >>> 2013-02-26 22:19:38,441 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named pymysql',), <traceback object at 0x1c2ac20>) 2013-02-26 22:19:38,473 merkleMaker INFO New block: 0000000000000015f4b9cf9b1c9e8b1e95460cdf6397ab2cf2e8a67d7228b655 (height: 223339; bits: 1a04985c) 2013-02-26 22:19:38,476 JSONRPCServer INFO Waiting 15 seconds to longpoll 2013-02-26 22:19:39,441 JSONRPCServer INFO Ignoring longpoll attempt while another is waiting 2013-02-26 22:19:53,465 JSONRPCServer INFO Nobody to longpoll 2013-02-26 22:21:40,147 merkleMaker INFO New block: 000000000000039c13a0e83af734cf6c0c5accc06b83ed0cb6c77ff9bd38e0f4 (height: 223340; bits: 1a04985c) 2013-02-26 22:21:40,150 JSONRPCServer INFO Nobody to longpoll 2013-02-26 22:21:40,708 JSONRPCServer INFO Nobody to longpoll What am I doing wrong? You need to install the python3 psycopg2 module. sudo apt-get install python3-psycopg2 or sudo aptitude install python3-psycopg2 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ocminer on March 10, 2013, 11:27:57 AM As this is the - interesting - open source backend.. Is there also an open source frontend based on this pool software and php / mysql ?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Inaba on March 10, 2013, 04:48:38 PM Nope
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ocminer on March 10, 2013, 06:11:12 PM lend me yours ;-)
ok i'll put something up when i got time... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on March 10, 2013, 09:36:11 PM some small exception
Quote 2013-03-10 22:33:10,264 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.5', IP=::ffff:82.160.xxx.xxx): doJSON_submitblock['020000000xxxxxxxxxxxxxxxxxx', {}] Traceback (most recent call last): File "/home/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/home/xxx/jsonrpc_getblocktemplate.py", line 99, in doJSON_submitblock self.server.receiveShare(share) File "/home/xxx/eloipool18.py", line 646, in receiveShare checkShare(share) File "/home/xxx/eloipool18.py", line 476, in checkShare othertxndata = cbtxn.disassemble(retExtra=True) File "/home/xxx/bitcoin/txn.py", line 52, in disassemble self.version = unpack('<L', self.data[:4])[0] AttributeError: 'Txn' object has no attribute 'data' eloipool works perfect but sometimes above message appears in log file Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on March 10, 2013, 10:20:47 PM some small exception cgminer bug.Quote 2013-03-10 22:33:10,264 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.5', IP=::ffff:82.160.xxx.xxx): doJSON_submitblock['020000000xxxxxxxxxxxxxxxxxx', {}] Traceback (most recent call last): File "/home/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/home/xxx/jsonrpc_getblocktemplate.py", line 99, in doJSON_submitblock self.server.receiveShare(share) File "/home/xxx/eloipool18.py", line 646, in receiveShare checkShare(share) File "/home/xxx/eloipool18.py", line 476, in checkShare othertxndata = cbtxn.disassemble(retExtra=True) File "/home/xxx/bitcoin/txn.py", line 52, in disassemble self.version = unpack('<L', self.data[:4])[0] AttributeError: 'Txn' object has no attribute 'data' eloipool works perfect but sometimes above message appears in log file Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: kano on March 10, 2013, 10:30:38 PM some small exception Use the latest cgminer 2.11.2Quote 2013-03-10 22:33:10,264 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.5', IP=::ffff:82.160.xxx.xxx): doJSON_submitblock['020000000xxxxxxxxxxxxxxxxxx', {}] Traceback (most recent call last): File "/home/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/home/xxx/jsonrpc_getblocktemplate.py", line 99, in doJSON_submitblock self.server.receiveShare(share) File "/home/xxx/eloipool18.py", line 646, in receiveShare checkShare(share) File "/home/xxx/eloipool18.py", line 476, in checkShare othertxndata = cbtxn.disassemble(retExtra=True) File "/home/xxx/bitcoin/txn.py", line 52, in disassemble self.version = unpack('<L', self.data[:4])[0] AttributeError: 'Txn' object has no attribute 'data' eloipool works perfect but sometimes above message appears in log file Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Danilo on March 11, 2013, 02:10:24 PM I have the following problem:
Eloipool works. When I work through the 8999 JSONRPC address everything is working properly and is recorded into a MySQL database and file as well (share-logfile). Only when I go through the stratum on port 3333 miner is working and counting shares but nothing is recorded, not even in the database or the share-logfile. Is there something special to be adjusted??? Thanks in advance! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on March 12, 2013, 11:59:08 AM any upgrade of eloipool needed ? because of stratum and custom bitcoind branch (0.8.0.eligius ) and "bug" ?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on March 12, 2013, 12:14:30 PM bitcoind 0.8.0.eligius shares the bug with normal 0.8.0.
Eloipool should work fine with 0.6/0.7. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: DBordello on March 20, 2013, 01:52:17 AM If TrackerAddr is not defined, will the bitcoind provide a generation address? Ideally I'd like to provide a new address for each block.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Parazyd on March 20, 2013, 04:59:37 AM No, you have to set an address.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on March 26, 2013, 03:00:48 AM Eloipool is only for python 3.x but the config module it requires is only for python 2.x... I think you're confused.. the only config "module" is the config file you have to write yourself (possibly based on the included example).Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on March 30, 2013, 07:13:40 PM what can trigger this error ?
Code: 2013-03-29 19:49:56,743 StratumHandler DEBUG Traceback (most recent call last): is this version bitcoind 0.8.1 eligious branch is ok from git clone git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin.git ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on March 30, 2013, 07:43:22 PM what can trigger this error ? Ignore it for now.Code: 2013-03-29 19:49:56,743 StratumHandler DEBUG Traceback (most recent call last): is this version bitcoind 0.8.1 eligious branch is ok from git clone git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin.git ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on March 31, 2013, 08:22:04 AM everything works fine but in logs , this error appears :
Code: 2013-03-31 10:11:20,543 StratumHandler DEBUG Traceback (most recent call last): and this Code: 2013-03-31 05:16:04,681 redflag CRITICAL issuing duplicate work it is because of bugs in clinet software ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitcoindaddy on March 31, 2013, 02:38:57 PM I'm getting a few errors, Luke, can you point me in the right direction?
2013-03-31 14:26:19,779 jsonrpc_getwork WARNING Error importing 'midstate' module; work will not provide midstates >>> 2013-03-31 14:26:19,788 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named psycopg2',), <traceback object at 0x15beab8>) 2013-03-31 14:26:19,789 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named pymysql',), <traceback object at 0x15beab8>) 2013-03-31 14:26:19,865 merkleMaker INFO New block: 0000000000000255c9ca83e5caaff3c67ba0e90106b09f1c84a4cca10efa9ab0 (height: 228928; bits: 1a02816e) 2013-03-31 14:26:19,867 JSONRPCServer INFO Waiting 14.9 seconds to longpoll 2013-03-31 14:26:20,779 JSONRPCServer INFO Ignoring longpoll attempt while another is waiting 2013-03-31 14:26:34,813 JSONRPCServer INFO Nobody to longpoll 2013-03-31 14:31:10,740 newBlockNotification INFO Received new block notification 2013-03-31 14:31:37,100 StratumHandler DEBUG Traceback (most recent call last): File "/home/eloipool/Downloads/eloipool/stratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) TypeError: _stratum_mining_subscribe() takes exactly 1 positional argument (2 given) Exception in thread Thread-5: Traceback (most recent call last): File "/home/eloipool/Downloads/eloipool/sharelogging/sql.py", line 61, in _thread self._doInsert(o) File "/home/eloipool/Downloads/eloipool/sharelogging/sql.py", line 50, in _doInsert dbc.execute(stmt, params) sqlite3.OperationalError: no such table: shares During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.2/threading.py", line 740, in _bootstrap_inner self.run() File "/usr/lib/python3.2/threading.py", line 693, in run self._target(*self._args, **self._kwargs) File "/home/eloipool/Downloads/eloipool/sharelogging/sql.py", line 63, in _thread _logger.critical(traceback.format_exc()) NameError: global name 'traceback' is not defined Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on March 31, 2013, 03:22:11 PM 2013-03-31 14:26:19,779 jsonrpc_getwork WARNING Error importing 'midstate' module; work will not provide midstates This is only a problem for DiabloMiner, since it still needs the long-deprecated midstate key.>>> 2013-03-31 14:26:19,788 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named psycopg2',), <traceback object at 0x15beab8>) PostgreSQL share logging requires the psycopg2 module.TypeError: _stratum_mining_subscribe() takes exactly 1 positional argument (2 given) Eloipool master does not (yet) support stratum resuming. You can ignore this.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitcoindaddy on March 31, 2013, 03:24:59 PM 2013-03-31 14:26:19,779 jsonrpc_getwork WARNING Error importing 'midstate' module; work will not provide midstates This is only a problem for DiabloMiner, since it still needs the long-deprecated midstate key.>>> 2013-03-31 14:26:19,788 sharelogging ERROR Error setting up share logger sql: (<class 'ImportError'>, ImportError('No module named psycopg2',), <traceback object at 0x15beab8>) PostgreSQL share logging requires the psycopg2 module.TypeError: _stratum_mining_subscribe() takes exactly 1 positional argument (2 given) Eloipool master does not (yet) support stratum resuming. You can ignore this.Thanks! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: zero-asic on April 01, 2013, 06:34:24 PM I have one quick question about config.py.
Does TrackerAddr have to be set to a wallet address in bitcoind or can I set it to any address to receive the rewards? I'd hate to lose rewards. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on April 01, 2013, 07:15:01 PM I have one quick question about config.py. Any version 0 address (ie, no P2SH yet).Does TrackerAddr have to be set to a wallet address in bitcoind or can I set it to any address to receive the rewards? I'd hate to lose rewards. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Aseras on April 04, 2013, 05:32:37 PM Thanks Luke, Got my first solo block on the avalons
Quote 2013-04-03 12:47:18,968 checkShare INFO BLKHASH: 1aad1acfb70c8687b84c11149e6956ec259f4285ba767b113c4 2013-04-03 12:47:18,969 checkShare INFO TARGET: 2816e0000000000000000000000000000000000000000000000 2013-04-03 12:47:18,969 checkShare INFO Submitting upstream 2013-04-03 12:47:18,978 checkShare INFO Real block payload: 02000000e27b70c6dd7809a4534d88fdf2c5a4562d36240d71ac3d355302000000000000 2013-04-03 12:47:19,154 Waker for BitcoinNode DEBUG Read wakeup 2013-04-03 12:47:19,155 BitcoinNode INFO Sent `block' to 1 nodes 2013-04-03 12:47:19,155 merkleMaker INFO New block: 00000000000001aad1acfb70c8687b84c11149e6956ec259f4285ba767b113c4 (height: 229535; bits: 1a02816e) 2013-04-03 12:47:19,157 JSONRPCServer INFO Nobody to longpoll 2013-04-03 12:47:19,400 blockSubmission DEBUG Upstream 'primary' accepted block 2013-04-03 12:47:19,428 newBlockNotification INFO Received new block notification Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: dreamwatcher on April 07, 2013, 07:45:00 PM Code: TypeError: _stratum_mining_subscribe() takes exactly 1 positional argument ( Code: if (e.StratumErrMsg.find ('TypeError: _stratum_mining_subscribe() takes exactly 1 positional argument ')): Either it does not work or I accidentally end up suppressing a needed RPC result. Where is it safe to suppress this particular error from showing on screen? Figured it out: In stratumserver.py: Line 108-109 Code: if not hasattr(e, 'StratumQuiet'): Change/add: Code: if not hasattr(e, 'StratumQuiet'): Not the prettiest solution, but for some reason I was having a problem with making the first 'if" statement as a compound statement that would work correctly. I do not see the need to present this on git, as it is a fix for a non-fatal temporary annoyance type issue. Though I will put in a request if Luke asks, or he is free to change and add as he sees fit. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: voidale on April 10, 2013, 03:20:26 AM I can finally post, Don't have to spam Luke via PM's! And this might be useful for everyone else as well. I was wondering will Eloipool.py will use all CPU cores, Or I have to use something to make sure it does? Looking to balance the load for it. And any tips on how balancing the load on the ports and some optimizing tips?
edit: How can I see Mh/s stats? And what should I use as a miner username the bitcoin address? I'm using random name and it generate shares with no issues is this fine or I must use bitcoin address as a username in my miner? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: AxelMi on April 19, 2013, 03:29:01 PM Sometimes i have in the Sharelog :
Code: 1366382986.688058 ::ffff:192.168.178.11 Tester N - high-hash 00000002455625af0d541dbc1b0a5b178522ec1c2f4529d768622586000000dd00000000318ba5ab5df7fcc99e6c55904d245306e74095e39a678cfa0eab1618ec30cfd15171593d1a01de948933c68e It is defined in the Stratumprotocol , but what does it mean ? Thanks. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: raubaut on April 25, 2013, 02:26:37 AM This is all I get when I try running ./eloipool.py:
Code: root@pool:~/eloipool# ./eloipool.py Any ideas? ??? I checked the log but it's empty. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: WinTame2012 on April 25, 2013, 02:29:38 AM This is all I get when I try running ./eloipool.py: try thisCode: root@pool:~/eloipool# ./eloipool.py Any ideas? ??? Code: root@pool:~/eloipool# python ./eloipool.py Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: raubaut on April 25, 2013, 02:32:42 AM This is all I get when I try running ./eloipool.py: try thisCode: root@pool:~/eloipool# ./eloipool.py Any ideas? ??? Code: root@pool:~/eloipool# python ./eloipool.py Gives the same message. Edit: tried with "python eloipool.py -d" but there's no debug info either. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on April 25, 2013, 02:42:08 AM This is all I get when I try running ./eloipool.py: Almost certainly something wrong with your OS or Python.Code: root@pool:~/eloipool# ./eloipool.py Any ideas? ??? I checked the log but it's empty. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: robotrebellion on April 25, 2013, 09:00:47 PM This is all I get when I try running ./eloipool.py: Almost certainly something wrong with your OS or Python.Code: root@pool:~/eloipool# ./eloipool.py Any ideas? ??? I checked the log but it's empty. Is there a particular OS/Python version you have been successful with? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on April 25, 2013, 09:07:19 PM Is there a particular OS/Python version you have been successful with? I run Gentoo + Python 3.1 or 3.2.Another possibility (more likely perhaps) is that you miscompiled the midstate module for your system... be sure to check CFLAGS in the Makefile. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: robotrebellion on April 25, 2013, 09:39:42 PM Alright I got to a new point in my install.
Code: >>> Traceback (most recent call last): As far as I can tell UpstreamBitcoindNode is set correctly in config.py: Code: UpstreamBitcoindNode = ('127.0.0.1', 18333) # testnet Is there something I'm missing? Edit: fixed midstate module error Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tempt on May 01, 2013, 05:37:43 PM Hi I've installed bitcoind, got all blocks, installed eloipool and set it up. I've used https://bitcointalk.org/index.php?topic=158105.0;all as a guidance. Now I have the problem, eloipool and bitcoind are running, but eloipool does not respond at all.. I've tried several ports, usernames, no usernames, different miners, it just does not respond.
Is there something big I am missing? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 04, 2013, 04:59:19 PM eloipool works OK :) in normal mining THANKS LUKE -JR :)
but i try to setup merged mining with namecoin, and Code: python merged-mine-proxy -w 8330 -p http://secretusereloipool:pass@127.0.0.1:9341/ -x http://secretusernamecoin:secretpassnamecoin@localhost:8477/ and it look ok, mining proxy start i get this Code: 2013-05-04T16:49:00.165102,updateaux BUT when i try to use miner on port 8330 i get Code: 001-0: ztex_ufm1_15d4-0001-02-01-1: Error: Invalid length of string: Disabling URL http://serwerpool.eu:8330 for 60s or Code: 2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, checking for stratum... should I set something additional in eloipool or merged mining proxy ? to get merged mining BTC + NMC work ? I use bitcoind 'version' => 80100, 'protocolversion' => 70001, and namecoin [version] => 35000, maybe i should run other version namecoin ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 04, 2013, 07:42:01 PM It's not a proxy. Miners continue to talk to Eloipool.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 05, 2013, 06:06:03 PM It's not a proxy. Miners continue to talk to Eloipool. idont understand your suggestion :P maybe it should be 1) client minrer <---> mining proxy <--> eloipool <----> bitcoind | | -------> namecoind ? or 2) client miner <----> eloipool <-----> mining proxy <----> bitcoind | | ----> namecond mining proxy need setworkaux so i think 1) will be ok ? so why in first scenario i get errors on client miner ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 05, 2013, 09:34:05 PM It's not a proxy. Miners continue to talk to Eloipool. idont understand your suggestion :P maybe it should be 1) client minrer <---> mining proxy <--> eloipool <----> bitcoind | | -------> namecoind ? or 2) client miner <----> eloipool <-----> mining proxy <----> bitcoind | | ----> namecond mining proxy need setworkaux so i think 1) will be ok ? so why in first scenario i get errors on client miner ? The only supported scenario is: Code: client miner <--> eloipool <--> bitcoind Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: qubic on May 06, 2013, 10:09:06 AM Code: 2013-05-06 18:03:17,740 merkleMaker CRITICAL Traceback (most recent call last): Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 06, 2013, 09:09:44 PM mining proxy need setworkaux so i think 1) will be ok ? so why in first scenario i get errors on client miner ? The only supported scenario is: Code: client miner <--> eloipool <--> bitcoind you mean client miner <----> eloipool <-----> mining proxy <----> bitcoind | | ----> namecond so i must use patched bitcoind (with setworkaux function) ? or maybe client miner <----> eloipool <-----> mining proxy <----> eloipool <--- > bitcoind | | ----> namecond ? :) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 06, 2013, 09:12:54 PM mining proxy need setworkaux so i think 1) will be ok ? so why in first scenario i get errors on client miner ? The only supported scenario is: Code: client miner <--> eloipool <--> bitcoind you mean client miner <----> eloipool <-----> mining proxy <----> bitcoind | | ----> namecond so i must use patched bitcoind (with setworkaux function) ? or maybe client miner <----> eloipool <-----> mining proxy <----> eloipool <--- > bitcoind | | ----> namecond ? :) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 07, 2013, 10:33:07 AM The only supported scenario is: Code: client miner <--> eloipool <--> bitcoind [/quote] so if Code: client miner <--> eloipool <--> mining proxy <--> (bitcond + namecoind) how to connect eloipool to bitcoind AND to mining proxy ? Code: client miner <--> eloipool <--> (mining proxy + namecoind) <--> bitcoind ? i see that normally mining proxy "split" connection into two daemon (BTC, NMC) but how to do this in eloipool ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 07, 2013, 07:16:48 PM The only supported scenario is: Code: client miner <--> eloipool <--> bitcoind so if Code: client miner <--> eloipool <--> mining proxy <--> (bitcond + namecoind) how to connect eloipool to bitcoind AND to mining proxy ? Code: client miner <--> eloipool <--> (mining proxy + namecoind) <--> bitcoind ? i see that normally mining proxy "split" connection into two daemon (BTC, NMC) but how to do this in eloipool ? [/quote]Mining proxy talks to Eloipool and Namecoind, nothing else. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 07, 2013, 07:55:06 PM Mining proxy talks to Eloipool and Namecoind, nothing else. so we have this configuration Code: client miner <---> mining proxy <--> eloipool <----> bitcoind mining proxy command Code: python merged-mining-proxy -w 8330 -p http://ssecreteloipool:222@127.0.0.1:9947/ -x http://namecoinrpc:manecoinrpcpass@localhost:9377/ eloipool config.py Code: # Secret username allowed to use setworkaux namecoind config Code: rpcuser=namecoinrpc and normal configuracjion connection to bitcoin Code: .... why i cannot connect /point miner to 8330 port ? and still get this errors Quote 001-0: ztex_ufm1_15d4-0001-02-01-1: Error: Invalid length of string: Disabling URL http://serverurl.com:8330 for 60s ... ... .. miner with eloipool works perfect but with merged mining configuracion still cannot connect minner to mining proxy ... what should i change in my configuration ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 07, 2013, 08:23:17 PM Mining proxy talks to Eloipool and Namecoind, nothing else. so we have this configuration Code: client miner <---> mining proxy <--> eloipool <----> bitcoind mining proxy command Code: python merged-mining-proxy -w 8330 -p http://ssecreteloipool:222@127.0.0.1:9947/ -x http://namecoinrpc:manecoinrpcpass@localhost:9377/ eloipool config.py Code: # Secret username allowed to use setworkaux namecoind config Code: rpcuser=namecoinrpc and normal configuracjion connection to bitcoin Code: .... why i cannot connect /point miner to 8330 port ? and still get this errors Quote 001-0: ztex_ufm1_15d4-0001-02-01-1: Error: Invalid length of string: Disabling URL http://serverurl.com:8330 for 60s ... ... .. miner with eloipool works perfect but with merged mining configuracion still cannot connect minner to mining proxy ... what should i change in my configuration ? Miner talks to Eloipool. Eloipool talks to bitcoind and MMP independently. MMP talks to namecoind. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 08, 2013, 09:58:16 AM Miner talks to Eloipool. ok it is easy :) MMP talks to namecoind. ok, thats easy too :) but Eloipool talks to bitcoind and MMP independently. which params (MMP url, MMP host, MMP port ? ) in eloipool makes that eloipool talks to MMP ? or my configuration Quote mining proxy command Code: python merged-mining-proxy -w 8330 -p http://ssecreteloipool:222@127.0.0.1:9947/ -x http://namecoinrpc:manecoinrpcpass@localhost:9377/ eloipool config.py Code: # Secret username allowed to use setworkaux namecoind config Code: rpcuser=namecoinrpc is ok, and i should just point miner to eloipool (port 9947 ) , instead MMP (port 8330) ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 08, 2013, 10:01:58 AM You're missing the GotWorkURI stuff.
You saw README, right? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 08, 2013, 10:13:55 AM You're missing the GotWorkURI stuff. You saw README, right? yes , i saw README: Quote "Eloipool supports merged mining using the setworkaux/gotwork RPC interface." and in config.py Quote # URI to send gotwork with info for every share submission and thats ALL... #GotWorkURI = '' SO finall configuration Quote mining proxy command Code: python merged-mining-proxy -w 8330 -p http://ssecreteloipool:222@127.0.0.1:9947/ -x http://namecoinrpc:manecoinrpcpass@localhost:9377/ eloipool config.py Code: # Secret username allowed to use setworkaux namecoind config Code: rpcuser=namecoinrpc Code: and user miner program connect to 9947 is it ok ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 08, 2013, 10:43:48 AM Looks okay. Does it work? :)
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: smracer on May 09, 2013, 02:53:58 PM >>> 2013-05-09 09:52:26,704 sharelogging ERROR Error setting up share logger sql: (<class 'NameError'>, NameError("name 'long' is not defined",), <traceback object at 0x1ae0200>)
I am trying to get mysql to record the shares. I set up the 'shares' table and columns but it is not recording shares. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: qubic on May 10, 2013, 06:12:44 AM I got an error:
Code: makeCoinbaseTxn ERROR Coinbaser failed! line 105 in eloipool.py raise an error Code: nout = int(p.stdout.readline()) Code: echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU" Code: bash: %d / 100: syntax error: operand expected (error token is "%d / 100") Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 10, 2013, 08:10:32 AM I got an error: My guess would be a non-BASH default shell...Code: makeCoinbaseTxn ERROR Coinbaser failed! line 105 in eloipool.py raise an error Code: nout = int(p.stdout.readline()) Code: echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU" Code: bash: %d / 100: syntax error: operand expected (error token is "%d / 100") Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: qubic on May 10, 2013, 09:39:40 AM I got an error: My guess would be a non-BASH default shell...Code: makeCoinbaseTxn ERROR Coinbaser failed! line 105 in eloipool.py raise an error Code: nout = int(p.stdout.readline()) Code: echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU" Code: bash: %d / 100: syntax error: operand expected (error token is "%d / 100") Code: p.stdout.readline() Code: b'-e 1\n' Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 10, 2013, 09:46:03 AM I got an error: My guess would be a non-BASH default shell...Code: makeCoinbaseTxn ERROR Coinbaser failed! line 105 in eloipool.py raise an error Code: nout = int(p.stdout.readline()) Code: echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU" Code: bash: %d / 100: syntax error: operand expected (error token is "%d / 100") Code: p.stdout.readline() Code: b'-e 1\n' Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: voidale on May 10, 2013, 12:08:59 PM Got this new error any idea what this means?
Code: May 10 08:04:05 <12>Change from height 235474->235476; no longpoll merkleroots available! Can anyone tell me how do I upgrade eloipool to latest release? And always was curious why Longpoll woke up has 2 lines and which one of them is accurate one says 20 clients and the other 5 clients weird? Also got another question does increasing the difficulty of shares mining reduces server load? Code: Longpoll woke up 20 clients in 0.278 seconds + Bug Report Looks like Statrum Protocol isn't working on CPU mining with Ufasoft + Also when trying to connect to eloipool pool server statrum with stratum-mining-proxy (Slush0's) it will not connect and will give the following error: Code: 2013-05-12 05:18:44,862 WARNING proxy mining_proxy.main # Trying to connect to S Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: voidale on May 13, 2013, 03:16:43 AM ***PLEASE HELP***
I tried to upgrade everything python + eloipool. Now my pool doesn't work! It all started with simple Code: import jsonrpc I have tried Code: cd python-bitcoinrpc And it made it worse! Code: 2013-05-12 23:08:19,014 merkleMaker CRITICAL Traceback (most recent call last): *** Solution*** found old pantehicon's fix! A quick fix is to decode the bytes into UTF-8. On line 72 of bitcoinrpc/authproxy.py change: Code: Code: Hope this helps Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Anonymailer on May 18, 2013, 12:10:44 AM what config would be required to run as a sub pool of eligius?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: optimator on May 20, 2013, 05:24:27 PM I have Eloipool up and running on Testnet.
When I find a block I receive this message in the log file: Code: 2013-05-20 17:21:33,131 blockSubmission DEBUG Upstream 'primary' accepted block However, it appears the network has accepted the block. Any ideas why I'm getting the "redflag" message? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 20, 2013, 08:42:04 PM Looks okay. Does it work? :) yes :) many thanks :)merged mining work ! (but i dont find any block yet ) but from time to time i get Code: 2013-05-20T20:40:39.879372,solve,?,0,2125c31fb29aa6947264472d420e5f9e5582ef21576640c5eab4a4a300000000 is it something with multithreading in eloipool ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 20, 2013, 08:44:25 PM I got an error: My guess would be a non-BASH default shell...Code: makeCoinbaseTxn ERROR Coinbaser failed! line 105 in eloipool.py raise an error Code: nout = int(p.stdout.readline()) Code: echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU" Code: bash: %d / 100: syntax error: operand expected (error token is "%d / 100") Code: p.stdout.readline() Code: b'-e 1\n' i have the same with BASH, python 3.2 , on ubuntu 12. commenting CoinbaserCmd, may help but it isn't good solution... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tomaszsz on May 20, 2013, 08:47:58 PM >>> 2013-05-09 09:52:26,704 sharelogging ERROR Error setting up share logger sql: (<class 'NameError'>, NameError("name 'long' is not defined",), <traceback object at 0x1ae0200>) I am trying to get mysql to record the shares. I set up the 'shares' table and columns but it is not recording shares. please post your config with Sharelogging section Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: optimator on May 23, 2013, 05:47:46 PM I'm using bitcoind 0.8.1 and I'm getting a GBT timeout error.
Here is the logfile: Code: 2013-05-23 17:39:48,777 newBlockNotification INFO Received new block notification You can see eloipool receives the new block notification, attempts to build the merkle tree using the transactions from GBT but then times out. It's almost 50 seconds later the new block is pushed to the clients. Any idea what is causing this error? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: pascal257 on May 27, 2013, 01:33:46 AM I'm getting this error:
Code: Traceback (most recent call last): Its caused by a failed authorization. I tried to print the AuthHeader and got this as result: "Basic b'dXNlcjpwYXNzd29yZA=='" If I put the string (without the b') directly into __auth_header it works flawlessy. I also tried python3.3 with the same result. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ppcko on May 27, 2013, 08:43:08 PM Quick and dirty fix? Works for me.
Add .decode() to the following line (authproxy.py): Code: self.__auth_header = "Basic %s" % base64.b64encode(authpair).decode() Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: kinlo on May 27, 2013, 08:51:36 PM The GBT timeout issues are solved with bitcoin 0.8.2, best to upgrade.
Yes 0.8.2 hasn't been released yet. But all pools have backported the related fix(es) in order to solve this problem already.... Or just use an existing pool :) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 27, 2013, 08:52:34 PM The GBT timeout issues are solved with bitcoin 0.8.2, best to upgrade. It's better, but far from solved :(Yes 0.8.2 hasn't been released yet. But all pools have backported the related fix(es) in order to solve this problem already.... Or just use an existing pool :) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: kinlo on May 27, 2013, 09:58:00 PM The GBT timeout issues are solved with bitcoin 0.8.2, best to upgrade. It's better, but far from solved :(Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mechkladenets on May 30, 2013, 03:09:31 PM Hi, i am new to Python, started to learn it recently.
I have got Eloipool from https://gitorious.org/bitcoin/eloipool/commits/master But there is no instructions on how to setup it on hosting server in README. Also, does it support Litecoin mining? What i am supposed to see is the site with frontend like http://eligius.st/~gateway (i know html/css3, so i need only up and running soft as site on hosting - then i will customize it) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: feeleep on June 04, 2013, 05:23:13 PM Hi,
I am testing litecoin fork of eloipool and i encountered an error which I can not pass through: Code: 2013-06-04 19:22:35,781 JSONRPCHandler ERROR Error during JSON-RPC call: doJSON_getwork['00000002469d398f8b08c953ea40442e63cb5768340d2c9be18b3b8f0bb56f4a00000000410f80197fdf354663476bd3dd05fc4391661de7f133958bb030363bcd93568851ae22571d01132e00002283000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000'] Any idea what it can be? feeleep Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on June 04, 2013, 06:04:31 PM FWIW, I don't intend to provide general support for patchsets which haven't even been proposed as merge requests yet (though anyone else is welcome to).
Hopefully this will encourage people to submit their changes upstream ;) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: feeleep on June 05, 2013, 07:12:15 AM FWIW, I don't intend to provide general support for patchsets which haven't even been proposed as merge requests yet (though anyone else is welcome to). Hopefully this will encourage people to submit their changes upstream ;) OK - i got rid of this strange message - it was just problem with python... Bu i have a general problem with configuration: ShareTarget value is totally unclear for me and I used several calculators and can't get expected results as minimal difficulty. Can anyone help me with this? feeleep Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on June 05, 2013, 07:51:03 AM FWIW, I don't intend to provide general support for patchsets which haven't even been proposed as merge requests yet (though anyone else is welcome to). Hopefully this will encourage people to submit their changes upstream ;) OK - i got rid of this strange message - it was just problem with python... Bu i have a general problem with configuration: ShareTarget value is totally unclear for me and I used several calculators and can't get expected results as minimal difficulty. Can anyone help me with this? feeleep For bdifficulty, it's the same, but based on a truncated value, 0x00000000ffff0000000000000000000000000000000000000000000000000000 If you enable dynamic targetting though, this is just a minimum, so I'd leave it at pdiff 1. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Kiro on June 12, 2013, 06:54:48 AM I'm trying to setup eloipool to replace my old pushpool install and I'm having a real hard time fixing an error that most ppl seem to have gotten past.
'No JSON object could be decoded' I've tried 2 different builds of bitcond to connect to with eloipool but it always, always, always tells me that 'No JSON object could be decoded'. These are the bitcoind builds I have compiled and run without any issues (connected to testnet) all RPC settings are correct and working as far as I can tell (Pushpool connects fine with the same RPC settings)
I've also followed these steps to build the source when all else failed - https://bitcointalk.org/index.php?topic=162788.0 I cant currently get the ubuntu ppa to download correctly so I haven't tried that one yet. I've tried the few fixes that I have seen posted, like adding .decode() to the end of line 72 in authproxy.py, i've also tried rebuilding each one of the bitcoind's I downloaded and each time it always gives me the same error, I'm going crazy here trying to get eloipool to accept the returned JSON object from bitcoind. What could the issue be? Code: Traceback (most recent call last): Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: nemercry on June 16, 2013, 11:27:58 AM Any Updates on this error ?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: kinlo on June 20, 2013, 09:29:44 AM I have Eloipool up and running on Testnet. When I find a block I receive this message in the log file: Code: 2013-05-20 17:21:33,131 blockSubmission DEBUG Upstream 'primary' accepted block However, it appears the network has accepted the block. Any ideas why I'm getting the "redflag" message? Eloipool tries to submit the block at least three times. So you *should* get this error. it is indeed a bit confusing, but that is how it works. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: vmart155 on June 27, 2013, 08:04:16 PM Code: 2013-06-27 23:02:34,173 merkleMaker CRITICAL Traceback (most recent call last): Who knows what the problem is? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: gr0bi42 on July 02, 2013, 05:34:20 PM Hi Luke,
how do I get the block height into the coinbase? Let's say, CoinbaserCmd is not really "well" documented ;-) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on July 02, 2013, 05:55:50 PM Hi Luke, It's always in the coinbase. CoinbaserCmd controls payouts.how do I get the block height into the coinbase? Let's say, CoinbaserCmd is not really "well" documented ;-) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: arruah on August 01, 2013, 08:27:51 AM I'm trying to run the application but I get the error
Code: kamrenov@pool:~/bin$ ./eloipool.py my config.py Code: # Please note that config files are Python source code! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hahahafr on August 07, 2013, 09:38:38 PM What I run:
Code: root@server:~/pool/# ./bitcoind & I'm getting an infinite loop error! The message doesn't stop and blocks the terminal... Code: Traceback (most recent call last): And the message repeats... bitcoind config: Code: rpcuser=y eloipool config.py Code: # Please note that config files are Python source code! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hahahafr on August 08, 2013, 03:56:02 AM Fixed, had to checkout at commit 770881c8bd9b1f92427290270b37a28751cf9df0 of python-bitcoinrpc.
Is there a way to have the python-bitcoinrpc git updated to the latest commit and still get it to work with eloipool? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on August 08, 2013, 04:30:14 AM Fixed, had to checkout at commit 770881c8bd9b1f92427290270b37a28751cf9df0 of python-bitcoinrpc. No, this is a bug in python-bitcoinrpc and has to be fixed there.Is there a way to have the python-bitcoinrpc git updated to the latest commit and still get it to work with eloipool? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hahahafr on August 08, 2013, 04:25:00 PM How to estimate the current hashrate of the pool? Is already some stats somewhere?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hahahafr on August 08, 2013, 05:50:18 PM Or do I have to somehow calculate it with the accepted shares logged?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: BTCMiners.net on August 10, 2013, 01:21:21 AM Code: Traceback (most recent call last): Any idea why it would be throwing that? It's a new clone, config is setup properly.. if you need any other info please let me know and i'll post what I can :) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on August 10, 2013, 02:07:42 AM Code: Traceback (most recent call last): Any idea why it would be throwing that? It's a new clone, config is setup properly.. if you need any other info please let me know and i'll post what I can :) You need at least version 3.1 (released over 4 years ago). Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: BTCMiners.net on August 10, 2013, 01:00:37 PM Code: Traceback (most recent call last): Any idea why it would be throwing that? It's a new clone, config is setup properly.. if you need any other info please let me know and i'll post what I can :) You need at least version 3.1 (released over 4 years ago). You're right I simply didn't run python3 when I ran the command, but this is what I resulted with: Code: Traceback (most recent call last): So, I found https://bitcointalk.org/index.php?topic=113730.0 But nothing in there has helped me out. Blockchain is up to date and current. Symlink is done but I'm not even able to run the setup.py in the python-bitcoinrpc directory. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: icreator on August 25, 2013, 08:31:25 AM I have Ubuntu 13.04 and Python3.3
run: python3.3 eloipool.py got errors: Code: Traceback (most recent call last): Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: icreator on August 25, 2013, 06:35:10 PM I have python3.3.2
git clone https://github.com/jgarzik/python-bitcoinrpc.git python3 setup.py build sudo python3 setup.py install then run probe.py Code: from jsonrpc.proxy import ServiceProxy, JSONRPCException errors: Code: ile "probe.py", line 17, in <module> but if I run: python2.7 probe.py - all work! ?? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: icreator on August 28, 2013, 11:35:59 AM found error in script authproxy.py
Code: (Python) authpair = "%s:%s" % (self.__url.username, self.__url.password) and I load directly authproxy: Code: (Python3.3) '''import jsonrpc and copy client.py from /usr/lib/python3.3/http into my folder with eloipool BUT! when call getblocktemplate from merklemaker.py Code: for TC in TCList: rise error in responce: Quote 2013-08-28 15:11:39,777 makeCoinbaseTxn_responce ERROR {'error': {'message': 'Invalid mode', 'code': -8}, 'result': None, 'id': 1} 2013-08-28 15:11:39,780 merkleMaker CRITICAL Traceback (most recent call last): File "/home/icreator/pools/eloipool-3/merklemaker.py", line 732, in run self.merkleMaker_I() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 722, in merkleMaker_I self.merkleMaker_II() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 700, in merkleMaker_II return self._updateMerkleTree() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 588, in _updateMerkleTree self._updateMerkleTree_I() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 552, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/icreator/pools/eloipool-3/merklemaker.py", line 523, in _updateMerkleTree_fromTS (AcceptedScore, TotalScore) = self._CheckTemplate(newMerkleTree, TS) File "/home/icreator/pools/eloipool-3/merklemaker.py", line 456, in _CheckTemplate propose = caccess.getblocktemplate(ProposeReq) File "/home/icreator/pools/eloipool-3/authproxy.py", line 135, in __call__ raise JSONRPCException(response['error']) authproxy.JSONRPCException "mode" set here: Code: ProposeReq = { BUT if I do: Code: ProposeReq = { new error: Code: 2013-08-28 15:35:29,709 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': 0000000000000007d8be81c938a2519ba3b2eb8fe1720ad82210d4f82716a6f7 and how use jsonrpc_getblocktemplate.py ?? here may be right code? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: goozman96 on September 05, 2013, 07:59:52 PM Hey, I'm considering switching from BTC Guild to eligius. Can you answer some questions for me?
1. Why doesn't your site support https 2. Why does Web Of Trust show a yellow rating for your site. See: http://i721.photobucket.com/albums/ww214/terrorist96/eligius_zps1346943d.png Thanks Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: DopeLabs on September 12, 2013, 02:08:46 PM this seems to be repeating in the logfile.... any ideas as to what i need to do to fix?
Code: 2013-09-12 07:07:32,607 merkleMaker CRITICAL Traceback (most recent call last): Title: Re: [ANN] eloipool - FAST Python3 pool server software Post by: EvgenijM86 on October 01, 2013, 02:45:36 PM How do i install the python-bitcoinrpc and python-base58 ? It's usually sufficient to just get the git checkout linked under your eloipool directory.Thx What does "linked" mean exactly? Should I just git clone them while inside eloipool directory? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on October 12, 2013, 05:26:56 AM "Interactive Python 3 console so you can inspect and modify the pool while it's running."
interesting... where can I find this? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on October 12, 2013, 06:46:09 PM this seems to be repeating in the logfile.... any ideas as to what i need to do to fix? Code: 2013-09-12 07:07:32,607 merkleMaker CRITICAL Traceback (most recent call last): I seem to get that quite a bit as well. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on October 12, 2013, 06:48:56 PM That's a recent bug in bitcoinrpc. Please report it to that project.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Groc on October 16, 2013, 06:08:00 PM Anyone using Eloipool with a Raspberry Pi?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Trongersoll on October 16, 2013, 06:48:38 PM What would be the minimum hardware requirements for running this as a private pool? assume ubuntu 12.4 server as a host. Could a 10 year old pentium dual core 2.0Ghz run this? would extra RAM help?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Inaba on October 16, 2013, 06:57:27 PM Depends on how big your pool is. I would say a dual core with 8 GB of RAM would work for a small pool. It's very ram hungry.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on October 22, 2013, 06:07:21 PM "Interactive Python 3 console so you can inspect and modify the pool while it's running." interesting... where can I find this? Seriously where do i find this? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on October 23, 2013, 06:18:16 AM What does "Nobody to longpoll" mean?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Inaba on October 23, 2013, 11:08:41 PM "Interactive Python 3 console so you can inspect and modify the pool while it's running." interesting... where can I find this? Seriously where do i find this? Hit return... that >>> prompt is your console. What does "Nobody to longpoll" mean? Means nobody is connected to your pool. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on October 23, 2013, 11:34:22 PM What does "Nobody to longpoll" mean? Means nobody is connected to your pool.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on October 24, 2013, 03:11:52 PM What does "Nobody to longpoll" mean? Means nobody is connected to your pool. I was worried about that. I am using cgminer to connect via stratum. I am showing shares being logged to my share log file. I am connecting from two different machines. My log file is kind of repetitive... here's an excerpt: Quote 2013-10-23 23:39:03,067 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:39:04,295 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:43:05,339 merkleMaker INFO New block: 000000000000000f733d4d33d9d0b31acec6e4131795d41bc5bf5d8d70e99de2 (height: 265667; bits: 19100ab6) 2013-10-23 23:43:05,341 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:43:06,613 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:46:07,044 merkleMaker INFO New block: 0000000000000002187246b45974f1feacbb3cdc57335b3b8f311181b5606aee (height: 265668; bits: 19100ab6) 2013-10-23 23:46:07,047 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:46:08,318 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:47:52,909 merkleMaker INFO New block: 000000000000000433d7645b726bb6f734643e9a7883c40459d903bd9fe76779 (height: 265669; bits: 19100ab6) 2013-10-23 23:47:52,910 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:47:54,091 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:59:24,201 merkleMaker INFO New block: 0000000000000004bed61203007b92c4d07e8066ef3feaa4ac67a38cd29cf04b (height: 265670; bits: 19100ab6) 2013-10-23 23:59:24,208 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:59:25,481 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:59:39,346 merkleMaker INFO New block: 000000000000000f101af970586963aadf934dfd043fd8f19cc23ce7478618d4 (height: 265671; bits: 19100ab6) 2013-10-23 23:59:39,352 JSONRPCServer INFO Nobody to longpoll 2013-10-23 23:59:40,566 JSONRPCServer INFO Nobody to longpoll Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: jgarzik on October 24, 2013, 03:19:26 PM As Luke indicated, "nobody to longpoll" is normal for pools without getwork/getblocktemplate (GBT) users.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on October 24, 2013, 03:40:29 PM As Luke indicated, "nobody to longpoll" is normal for pools without getwork/getblocktemplate (GBT) users. I just realized Luke responded. The first reply confused me, but Luke's cleared it up. Sorry. Thanks again! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on October 25, 2013, 10:50:13 PM I keep getting the following error repeatedly.
Ideas? Quote 2013-10-25 12:38:04,438 StratumHandler DEBUG Traceback (most recent call last): File "../eloipool/eloipool.py", line 668, in receiveShare checkShare(share) File "../eloipool/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 "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) File "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 199, in _stratum_mining_submit self.server.receiveShare(share) File "../eloipool/eloipool.py", line 677, in receiveShare logShare(share) File "../eloipool/eloipool.py", line 651, in logShare share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8') KeyError: 'data' Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: golonka on October 28, 2013, 07:31:59 AM is is possible to sig generated blocks with additional message eg. 'block generated by ...'
whichh command should i use ? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: juhakall on October 31, 2013, 01:47:25 AM What could be causing these errors? I've been using eloipool without encountering this before.
Quote 2013-10-31 03:34:54,429 newBlockNotification INFO Received new block notification 2013-10-31 03:34:54,432 merkleMaker INFO New block: 000000000000e96483898230fc2b79ef42d1894391214abe45d37a5e3e24ade5 (height: 21821; bits: 1b00ff4b) 2013-10-31 03:34:54,435 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:34:54,525 BitcoinLink DEBUG Received block inv over p2p for 000000000000e96483898230fc2b79ef42d1894391214abe45d37a5e3e24ade5 2013-10-31 03:34:54,849 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:38:33,235 BitcoinLink DEBUG Received block inv over p2p for 0000000000007e562f51f86f48082895e82492d56774a62d3d6a3e7ec11fe6a5 2013-10-31 03:38:33,251 newBlockNotification INFO Received new block notification Exception in thread newBlockNotification via signal 10: Traceback (most recent call last): File "/usr/lib/python3.2/threading.py", line 740, in _bootstrap_inner self.run() File "/usr/lib/python3.2/threading.py", line 693, in run self._target(*self._args, **self._kwargs) File "./eloipool.py", line 681, in newBlockNotification MM.updateMerkleTree() File "/home/juhakall/src/eloipool/merklemaker.py", line 560, in updateMerkleTree self._updateMerkleTree() File "/home/juhakall/src/eloipool/merklemaker.py", line 548, in _updateMerkleTree self._updateMerkleTree_I() File "/home/juhakall/src/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/juhakall/src/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS MP = self._CallGBT(TS) File "/home/juhakall/src/eloipool/merklemaker.py", line 327, in _CallGBT MP = access.getblocktemplate(self.GBTReq) File "/home/juhakall/src/eloipool/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 2013-10-31 03:38:33,257 merkleMaker INFO New block: 0000000000007e562f51f86f48082895e82492d56774a62d3d6a3e7ec11fe6a5 (height: 21822; bits: 1b01325a) 2013-10-31 03:38:33,258 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:38:33,658 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:40:05,491 newBlockNotification INFO Received new block notification 2013-10-31 03:40:05,558 merkleMaker INFO New block: 000000000000d7cd0a17d0d7b271a2ec6e1d02f5256b65b7b4ca0699b054ccda (height: 21823; bits: 1b01325a) 2013-10-31 03:40:05,560 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:40:05,584 BitcoinLink DEBUG Received block inv over p2p for 000000000000d7cd0a17d0d7b271a2ec6e1d02f5256b65b7b4ca0699b054ccda 2013-10-31 03:40:05,911 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:40:47,580 newBlockNotification INFO Received new block notification 2013-10-31 03:40:47,583 merkleMaker INFO New block: 0000000000008bf8bbb1c66bbfb4898cc96af99e2a1c6c1543b410b80650af98 (height: 21824; bits: 1b01325a) 2013-10-31 03:40:47,586 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:40:47,679 BitcoinLink DEBUG Received block inv over p2p for 0000000000008bf8bbb1c66bbfb4898cc96af99e2a1c6c1543b410b80650af98 2013-10-31 03:40:47,974 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:40:51,674 newBlockNotification INFO Received new block notification 2013-10-31 03:40:51,678 merkleMaker INFO New block: 00000000000031ac074f8fb95c0a60f844095b25a7c8e23afa0503f201d78c89 (height: 21825; bits: 1b016f9f) 2013-10-31 03:40:51,680 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:40:51,770 BitcoinLink DEBUG Received block inv over p2p for 00000000000031ac074f8fb95c0a60f844095b25a7c8e23afa0503f201d78c89 2013-10-31 03:40:52,064 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:42:50,851 checkShare INFO BLKHASH: a410d33380efba2a037e7e7f0c7cebcc3ac9e845d00b2e8bd1d6 2013-10-31 03:42:50,852 checkShare INFO TARGET: 16f9f000000000000000000000000000000000000000000000000 2013-10-31 03:42:50,853 checkShare INFO Submitting upstream 2013-10-31 03:42:50,853 checkShare INFO Real block payload: 02000000898cd701f20305fa3ae2c8a7255b0944f8600a5cb98f4f07ac31000000000000bf7e467 c046ee191017e71cfc1dad3a5521678b8eba78f79de57bf2a7cf7a54f98b571529f6f011bb19127 c00101000000010000000000000000000000000000000000000000000000000000000000000000f fffffff10024155045271b59201000000e0010000ffffffff0100e1f505000000001976a9145590 411c5385c0afc54dc09235ee52db575719f788ac00000000 2013-10-31 03:42:50,855 merkleMaker INFO New block: 000000000000a410d33380efba2a037e7e7f0c7cebcc3ac9e845d00b2e8bd1d6 (height: 21826; bits: 1b016f9f) 2013-10-31 03:42:50,856 Waker for BitcoinNode DEBUG Read wakeup 2013-10-31 03:42:50,857 JSONRPCServer INFO Nobody to longpoll 2013-10-31 03:42:50,861 BitcoinNode INFO Sent `block' to 1 nodes 2013-10-31 03:42:50,879 blockSubmission DEBUG Upstream 'primary' accepted block 2013-10-31 03:42:50,889 newBlockNotification INFO Received new block notification 2013-10-31 03:42:51,282 JSONRPCServer INFO Nobody to longpoll As you can see, it doesn't happen on every block notify. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on October 31, 2013, 09:55:26 PM I think have set the proper variables to use varrdiff however the pool still asks for diff 1 shares. I have a 30Gh/s BFL with it's own username and the pool runs nearly at 50Gh/s the rest of the hashes are on 5 Erupter sets ~8 Erupters per block each hub with it's own username. I think I should be producing enough shares to change the diff for most usernames. but it is steady at diff 1. any ideas?
??? ??? Code: ### Settings relating to server scaling/load Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Marty19 on November 01, 2013, 12:38:46 PM What am I doing wrong (or is it environmental!) ?
Code: 2013-11-01 05:26:43,567 SocketListener ERROR ('', 1000) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on November 01, 2013, 01:26:05 PM What am I doing wrong (or is it environmental!) ? OS issue, missing IPv6 support.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on November 05, 2013, 06:14:19 PM I think have set the proper variables to use varrdiff however the pool still asks for diff 1 shares. I have a 30Gh/s BFL with it's own username and the pool runs nearly at 50Gh/s the rest of the hashes are on 5 Erupter sets ~8 Erupters per block each hub with it's own username. I think I should be producing enough shares to change the diff for most usernames. but it is steady at diff 1. any ideas? ??? ??? Code: ### Settings relating to server scaling/load any help? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: volosator on November 08, 2013, 11:14:00 PM Same problem here.
My miner connects to the pool, pool sets diff to 64. After a minute or so diff drops down to 1. Please advice! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on November 09, 2013, 09:26:54 PM Same problem here. My miner connects to the pool, pool sets diff to 64. After a minute or so diff drops down to 1. Please advice! I don't even get the initial jump... shares are always diff 1 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: jspielberg on November 12, 2013, 04:19:07 AM I keep getting the following error repeatedly. Ideas? Quote 2013-10-25 12:38:04,438 StratumHandler DEBUG Traceback (most recent call last): File "../eloipool/eloipool.py", line 668, in receiveShare checkShare(share) File "../eloipool/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 "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) File "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 199, in _stratum_mining_submit self.server.receiveShare(share) File "../eloipool/eloipool.py", line 677, in receiveShare logShare(share) File "../eloipool/eloipool.py", line 651, in logShare share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8') KeyError: 'data' I have seen the same error in my debug log. Not sure if I should be concerned or not, though 'checkshare' is how I was planning on tracking the status of my micro-pool. It looks like checkshare logs when a submitted hash looks like a winner. In a semi-related note. Anyone know if there are any issues with swallowing the authproxy generated CannotSendRequest exception? Code: [bitcoinrpc]$ git diff It looks like the exception message to the cannot send request exception is "request-sent" which seems like the exception isn't valid. It also looks like there is some defensive code after this block to check the response state. Anyway... I am going to see if anything blows up I guess with this change. My python skills are currently pretty poor, but if someone knows better... would be glad to hear it. (I guess this is a question really for Garzik). Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Marty19 on November 15, 2013, 01:18:00 PM Any idea's what I'm missing now :
Code: Traceback (most recent call last): Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on November 16, 2013, 02:38:33 AM I don't know if it was the git reset or that I commented out the ShareTarget, and GotWorkTarget. but it seems to be working
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: SpAcEDeViL on November 20, 2013, 09:34:33 PM Dont work on CentOS:
Code: # python3 eloipool.py BUT WHAT IS WRONG HERE?! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: jspielberg on November 23, 2013, 06:04:44 PM 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 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): I am wondering if I should be concerned that eloipool won't be handling winning shares correctly. Anyone work around this? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: FoldingTime on November 24, 2013, 01:22:07 PM I don't know if it was the git reset or that I commented out the ShareTarget, and GotWorkTarget. but it seems to be working I was getting the same error and commented out ShareTarget and GotWorkTarget and now working correctly.Thanks for posting your work around. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on December 01, 2013, 06:40:37 AM How would I go about setting up multiple instances of eloipool on one server for multiple crypto coins? I'm guessing there is a problem with sending signals to the eloipool process if there are many running... for example.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on December 01, 2013, 05:58:14 PM I keep getting the following error repeatedly. Ideas? Quote 2013-10-25 12:38:04,438 StratumHandler DEBUG Traceback (most recent call last): File "../eloipool/eloipool.py", line 668, in receiveShare checkShare(share) File "../eloipool/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 "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) File "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 199, in _stratum_mining_submit self.server.receiveShare(share) File "../eloipool/eloipool.py", line 677, in receiveShare logShare(share) File "../eloipool/eloipool.py", line 651, in logShare share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8') KeyError: 'data' Is this a setup issue? Or is this a code issue? Has anyone else seen his? Everything else seems to work properly, but then I get this error all the time. I'm not sure if I'm getting blocks or not. I'm using this pool software for Alt-SHA256 coins... I just started this up again yesterday and I haven't seen any payouts yet. This makes me worried. EDIT: looks like someone else has seen this... I keep getting the following exception though. Code: 2013-11-23 03:58:18,716 StratumHandler DEBUG Traceback (most recent call last): I am wondering if I should be concerned that eloipool won't be handling winning shares correctly. Anyone work around this? Is this a known issue? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on December 02, 2013, 06:38:17 AM Also, how hard would it be to add share log file rotation? Mine grows out of control.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on December 02, 2013, 11:29:33 AM Also, how hard would it be to add share log file rotation? Mine grows out of control. Already supported.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on December 03, 2013, 02:46:40 PM Also, how hard would it be to add share log file rotation? Mine grows out of control. Already supported.I tried to use the same mechanism as I use for the regular log file and it doesn't appear to be working... I keep getting the following error repeatedly. Ideas? Quote 2013-10-25 12:38:04,438 StratumHandler DEBUG Traceback (most recent call last): File "../eloipool/eloipool.py", line 668, in receiveShare checkShare(share) File "../eloipool/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 "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) File "/media/raid5/working/mining/eloipool-server/eloipool/stratumserver.py", line 199, in _stratum_mining_submit self.server.receiveShare(share) File "../eloipool/eloipool.py", line 677, in receiveShare logShare(share) File "../eloipool/eloipool.py", line 651, in logShare share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8') KeyError: 'data' Is this a setup issue? Or is this a code issue? Has anyone else seen his? Everything else seems to work properly, but then I get this error all the time. I'm not sure if I'm getting blocks or not. I'm using this pool software for Alt-SHA256 coins... I just started this up again yesterday and I haven't seen any payouts yet. This makes me worried. EDIT: looks like someone else has seen this... I keep getting the following exception though. Code: 2013-11-23 03:58:18,716 StratumHandler DEBUG Traceback (most recent call last): I am wondering if I should be concerned that eloipool won't be handling winning shares correctly. Anyone work around this? Is this a known issue? I had this four times overnight. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on December 03, 2013, 02:48:22 PM How would I go about setting up multiple instances of eloipool on one server for multiple crypto coins? I'm guessing there is a problem with sending signals to the eloipool process if there are many running... for example. I figured this out on my own. I don't know if this is the right way, but I copied and renamed my eloipool-server folder and changed the name of the eloipool.py file and made sure my newblock script was sending the message to the right process name and it workes fine! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: aTg on December 10, 2013, 08:01:09 PM Hi Luke, I installed eloi and it works perfectly, my question is, how can I make the rewards go only to the user who submitted the winning hash, I understand it has to be configured in diff1 to two different people not working in the same hash but how?
Thanks in advance. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: danny1987 on December 10, 2013, 08:48:34 PM Hello,
I've installed eloipool and everything is working fine except for one thing, my miner stays at difficulty 0. Is there some setting I did wrong or is there some extra configuration needed for vardiff to work ? Thanks for the reply! Regards, Danny Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: FoldingTime on December 12, 2013, 02:02:19 PM Restart pool server (including upgrades) without miners losing work.
Can someone let me know how to restart the pool server without miners losing work? Many thanks. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: FoldingTime on December 12, 2013, 02:04:07 PM Hello, There is a workaround at https://bitcointalk.org/index.php?topic=61731.msg3598140#msg3598140 (https://bitcointalk.org/index.php?topic=61731.msg3598140#msg3598140)I've installed eloipool and everything is working fine except for one thing, my miner stays at difficulty 0. Is there some setting I did wrong or is there some extra configuration needed for vardiff to work ? Thanks for the reply! Regards, Danny Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: FoldingTime on December 13, 2013, 04:41:10 PM I occasionally get this error. any ideas what it could be?
Code: File "./eloipool.py", line 668, in receiveShare From what I can make out the checkShare fails to handle the share being passed but not sure other than that. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on December 16, 2013, 05:26:57 AM I occasionally get this error. any ideas what it could be? Code: File "./eloipool.py", line 668, in receiveShare From what I can make out the checkShare fails to handle the share being passed but not sure other than that. This is a very mysterious problem, apparently. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: littlemc on December 26, 2013, 05:56:32 AM so... no scrypt support?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: koosBR on January 04, 2014, 12:01:21 AM need support to create a pool for a new currency. Who can help me send PM and reward in the currency in question
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: wuzamarine on January 19, 2014, 12:58:08 AM I am trying to get eloipool up and running in a solo mining configuration using this installation https://bitcointalk.org/index.php?topic=158105.0 eolipool starts up error free but clients cannot connect. The port is up and no visual errors in any log. tcpdump does show the packets hitting the port.
I followed the directions and I get no errors. Port 8338 comes live and can be seen via netstat. tcp6 15 0 :::8338 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 70 0 192.168.1.8:8338 192.168.1.8:33885 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33896 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33890 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33897 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33899 CLOSE_WAIT tcp6 70 0 192.168.1.8:8338 192.168.1.8:33892 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33895 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33891 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33900 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33889 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33894 CLOSE_WAIT tcp6 71 0 192.168.1.8:8338 192.168.1.8:33898 CLOSE_WAIT tcp6 70 0 192.168.1.8:8338 192.168.1.8:33887 CLOSE_WAIT tcp6 70 0 192.168.1.8:8338 192.168.1.8:33884 CLOSE_WAIT tcp6 70 0 127.0.0.1:8338 127.0.0.1:49649 CLOSE_WAIT gentoo001 home # ./minerd -o stratum+tcp://192.168.1.8:8338 -u admin -p butthole -q [2014-01-18 22:51:19] 1 miner threads started, using 'scrypt' algorithm. [2014-01-18 22:51:19] Starting Stratum on stratum+tcp://192.168.1.8:8338 [2014-01-18 22:51:49] stratum_subscribe timed out [2014-01-18 22:51:49] ...retry after 30 seconds [2014-01-18 22:52:49] stratum_subscribe timed out [2014-01-18 22:52:49] ...retry after 30 seconds gentoo001 eloipool # cat config.py # Please note that config files are Python source code! # A common mistake is to put an option list (such as TemplateChecks, # JSONRPCAddresses, etc) excluding the final comma. # For example (this is WRONG): # JSONRPCAddresses = ( # ('', 8337) # <-- there must be a comma after EVERY item, even last # ) # Without the final comma, should the option list ever have only one item in # it, Python would interpret the "main" parenthesis as a mere sub-expression # instead of a list of values. If that occurs, you might get crazy errors, or # things might just not work correctly. Be careful to not miss the commas. ### Settings relating to server identity # Name of the server ServerName = 'Whirpools' ### Settings relating to server scaling/load # Share hashes must be below this to be valid shares # If dynamic targetting is enabled, this is a minimum ShareTarget = 0x000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffff # Automatically adjust targets per username # 0 = disabled # 1 = arbitrary targets # 2 = power of two difficulties (zero bit counts) DynamicTargetting = 2 # How many shares per minute to try to achieve on average DynamicTargetGoal = 6 # Number of seconds hashrate is measured over DynamicTargetWindow = 120 # Minimum and maximum of merkle roots to keep queued WorkQueueSizeRegular = (0x100, 0x1000) # Minimum and maximum of BLANK merkle roots to keep queued # (used if we run out of populated ones) WorkQueueSizeClear = (0x1000, 0x2000) # Minimum and maximum of BLANK merkle roots to keep queued, one height up # (used for longpolls) WorkQueueSizeLongpoll = (0x1000, 0x2000) # How long to wait between getmemorypool updates normally MinimumTxnUpdateWait = 5 # How long to wait between retries if getmemorypool fails TxnUpdateRetryWait = 1 # How long to sleep in idle loops (temporary!) IdleSleepTime = 0.1 ### Settings relating to reward generation # Address to generate rewards to TrackerAddr = '13siH3VpL4nwJCXpWnMMAaSZCAz9EVsNCv' # testnet # Coinbaser command to control reward delegation # %d is replaced with the total value of the block reward (in satoshis) # %p is replaced with the previous block hash in hexadecimal # NOTE: This example donates 1% of block rewards to Luke-Jr for Eloipool development #CoinbaserCmd = 'echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU"' ### Settings relating to upstream data providers # JSON-RPC servers to get block templates from # See https://en.bitcoin.it/wiki/BIP_0023#Logical_Services for key details TemplateSources = ( { 'name': 'primary', 'uri': 'http://admin:"bunghole"@localhost:8332', 'priority': 0, 'weight': 1, }, { 'name': 'secondary', 'uri': 'http://admin:"bunghole"@localhost:18332', 'priority': 1, 'weight': 1, }, ) # JSON-RPC servers to check block proposals with # If none provided, and selected source supports proposals, it alone will also # be used for checking # NOTE: Any servers listed here MUST support BIP 23 Block Proposals # NOTE: Mainline bitcoind (as of 0.8) does NOT support this (though the 0.8.0.eligius branch does) TemplateChecks = ( # { # 'name': 'primary', # 'uri': 'http://admin:"bunghole"@localhost:8332', # # # If 'unanimous' is true, no template will be used if this node # # rejects it # 'unanimous': False, # # # If check servers disagree on all templates, they will be scored and # # the highest score will be used; 'weight' can be used to control the # # scoring per-server # 'weight': 1.1, # }, # { # 'name': 'secondary', # 'uri': 'http://admin:"bunghole"@localhost:18332', # 'unanimous': False, # 'weight': 1, # }, ) # JSON-RPC servers to submit found blocks to (when they meet the full target) # The specific TemplateSource that the block was based on will always be sent # the block first. # If setting is not specified, or None, full TemplateSources list will be used. # If an empty list, no extra submissions will be attempted. # If an empty list, and the block was found on a "clear" merkle root (not based # on any TemplateSource), the full TemplateSources list will be used. BlockSubmissions = ( { 'name': 'primary', 'uri': 'http://admin:"bunghole"@localhost:8332', }, { 'name': 'secondary', 'uri': 'http://admin:"bunghole"@localhost:18332', } ) # Templates will not be used unless they have an acceptance ratio above this # Range: 0.00 - 1.00 MinimumTemplateAcceptanceRatio = 0 # No template with a combined total score below this will be used MinimumTemplateScore = 1 # Set to True if you want shares meeting the upstream target to wait for a # response from an upstream server before logging them. Otherwise, for such # shares, upstreamResult will always be True and upstreamRejectReason will # always be None. Note that enabling this may cause shares to be logged out of # order, or with the wrong timestamp (if your share logger uses the log-time # rather than share-time). DelayLogForUpstream = True # Bitcoin p2p server for announcing blocks found UpstreamBitcoindNode = ('127.0.0.1', 8333) # mainnet # Network ID for the primary blockchain # Other known network IDs can be found at: # https://en.bitcoin.it/wiki/Protocol_specification#Message_structure #UpstreamNetworkId = b'\x0b\x11\x09\x07' # testnet3 UpstreamNetworkId = b'\xF9\xBE\xB4\xD9' # Secret username allowed to use setworkaux #SecretUser = "" # URI to send gotwork with info for every share submission #GotWorkURI = '' # Share hashes must be below this to be submitted to gotwork GotWorkTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff # Aim to produce blocks with transaction counts that are a power of two # This helps avoid any chance of someone abusing CVE-2012-2459 with them # 1 = cut out feeless transactions; 2 = cut out even fee-included transactions (if possible) #POT = 2 # Avoid mining feeless transactions except to satisfy POT # Note this only works if POT is in fact enabled in the first place Greedy = False ### Settings relating to network services # Note that Eloipool only supports IPv6 sockets, and if you want to bind to an # IPv4 address you will need to prepend it with ::ffff: eg ::ffff:192.168.1.2 # Addresses to listen on for JSON-RPC GBT/getwork server JSONRPCAddresses = ( ('', 8337), ) # Addresses to listen on for Stratum mining server StratumAddresses = ( ('', 3334), ) # Addresses to listen on for Bitcoin node # Note this will only be used to distribute blocks the pool finds, nothing else BitcoinNodeAddresses = ( ('', 8338), ) # Addresses that are allowed to "spoof" from address with the X-Forwarded-For header TrustedForwarders = ('::ffff:127.0.0.1',) # Logging of shares: ShareLogging = ( { 'type': 'logfile', 'filename': 'share-logfile', 'format': "{time} {Q(remoteHost)} {username} {YN(not(rejectReason))} {dash(YN(upstreamResult))} {dash(rejectReason)} {solution}\n", }, { 'type': 'sql', 'engine': 'mysql', 'dbopts': { 'host': 'localhost', 'db': 'pools', 'user': 'admin', 'password': 'bunghole', }, 'statement': "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, unhex({solution}))", # }, # { # 'type': 'sql', # 'engine': 'sqlite', # 'dbopts': { # 'database': 'share.db', # }, # 'statement': "insert into shares (remoteHost, username, rejectReason, upstreamResult, solution) values ({remoteHost}, {username}, {rejectReason}, {upstreamResult}, {solution})", }, ) # Authentication # There currently are 2 modules. # - allowall will allow every username/password combination # - simplefile will use the username/passwords from a file, which contains username<tab>password\n with no \n on the last line. Authentication = ( { 'module': 'allowall', }, # { # 'module': 'simplefile', # 'filename': 'userdatabase', # }, ) ### Settings related to poolserver logging # By default, significant events will be printed to the interactive console # You can customize your logging using either simple parameters, or Python's advanced logging framework # Note that using Python's logging framework will override the default console logging! # To simply log everything to the system log (syslog) as well: # LogToSysLog = True # To make a log file: # LogFile = 'filename.log' # For a rotating log file: LogFile = { 'filename': 'eolipool.log', 'when': 'midnight', 'backupCount': 7, } # For details, see: # http://docs.python.org/3/library/logging.handlers.html#logging.handlers.TimedRotatingFileHandler Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: kinlo on January 19, 2014, 03:11:26 PM On which network are you trying to mine?
eloipool only supports sha256, basically only bitcoin is supported. Your miner is configured to use scrypt, which is used by litecoin and various other crypotcoins. eloi does NOT support scrypt... Perhaps you want to correctly configure your miner? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: wuzamarine on January 19, 2014, 09:45:47 PM On which network are you trying to mine? eloipool only supports sha256, basically only bitcoin is supported. Your miner is configured to use scrypt, which is used by litecoin and various other crypotcoins. eloi does NOT support scrypt... Perhaps you want to correctly configure your miner? Its running on bitcoind, though once I figure it out I will be hotwiring it for other coins. I am not sure about how it is configure for the network, none of the tutorials referenced that specifically. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on January 22, 2014, 11:05:47 PM I followed the directions and I get no errors. Port 8338 comes live and can be seen via netstat. gentoo001 home # ./minerd -o stratum+tcp://192.168.1.8:8338 -u admin -p butthole -q Given your configuration: # Addresses to listen on for JSON-RPC GBT/getwork server JSONRPCAddresses = ( ('', 8337), ) # Addresses to listen on for Stratum mining server StratumAddresses = ( ('', 3334), ) # Addresses to listen on for Bitcoin node # Note this will only be used to distribute blocks the pool finds, nothing else BitcoinNodeAddresses = ( ('', 8338), ) Your miners should connect to: 8337 for GBT/Getwork 3334 for stratum You miner should be something like (sorry not too familiar with minerd): ./minerd -o http://192.168.1.8:8337 -u admin -p butthole -q or ./minerd -o stratum+tcp://192.168.1.8:3334 -u admin -p butthole -q 8338 is a listening port for your bitcoind to connect to. You need to add a line to the configuration file for bitcoind. If eloipool and bitcoind are not on the same server you need to put the IP of the box running eloipool. addnode=127.0.0.1:8338 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: smoothrunnings on February 01, 2014, 09:53:06 PM Is there a complete guide some where to installing Eloipool from scratch? And is there any kind of support site like P2pool has?
Thanks, Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 05, 2014, 02:39:55 PM Is there a complete guide some where to installing Eloipool from scratch? And is there any kind of support site like P2pool has? Thanks, jgarzik did a little step-by-step guide here. I've used it, it works. https://bitcointalk.org/index.php?topic=158105.0 Or you can use zero-asic's Install script. I've used it as well it also works. https://bitcointalk.org/index.php?topic=171782.0 As for a support site, bitcointalk.org is as good as it gets. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ShurikAg on February 16, 2014, 11:04:55 AM I am getting a warning in eloipool.log file
Code: 2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last): What is it and how to get read of it? Thanks, Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 16, 2014, 03:39:09 PM I am getting a warning in eloipool.log file Code: 2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last): What is it and how to get read of it? Thanks, I usually get this when I restart my pool server, eloipool starts and bitcoind hasn't finished starting up. Is your bitcoind still downloading blocks? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ShurikAg on February 17, 2014, 06:57:24 AM I am getting a warning in eloipool.log file Code: 2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last): What is it and how to get read of it? Thanks, I usually get this when I restart my pool server, eloipool starts and bitcoind hasn't finished starting up. Is your bitcoind still downloading blocks? I tried different scenarios. Waited for bitcoin to finish syncing. Tried to restart. Start bitcoin wait for a while and start eloipool. Everything behaves the same way. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ShurikAg on February 17, 2014, 07:14:20 AM ... I usually get this when I restart my pool server, eloipool starts and bitcoind hasn't finished starting up. Is your bitcoind still downloading blocks? Hmm, all of a sudden started to work. And I think I am very sad... I just missed a block :( Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ShurikAg on February 17, 2014, 07:31:59 AM I am getting this in the logs:
Code: 2014-02-16 23:15:09,278 BitcoinLink DEBUG Received block inv over p2p for 00000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc Does it mean that there is a block available for the pool? The miner is running, why is it not picking up tje block? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on February 17, 2014, 03:24:41 PM I am getting a warning in eloipool.log file This seems to be yet another bug in the latest bitcoinrpc.Code: 2014-02-16 02:48:08,360 merkleMaker CRITICAL Traceback (most recent call last): What is it and how to get read of it? Thanks, Eligius runs 22e290b0bcabf6bc88b4d3f5a7d074677e8fe7b9 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 17, 2014, 05:37:03 PM I am getting this in the logs: Code: 2014-02-16 23:15:09,278 BitcoinLink DEBUG Received block inv over p2p for 0000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc Does it mean that there is a block available for the pool? The miner is running, why is it not picking up tje block? I'm assuming you are referring to this. This just means there has been a new block found by the network, not your pool. bitcoind is notifying eloipool of the new block. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: ShurikAg on February 18, 2014, 06:21:48 AM I am getting this in the logs: Code: 2014-02-16 23:15:09,278 BitcoinLink DEBUG Received block inv over p2p for 0000000000000002eb4caf6eabc94dbaafb569427b6b0a414aa363dd9ee07dc Does it mean that there is a block available for the pool? The miner is running, why is it not picking up tje block? I'm assuming you are referring to this. This just means there has been a new block found by the network, not your pool. bitcoind is notifying eloipool of the new block. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: valsha on February 18, 2014, 11:53:21 AM Your miner is configured to use scrypt, which is used by litecoin and various other crypotcoins. eloi does NOT support scrypt... eloipool only supports sha256, basically only bitcoin is supported. all cryptocurrency sha256 is supported ? or ONLY bitcoin ??Thank you. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on February 18, 2014, 03:31:28 PM eloipool only supports sha256, basically only bitcoin is supported. all cryptocurrency sha256 is supported ? or ONLY bitcoin ??Thank you. alt sha256s work well too. you need to change the UpstreamNetworkId in the config though to match the alt. Code: # Network ID for the primary blockchain Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: valsha on February 18, 2014, 06:41:49 PM eloipool only supports sha256, basically only bitcoin is supported. all cryptocurrency sha256 is supported ? or ONLY bitcoin ??Thank you. alt sha256s work well too. you need to change the UpstreamNetworkId in the config though to match the alt. Code: # Network ID for the primary blockchain Let say i need to run bitcoin and continuum, all sha256 based. I need to run 2 separate copies Eloipool? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: agibby5 on February 18, 2014, 09:37:39 PM eloipool only supports sha256, basically only bitcoin is supported. all cryptocurrency sha256 is supported ? or ONLY bitcoin ??Thank you. alt sha256s work well too. you need to change the UpstreamNetworkId in the config though to match the alt. Code: # Network ID for the primary blockchain Let say i need to run bitcoin and continuum, all sha256 based. I need to run 2 separate copies Eloipool? https://bitcointalk.org/index.php?topic=61731.msg3807307#msg3807307 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: mydjuu on February 19, 2014, 09:53:06 PM I installed Eloipool and all its required dependencies. I tried eloipool on two different machines with the same problem. I get two errors.
The first error is when bfgminer connects over straturm on port 3334: Code:
The second type of error that appears whenever I Start the server and floods my screen repetitively is Code: 2014-02-19 16:51:50,480 merkleMaker CRITICAL Traceback (most recent call last): I have been trying to fix this problem for two days before I come here and appreciate any help! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 21, 2014, 02:14:41 AM Is the TrackerAddr a valid Bitcoin address. Do 25 BTC of a solved block go on that address? Yes, put your BTC address in there. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on February 27, 2014, 03:27:14 PM Greetings! New poster, solved MOST problems. The only problems I have now are:
Code: 2014-02-26 20:43:30,962 StratumHandler DEBUG Traceback (most recent call last): and Code: 2014-02-26 20:43:30,962 StratumHandler DEBUG Traceback (most recent call last ): I've solved some of the issues I had already with this thread (thank you very much guys). Once I get this sucker running without errors I plan on helping out (if thats alright with you luke-jr) by documenting the whole process thoroughly. Also eventually working on a basic frontend. ~WHH Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 27, 2014, 04:16:54 PM Code: 2014-02-26 20:43:30,962 StratumHandler DEBUG Traceback (most recent call last ): Luke-Jr (https://bitcointalk.org/index.php?topic=61731.msg5199903#msg5199903) seems to think this is a problem with the bitcoind rpc. I see this error when bitcoin isn't up to date or still starting. the first error I've not seen before. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on February 27, 2014, 04:26:44 PM Code: 2014-02-26 20:43:30,962 StratumHandler DEBUG Traceback (most recent call last ): Luke-Jr (https://bitcointalk.org/index.php?topic=61731.msg5199903#msg5199903) seems to think this is a problem with the bitcoind rpc. I see this error when bitcoin isn't up to date or still starting. the first error I've not seen before. So is there a specific build of the bitcoind rpc that works works? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 27, 2014, 04:31:12 PM Code: 2014-02-26 20:43:30,962 StratumHandler DEBUG Traceback (most recent call last ): Luke-Jr (https://bitcointalk.org/index.php?topic=61731.msg5199903#msg5199903) seems to think this is a problem with the bitcoind rpc. I see this error when bitcoin isn't up to date or still starting. the first error I've not seen before. So is there a specific build of the bitcoind rpc that works works? I use this PPA (https://launchpad.net/~bitcoin/+archive/bitcoin), for my ubuntu box. It doesn't produce any errors for me. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on February 27, 2014, 04:50:15 PM Code: 2014-02-26 20:43:30,962 StratumHandler DEBUG Traceback (most recent call last ): Luke-Jr (https://bitcointalk.org/index.php?topic=61731.msg5199903#msg5199903) seems to think this is a problem with the bitcoind rpc. I see this error when bitcoin isn't up to date or still starting. the first error I've not seen before. So is there a specific build of the bitcoind rpc that works works? I use this PPA (https://launchpad.net/~bitcoin/+archive/bitcoin), for my ubuntu box. It doesn't produce any errors for me. Interesting, I just checked my repo and I'm using the same one you are (Also ubuntu user) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 27, 2014, 04:56:30 PM Weird.. Other than a couple extra signals, for restarting and stopping, my eloipool is unmolested.
Code: 2014-02-27 10:44:50,958 BitcoinLink DEBUG Received block inv over p2p for 0000000000000000fff2604f9110d1af25e302ae2c3bdd8fe4be10dc37c788ac and my debug logs only show errors when I have restarted the server. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on February 27, 2014, 05:01:20 PM Weird.. Other than a couple extra signals, for restarting and stopping, my eloipool is unmolested. Code: 2014-02-27 10:44:50,958 BitcoinLink DEBUG Received block inv over p2p for 0000000000000000fff2604f9110d1af25e302ae2c3bdd8fe4be10dc37c788ac and my debug logs only show errors when I have restarted the server. So do you just get the new block notifications and the standard longpools in your logfile? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 27, 2014, 11:05:35 PM Yup. Nothing out of the ordinary. Unless as I've said before I have just restarted my server.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on February 27, 2014, 11:37:23 PM Well, I did a reinstall and currently the only error I'm getting has to do with PyMySql (for share logging).
Code: 2014-02-27 15:20:29,964 sharelogging.sql CRITICAL Error inserting data: ('insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values (%s, %s, %s, %s, %s, unhex(%s))', ('::ffff:2.50.70.154', '1Nnb5S3z8kPMiiej9fUnvRqHorwb5C5mzq', 'Y', None, None, '000000020fb44678de6c8516585ffd8178369745cca945fea47b2c870000000000000000f418f5e1a6e38a2291e92c237ce1b97a44fd7f0864b795c58a34e976bd5edadd530fc83319015f5339bd0823'))Traceback (most recent call last): This is interesting because I havent changed any of it. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on February 28, 2014, 01:26:07 AM 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.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 02, 2014, 02:15:17 AM 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 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 02, 2014, 03:28:58 AM I got an error: My guess would be a non-BASH default shell...Code: makeCoinbaseTxn ERROR Coinbaser failed! line 105 in eloipool.py raise an error Code: nout = int(p.stdout.readline()) Code: echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU" Code: bash: %d / 100: syntax error: operand expected (error token is "%d / 100") Code: p.stdout.readline() Code: b'-e 1\n' 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. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 02, 2014, 05:25:29 AM With all of your help I was able to put this guide together
https://bitcointalk.org/index.php?topic=495542.0 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 02, 2014, 02:40:16 PM I solved the PyMySQL issue. I updated my thread and put it in there.
https://bitcointalk.org/index.php?topic=495542.0 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on March 02, 2014, 10:59:57 PM Awesome good work WHH!
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 03, 2014, 12:22:34 PM 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): Or this: Code: 2014-03-02 06:07:20,231 StratumHandler DEBUG Traceback (most recent call last): 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)? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: greatbotboy on March 03, 2014, 08:22:02 PM 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. 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 (https://mining.noctumdesign.com) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 04, 2014, 07:06:55 AM 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. 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 (https://mining.noctumdesign.com) 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): Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: balemon on March 07, 2014, 09:21:01 PM 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) Found the answer (I thought) over here on this awesome post... https://bitcointalk.org/index.php?topic=495542.0 (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 ??? Quote "a menace to all society if I attempt to code") The closest line to the answer above isCode: 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. :o I have spent hours on this, and have exhausted my frustration.. :'( Could anyone assist with this. ;D Cheers Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: whitehathacker on March 08, 2014, 04:50:56 AM 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) Found the answer (I thought) over here on this awesome post... https://bitcointalk.org/index.php?topic=495542.0 (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 ??? Quote "a menace to all society if I attempt to code") The closest line to the answer above isCode: 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. :o I have spent hours on this, and have exhausted my frustration.. :'( Could anyone assist with this. ;D 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 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: balemon on March 08, 2014, 06:15:38 AM 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 ;D Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: balemon on March 11, 2014, 06:05:48 AM OK, Got it running.
Appears I had to but some details in teh config that I missed.. ::) 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) Thanks.. Cheers Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: balemon on March 12, 2014, 06:51:56 PM Anyone able to confirm submissions to the testnet should or shouldn't be rejected.
Cheers Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Aldur1 on March 13, 2014, 07:54:54 AM 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 Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Inaba on March 13, 2014, 02:35:28 PM 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. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Aldur1 on March 13, 2014, 10:01:57 PM Fantastic, Thank you.
I had a feeling it was something like that but just wasn't.. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: cryptophoenix on March 14, 2014, 09:46:53 PM 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 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): 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? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: jeppe on March 20, 2014, 08:41:42 PM Is it possible to get this working for a ppc pool??
Thanks, JT Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: SolarWindMiningCompany on March 21, 2014, 06:49:54 PM 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. :)) 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.) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on March 21, 2014, 07:09:29 PM That sounds even more centralised than mining already is.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Inaba on March 22, 2014, 01:58:50 AM What's this got to do with Eloipool?
Mining is already centralized, there's only about 12 miners on the network at the moment. Cloud hashing farms will help to decentralize the currently ultra-centralized mining. If you are mining into a pool, you aren't mining. You are contributing work to the pool, who is mining; The pool is the only miner of the thousands of people using the pool. If you aren't creating blocks, you aren't mining, either. So "contributing" your CPU hashing power to "help support the network" isn't doing anything for the network, you're just consuming power. All of this should be split into a different thread, though. Maybe a mod can split it off, I'll be happy to continue the discussion in a thread that's not the Eloipool thread. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: vmfx on March 27, 2014, 02:31:22 PM Got eloipool up and running perfectly, wicked cool. mad respect to Luke
just checking now to see if there are any web based front ends for it ? i can only find a old thread about wizstats... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Polyatomic on April 27, 2014, 10:23:22 AM Running on Ubuntu Saucy , cloned from gittorious.
Code: 2014-04-27 19:03:26,247 JSONRPCServer INFO Nobody to longpoll AsicA , same host as Eloipool, is getting alot of these.. #using bfgminer fixed this for now until I find out why this happens with cgminer. Code: Accepted untracked stratum share from pool 0 AsicB is on another host pointed at Eloipool and is running good. Code: Accepted 12482944 Diff 3.58K/256 Exellent software man. I've set this up somewhere out of sight out of mind, maybe i'll get lucky. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tom19990101 on May 12, 2014, 02:04:58 AM Hi Luke, everyone,
Eloipool have what kind of attack, how to prevent? The following information properly? 2014-05-10 19:48:50,568 StratumServer ERROR Traceback (most recent call last): File "/home/tools/eloipool/networkserver.py", line 449, in serve_forever o.handle_read() File "/home/tools/eloipool/networkserver.py", line 62, in handle_read self.handle_readbuf() File "/home/tools/eloipool/networkserver.py", line 114, in handle_readbuf self.found_terminator() File "/home/tools/eloipool/stratumserver.py", line 60, in found_terminator inbuf = b"".join(self.incoming).decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0x87 in position 8: ordinal not in range(128) 2014-05-10 19:48:50,569 StratumHandler DEBUG Traceback (most recent call last): File "/home/tools/eloipool/networkserver.py", line 449, in serve_forever o.handle_read() File "/home/tools/eloipool/networkserver.py", line 62, in handle_read self.handle_readbuf() File "/home/tools/eloipool/networkserver.py", line 114, in handle_readbuf self.found_terminator() File "/home/tools/eloipool/stratumserver.py", line 60, in found_terminator inbuf = b"".join(self.incoming).decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0x87 in position 8: ordinal not in range(128) thks. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on May 12, 2014, 05:55:26 AM Hi Luke, everyone, Shouldn't affect anything.Eloipool have what kind of attack, how to prevent? The following information properly? 2014-05-10 19:48:50,568 StratumServer ERROR Traceback (most recent call last): File "/home/tools/eloipool/networkserver.py", line 449, in serve_forever o.handle_read() File "/home/tools/eloipool/networkserver.py", line 62, in handle_read self.handle_readbuf() File "/home/tools/eloipool/networkserver.py", line 114, in handle_readbuf self.found_terminator() File "/home/tools/eloipool/stratumserver.py", line 60, in found_terminator inbuf = b"".join(self.incoming).decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0x87 in position 8: ordinal not in range(128) 2014-05-10 19:48:50,569 StratumHandler DEBUG Traceback (most recent call last): File "/home/tools/eloipool/networkserver.py", line 449, in serve_forever o.handle_read() File "/home/tools/eloipool/networkserver.py", line 62, in handle_read self.handle_readbuf() File "/home/tools/eloipool/networkserver.py", line 114, in handle_readbuf self.found_terminator() File "/home/tools/eloipool/stratumserver.py", line 60, in found_terminator inbuf = b"".join(self.incoming).decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0x87 in position 8: ordinal not in range(128) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: 7queue on May 15, 2014, 02:25:18 AM Noticed this for Python 3.4,
class http.client.HTTPConnection(host, port=None, [timeout, ]source_address=None) Changed in version 3.4: The strict parameter was removed. https://docs.python.org/3.4/library/http.client.html (https://docs.python.org/3.4/library/http.client.html) python-bitcoinrpc/bitcoinrpc/authproxy.py needs adjusting. 8 ) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tom19990101 on May 27, 2014, 04:30:25 AM Hi Luke,
Under the different hashrate, how to optimize config.Py. For example: 40T, 200T, 500T, 1000T, how should adjust. thks. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: DISSIDIA on June 09, 2014, 02:12:02 AM Hi,Luke. are there any api docs about Eloipool? ;D
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on June 09, 2014, 02:30:24 AM Hi,Luke. are there any api docs about Eloipool? ;D There's no API, so no.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bgibso01 on June 11, 2014, 01:22:21 AM Hi,Luke. are there any api docs about Eloipool? ;D There's no API, so no.Luke-Jr, By chance would you know off the top of your head what could be causing my target issue posted a couple above? Update: Nevermind, found out the var diff part was not in the master that I pulled. Works like a charm now. Big thanks to Polyatomic for pointing me in the right direction! Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: guruvan on July 14, 2014, 03:33:20 PM Luke-Jr, we've been running eloiopol to connect a pool to eligius, quite successfully (Thanks!) and have a few questions:
1) To connect to an upstream pool (ie eligius) the loop branch is required - If I understand everything, I need coinbase/append and submit/coinbase to do this, and those don't appear to be in the main branch, correct? 2) I also need the latest version of your bitcoind, eligius branch? (it's what I am running now) 3) when using this branch, so I need or want "BlockSubsissions" section, or just "UpstreamURI" - and if I need/want it, mining on upstream pool like eliguis, whose servers should be here? - FWIW, we're using your suggested commit for bitcoinrpc, and mostly everything else you suggest, except gentoo (I feel like I might have shot myself in the foot here!) eloipool is running in a fairly stock ubuntu14.04, with python3.2 and setup in virtualenv. The issues I've seen so far seem common, and mostly above you suggest ignoring most, but - when stratum workers become disconnected, they don't want to reconnect without the human restarting miner software - they seem to disconnect when we see a socket timeout connecting to (either eligius or our own bitcoind, this is not clear) Finally, is there any guidance on the amount of RAM required to run eloipool as a downstream pool? Is this more based on the number of workers connected, the amount of hashrate, or?? I definitely ran a 4GB box out of RAM with just 2THs on it. Bitcoind is running on it's own machine, and we're just logging shares to text for now. Well. Maybe one more. I'm sure you've seen nomp's mining keys? What do you think of this idea and code? And, if you think that's a good idea, would that be something you'd have an interest in supporting in eloipool? (maybe a module that figures a pubkey from a miningkey and drops it into config.py?) I know you're not the biggest altcoin fan, but I can't see any reason you shouldn't earn something from pools using your software to mine them. (forrestv has something similar for --give-author in p2pool I've not seen how this works though) Thanks for your time! (we know where to put some BTC ) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on July 14, 2014, 09:36:23 PM Luke-Jr, we've been running eloiopol to connect a pool to eligius, quite successfully (Thanks!) and have a few questions: The loop branch was never finished and does not work completely.1) To connect to an upstream pool (ie eligius) the loop branch is required Use it at your own risk... - when stratum workers become disconnected, they don't want to reconnect without the human restarting miner software Be sure miners are using the latest version of BFGMiner.Unmaintained versions and forks thereof, my have bugs - those are however unrelated to Eloipool. Well. Maybe one more. I'm sure you've seen nomp's mining keys? What do you think of this idea and code? And, if you think that's a good idea, would that be something you'd have an interest in supporting in eloipool? (maybe a module that figures a pubkey from a miningkey and drops it into config.py?) Nope, no idea what you're talking about.I know you're not the biggest altcoin fan, but I can't see any reason you shouldn't earn something from pools using your software to mine them. (forrestv has something similar for --give-author in p2pool I've not seen how this works though) The sample config file has a Coinbaser example that donates.Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: guruvan on July 15, 2014, 01:55:43 PM Thanks for the info Luke. :)
NOMP mining key creates a pubkey/privkey pair that can be used for any coin - the coin's pubkey can be derived from the mining-key pubkey, and likewise for the privkey. Allows zone117x to collect from coinbase on pretty much every coin folks mine with his solution. And also, this is part of the magic in nomp that allows for multipools - coinswitching ports require mining-keys for usernames, and payment processor pays the coin to the derived coin pubkey I don't have one running ATM, but raskul has his here: http://eu.centralcavern.uk:8080 the mining key creation web script is here http://eu.centralcavern.uk:8080/key.html - his setup looks pretty stock. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on July 15, 2014, 03:29:19 PM Sounds pointless, since addresses should only ever be used once.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: heromember on July 25, 2014, 10:40:30 AM bump
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: peter_liang on August 26, 2014, 02:30:29 AM found error in script authproxy.py Code: (Python) authpair = "%s:%s" % (self.__url.username, self.__url.password) and I load directly authproxy: Code: (Python3.3) '''import jsonrpc and copy client.py from /usr/lib/python3.3/http into my folder with eloipool BUT! when call getblocktemplate from merklemaker.py Code: for TC in TCList: rise error in responce: Quote 2013-08-28 15:11:39,777 makeCoinbaseTxn_responce ERROR {'error': {'message': 'Invalid mode', 'code': -8}, 'result': None, 'id': 1} 2013-08-28 15:11:39,780 merkleMaker CRITICAL Traceback (most recent call last): File "/home/icreator/pools/eloipool-3/merklemaker.py", line 732, in run self.merkleMaker_I() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 722, in merkleMaker_I self.merkleMaker_II() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 700, in merkleMaker_II return self._updateMerkleTree() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 588, in _updateMerkleTree self._updateMerkleTree_I() File "/home/icreator/pools/eloipool-3/merklemaker.py", line 552, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/icreator/pools/eloipool-3/merklemaker.py", line 523, in _updateMerkleTree_fromTS (AcceptedScore, TotalScore) = self._CheckTemplate(newMerkleTree, TS) File "/home/icreator/pools/eloipool-3/merklemaker.py", line 456, in _CheckTemplate propose = caccess.getblocktemplate(ProposeReq) File "/home/icreator/pools/eloipool-3/authproxy.py", line 135, in __call__ raise JSONRPCException(response['error']) authproxy.JSONRPCException "mode" set here: Code: ProposeReq = { BUT if I do: Code: ProposeReq = { new error: Code: 2013-08-28 15:35:29,709 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': 0000000000000007d8be81c938a2519ba3b2eb8fe1720ad82210d4f82716a6f7 and how use jsonrpc_getblocktemplate.py ?? here may be right code? I stuck in the same problem for days. I'm using ubuntu 14.04, I tried both bitcoind v0.9.2.1 and v0.9.3rc1 and nothing is different. Can anybody tell me what should I do. Thank you. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 21, 2014, 07:15:26 PM :o :o :o
I am hopefully on my last error but, since I have not seen any of the errors above this line, I am skeptical this will be the end-all. Hello, I am seeing a bug, tried changing my hostname already, that was not the cause. 2014-09-21 19:13:26,818 SocketListener ERROR ('127.0.0.1', 8338) Traceback (most recent call last): File "/home/pi/eloipool/util.py", line 144, in tryErr return func(*a, **kw) File "/home/pi/eloipool/networkserver.py", line 262, in setup_socket sock = self._makebind(server_address) File "/home/pi/eloipool/networkserver.py", line 253, in _makebind return self._makebind_py(*a, **ka) File "/home/pi/eloipool/networkserver.py", line 229, in _makebind_py sock = socket.socket(self.address_family, socket.SOCK_STREAM) File "/usr/lib/python3.2/socket.py", line 94, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) socket.error: [Errno 97] Address family not supported by protocol ??? ??? ??? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 21, 2014, 07:32:39 PM I changed everything in networkserver.py from AF_INET6 to AF_INET.
That error seems to be gone, but my miners cannot connect?! (yes I also changed the config file removing the ::ffff:) If there another log I should look at? The process is indeed running, the miners are saying connection refused. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 21, 2014, 08:28:22 PM Owh, I also had to fix /home/pi/eloipool/bitcoin/node.py for the NET6 issue.
Okay, almost there. I have another error, I think it has to do with configuration (trying to get this to work for LiteCoin). 2014-09-21 20:23:58,032 merkleMaker CRITICAL Traceback (most recent call last): File "/home/pi/eloipool/merklemaker.py", line 694, in run self.merkleMaker_I() File "/home/pi/eloipool/merklemaker.py", line 684, in merkleMaker_I self.merkleMaker_II() File "/home/pi/eloipool/merklemaker.py", line 650, in merkleMaker_II return self._updateMerkleTree() File "/home/pi/eloipool/merklemaker.py", line 550, in _updateMerkleTree self._updateMerkleTree_I() File "/home/pi/eloipool/merklemaker.py", line 513, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/pi/eloipool/merklemaker.py", line 479, in _updateMerkleTree_fromTS newMerkleTree = self._ProcessGBT(MP, TS) File "/home/pi/eloipool/merklemaker.py", line 379, in _ProcessGBT cbtxn = self.makeCoinbaseTxn(MP['coinbasevalue'], prevBlockHex = MP['previousblockhash']) File "eloipool.py", line 131, in makeCoinbaseTxn pkScript = BitcoinScript.toAddress(config.TrackerAddr) File "/home/pi/eloipool/bitcoin/script.py", line 45, in toAddress raise ValueError('invalid address version') ValueError: invalid address version Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 21, 2014, 10:54:37 PM Owh, okay I found another version of the pool with slight modifications containing the scripts I need for scrypt.
(pun intended) ;D Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on September 22, 2014, 05:17:56 AM :o :o :o Eloipool only supports IPv6.I am hopefully on my last error but, since I have not seen any of the errors above this line, I am skeptical this will be the end-all. Hello, I am seeing a bug, tried changing my hostname already, that was not the cause. 2014-09-21 19:13:26,818 SocketListener ERROR ('127.0.0.1', 8338) Traceback (most recent call last): File "/home/pi/eloipool/util.py", line 144, in tryErr return func(*a, **kw) File "/home/pi/eloipool/networkserver.py", line 262, in setup_socket sock = self._makebind(server_address) File "/home/pi/eloipool/networkserver.py", line 253, in _makebind return self._makebind_py(*a, **ka) File "/home/pi/eloipool/networkserver.py", line 229, in _makebind_py sock = socket.socket(self.address_family, socket.SOCK_STREAM) File "/usr/lib/python3.2/socket.py", line 94, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) socket.error: [Errno 97] Address family not supported by protocol ??? ??? ??? If you want to use obsolete IPv4, you will need an OS that supports IPv4 connections on IPv6 sockets (like Linux) and configure it to bind on the appropriate iPv6 address (as in the example config). Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 22, 2014, 05:37:33 PM I managed to get it to work by replacing all INET6 with INET.
I am good at this point. I have a new error, not sure if it is component configuration related or not... I found a scrypt version of eloipool and im trying to merge-mine litecoin and dogecoin. I think the configuration is... Miner -> Eloipool -> merged-mine-proxy -> litecoin wallet + dogecoin wallet. Please confirm if I have this conceptually correct. I think the setworkaux is missing in the wallet, so, I suspect I need to modify the wallet code? I am confused because I saw setworkaux in some of the pool code to as though my componets above might not be correct. Please confirm. Thank you in advance ;D :o Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 22, 2014, 08:11:21 PM I started at the beginning of the forum and found my answer he he he ;D
I'll go ahead and re-post it here: Thanks Luke! client miner <--> eloipool <--> bitcoind |-> merged mining proxy (MMP) <--> namecoind merged-mining-proxy: python merged-mining-proxy -w 8330 -p http://ssecreteloipool:222@127.0.0.1:9947/ -x http://namecoinrpc:manecoinrpcpass@localhost:9377/ eloipool config.py: # Secret username allowed to use setworkaux SecretUser = "ssecreteloipool" # Addresses to listen on for JSON-RPC GBT/getwork server JSONRPCAddresses = ( ('', 9947), ) GotWorkURI = "http://mergedproxyuser:mergedproxypass@127.0.0.1:8330/" namecoin config: rpcuser=namecoinrpc rpcpassword=manecoinrpcpass rpcport=9377 and user miner program connect to 9947 Attempting the above, stand by...... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 23, 2014, 12:05:38 AM Still working on it... (Looks now like the target was set so high I always find blocks =/ so, no worries)
More clues: Posting "method": "gotwork" i get: <html> <head><title>404 - No Such Resource</title></head> <body> <h1>No Such Resource</h1> <p>No such child resource.</p> </body> </html> trying to debug it. I'm guessing it means I did something odd. I'm using Python3.2 and a couple of these script seems to have needed a conversion from 2to3 via the 2to3 app. Perhaps I should do that to all of them... And on we trudge. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 23, 2014, 02:37:10 AM MMP uses Twisted library, which seems to be having an issue.
I still keep getting the following when eloipool sends gotwork to the MMP. <html> <head><title>404 - No Such Resource</title></head> <body> <h1>No Such Resource</h1> <p>No such child resource.</p> </body> </html> Still debugging, any suggestions? Using Python3.2 Twisted 14.0.2 NOOBS RPI Not using twistd dont think I need it. ??? And on we trudge. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 23, 2014, 06:44:33 PM Ah! I just had to restart after all the installations.
Owh, Wait, But what do we have here.... Another error ::) Communications between the MMP and Eloipool are broken, I think the script has serious issues in Python3. Its going to take week to sort this out since in know precisely nothing about Python :( Sure, just buy some hardware, plug it in, hash away, and bank some crytpo coins, humff. I guess what I really need is a working tested Python 3.2 or 3.x version of MMP so I can merge in the changes. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 24, 2014, 12:48:34 AM Its the Unicode issue, Twisted library is a pain to use in 3.x since python changed default handling.
If I leave out the MerkleTree import, then I can use Python2.7. Please advise if the MMP absolutely needs the MerkleTree import. ??? ??? ??? Wait, wait, looked at the code, it says only 1 subchain will work, interesting... So, really do have a delema here... I have to make 1/2 work in v3 which I have already managed, and 1/2 work in v2 for MMP. And on we trudge. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: bitzcointalk on September 24, 2014, 07:50:10 PM Ha! That worked... some massaging but, I got it ;D
Now to test it ;) And on we trudge. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Sergio_Demian_Lerner on September 30, 2014, 07:23:59 PM I've setup a local stratum server using eloipool. I'm trying to test the stratum server manually using either telnet or curl as in:
curl --data-binary '{"id": 1, "method": "mining.subscribe", "params": []}' -H 'content-type:text/plain;' http://myuser:mypassword@127.0.0.1:3334/ The connection is closed as soon as the first line of the http headers is sent (usually POST) (curl prints: curl: (52) Empty reply from server) Any idea of what's happening? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on September 30, 2014, 07:36:17 PM I've setup a local stratum server using eloipool. I'm trying to test the stratum server manually using either telnet or curl as in: Eloipool does not support StratumMP over HTTP (nor does any other StratumMP server AFAIK), only GBT and getwork.curl --data-binary '{"id": 1, "method": "mining.subscribe", "params": []}' -H 'content-type:text/plain;' http://myuser:mypassword@127.0.0.1:3334/ The connection is closed as soon as the first line of the http headers is sent (usually POST) (curl prints: curl: (52) Empty reply from server) Any idea of what's happening? For StratumMP, you need to connect over a raw TCP stream. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Sergio_Demian_Lerner on September 30, 2014, 08:07:54 PM Thank you very much Luke.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: knowndragon on January 16, 2015, 08:29:11 AM Luke you probably don't remember me but you help teach me to overclock on a phenom II well push it further with memory timings. I am gonna try this out. Subbing gonna read all first but hopefully it sounds what I am looking for.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Agamenon on February 12, 2015, 08:57:06 PM Luke, sorry, I got stuck here-->
Quote jsonrpc_getwork WARNING Error importing 'midstate' module; work will not provide midstates >>> Traceback (most recent call last): File "./eloipool.py", line 957, in <module> MM.start() File "/home/pool/eloipool/merklemaker.py", line 699, in start self._prepare() File "/home/pool/eloipool/merklemaker.py", line 121, in _prepare TS['access'] = URI2Access(TS['uri']) File "/home/pool/eloipool/merklemaker.py", line 111, in URI2Access access = jsonrpc.ServiceProxy(uri) AttributeError: 'module' object has no attribute 'ServiceProxy' Any help pls? ??? Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: SargeR33 on February 14, 2015, 04:56:05 AM Although I have never done any of this before and have no idea what prerequisites are needed, I will attempt to give this a try on my linux system. I'm trying to setup a private pool for my machines to run off.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: tuaris on March 09, 2015, 04:12:32 PM Is it possible to submit a block without using an JSON-RPC call to bitcoind? Is that what bitcoin/node.py is for?
Reason I ask is because I constantly experience an issue that is similar to this: https://github.com/bitcoin/bitcoin/issues/2889 Title: Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: NginUS on September 27, 2015, 07:18:45 AM 0.045 BTC Bounty- Help me get my eloipool running right so people can connect & fees are deducted
Hi, I got bitcoind & eloipool up & running on my VPS, but I have no mining gear with which to test it- bfgminer returns an error about 'no servers to connect to' when I run it from my desktop using the public IP address of the VPS. Bounty will be paid to anyone who can sort out the configuration such that bitcoin miners can connect to the pool & pool fees are deducted properly. It could be configured properly now, but I can't tell without connecting to it myself to see. Either way, I'd like you to record the screen or something to prove its working right, so I can pay you knowing I'm not getting scammed. PM me if interested. Thanks, -N Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 19, 2015, 08:45:40 PM I just got this running and mining is working (finally!) but I'm receiving an error in my log file, similar to another user. If a fix was posted I didn't see it.
Does anyone with more python experience have an idea of where to troubleshoot? Code: 2015-10-19 15:05:54,195 BitcoinRPC DEBUG -45550-> getblocktemplate [{"capabilities": ["coinbasevalue", "coinbase/append", "coinbase", "generation", "time", "transactions/remove", "prevblock"]}] Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on October 20, 2015, 12:41:13 AM Downgrade python-bitcoinrpc.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 20, 2015, 12:56:19 AM 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. :o Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 22, 2015, 11:27:39 PM 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.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 23, 2015, 04:15:25 PM 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"]}] 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! http://i57.tinypic.com/wlybmc.jpg Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 23, 2015, 04:55:45 PM 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.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 23, 2015, 10:28:47 PM 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" I believe it has to do with the difference in Test coins vs real coins. Trying to figure it out now... Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 23, 2015, 11:45:18 PM 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! :D Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 30, 2015, 02:58:14 AM 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. Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on October 30, 2015, 01:10:01 PM 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.
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: hodedowe on November 02, 2015, 03:33:28 PM 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 :) Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: panyiqiang on November 11, 2015, 03:25:15 AM If TrackerAddr is not defined, will the bitcoind provide a generation address?How to estimate the current hashrate of the pool?
Title: Re: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy Post by: Luke-Jr on January 29, 2016, 11:13:40 PM Segregated witness and SegNet are now supported in the "segwit" branch.
|