Bitcoin Forum
June 21, 2024, 06:46:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: eloipool  (Read 428 times)
NginUS (OP)
Full Member
***
Offline Offline

Activity: 190
Merit: 100


View Profile
September 26, 2015, 10:52:59 PM
Last edit: September 27, 2015, 03:29:55 AM by NginUS
 #1

Hi,

I have a VPS where I've got all the prerequisites installed, & cloned the eloipool source with git.

I don't know what needs to be done to make it so that people can connect.

Luke-jr said I just need to run it from its root directory, but not only I not know how to do that (since its a .py)- there's a config file that confuses me when I look at the example.

So I'm looking for someone to lend a hand & walk me through this.

PM me if interested.

Thanks,
-N

EDIT:
When I do 'python eloipool.py' I get these errors:


<code>admin@crypt0:~/apps/eloipool$ eloipool.py
-bash: eloipool.py: command not found
admin@crypt0:~/apps/eloipool$ python eloipool.py
Traceback (most recent call last):
  File "eloipool.py", line 28, in <module>
    __import__(configmod)
ImportError: No module named config
admin@crypt0:~/apps/eloipool$ python eloipool.py
Traceback (most recent call last):
  File "eloipool.py", line 82, in <module>
    bcnode = BitcoinNode(config.UpstreamNetworkId)
  File "/home/admin/apps/eloipool/bitcoin/node.py", line 146, in __init__
    super().__init__(*a, **ka)
TypeError: super() takes at least 1 argument (0 given)
admin@crypt0:~/apps/eloipool$</code>
achow101
Staff
Legendary
*
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
September 27, 2015, 12:05:29 AM
 #2

I think you need to copy the config.py.example file to config.py. Then open that file and edit some of it to fit your needs. Everything is explained in comments inside the file. All you really need to change is the address which receives the new Bitcoin and the settings for your local bitcoin daemon for it to run.

Code:
python eloipool.py
is the command to run when you want to start it.

If that was what you are looking for, you can tip the address in my avatar.

NginUS (OP)
Full Member
***
Offline Offline

Activity: 190
Merit: 100


View Profile
September 27, 2015, 12:19:35 AM
 #3

According to the dev who wrote it, the errors I get when trying to run it indicate an old, mismatched python installation. I have 2.7 & 3.x installed & if I try to uninstall 2.7, aptitude wants to delete all sorts of stuff I need.

So my mission right now is to figure out how to make eloipool use the newer version of python in case that helps.

achow101
Staff
Legendary
*
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
September 27, 2015, 12:38:04 AM
 #4

According to the dev who wrote it, the errors I get when trying to run it indicate an old, mismatched python installation. I have 2.7 & 3.x installed & if I try to uninstall 2.7, aptitude wants to delete all sorts of stuff I need.

So my mission right now is to figure out how to make eloipool use the newer version of python in case that helps.


Are you sure you need all of those? Most of those are probably just dependencies for python 2.7 and can be removed. But if you don't want to remove them, instead of using the remove command, use the purge command. Purge will only remove that package, and not the dependencies.

NginUS (OP)
Full Member
***
Offline Offline

Activity: 190
Merit: 100


View Profile
September 27, 2015, 12:50:47 AM
 #5

The only error I get now is presumably due to bitcoind not being completely sync'd. Otherwise I think I'm in good shape. TY anyway.
NginUS (OP)
Full Member
***
Offline Offline

Activity: 190
Merit: 100


View Profile
September 27, 2015, 03:30:35 AM
 #6

Found instructions here:
https://bitcointa.lk/threads/how-to-start-your-own-mining-pool-using-bitcoind-eloipool.272362/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!