Bitcoin Forum
November 01, 2024, 12:29:36 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 »  All
  Print  
Author Topic: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy  (Read 123133 times)
AxelMi
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 19, 2013, 03:29:01 PM
 #121

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.
raubaut
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 25, 2013, 02:26:37 AM
 #122

This is all I get when I try running ./eloipool.py:

Code:
root@pool:~/eloipool# ./eloipool.py
Illegal instruction

Any ideas?  Huh

I checked the log but it's empty.
WinTame2012
Sr. Member
****
Offline Offline

Activity: 315
Merit: 250


Official sponsor of Microsoft Corp.


View Profile WWW
April 25, 2013, 02:29:38 AM
 #123

This is all I get when I try running ./eloipool.py:

Code:
root@pool:~/eloipool# ./eloipool.py
Illegal instruction

Any ideas?  Huh
try this
Code:
root@pool:~/eloipool# python ./eloipool.py

May the WinTame Power be with you!
http://wintame.com
raubaut
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 25, 2013, 02:32:42 AM
 #124

This is all I get when I try running ./eloipool.py:

Code:
root@pool:~/eloipool# ./eloipool.py
Illegal instruction

Any ideas?  Huh
try this
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.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
April 25, 2013, 02:42:08 AM
 #125

This is all I get when I try running ./eloipool.py:

Code:
root@pool:~/eloipool# ./eloipool.py
Illegal instruction

Any ideas?  Huh

I checked the log but it's empty.
Almost certainly something wrong with your OS or Python.

robotrebellion
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
April 25, 2013, 09:00:47 PM
 #126

This is all I get when I try running ./eloipool.py:

Code:
root@pool:~/eloipool# ./eloipool.py
Illegal instruction

Any ideas?  Huh

I checked the log but it's empty.
Almost certainly something wrong with your OS or Python.

Is there a particular OS/Python version you have been successful with?
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
April 25, 2013, 09:07:19 PM
 #127

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.

robotrebellion
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
April 25, 2013, 09:39:42 PM
Last edit: April 26, 2013, 01:07:56 AM by robotrebellion
 #128

Alright I got to a new point in my install.

Code:
>>> Traceback (most recent call last):
  File "./eloipool.py", line 863, in <module>
    BitcoinLink(bcnode, dest=config.UpstreamBitcoindNode)
  File "/root/eloipool/bitcoin/node.py", line 50, in __init__
    sock.connect(dest)
socket.error: [Errno 111] Connection refused

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

Activity: 294
Merit: 262


View Profile
May 01, 2013, 05:37:43 PM
 #129

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?
tomaszsz
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
May 04, 2013, 04:59:19 PM
 #130

eloipool works OK  Smiley in normal mining THANKS LUKE -JR Smiley

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
2013-05-04T16:49:00.324030,updateaux
2013-05-04T16:49:05.324250,updateaux
and it looks ok ?

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
   (when i use ztex miner)



or

Code:
2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, checking for stratum...
2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, server error: Method not found
2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, no response to getwork, using as stratum
2013-05-04 18:39:01: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:39:01, Failed to subscribe
2013-05-04 18:39:03: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:39:03, IO errors - 1, tolerance 2


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  ?
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 04, 2013, 07:42:01 PM
 #131

It's not a proxy. Miners continue to talk to Eloipool.

tomaszsz
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
May 05, 2013, 06:06:03 PM
 #132

It's not a proxy. Miners continue to talk to Eloipool.

idont understand your suggestion Tongue


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 ?
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 05, 2013, 09:34:05 PM
 #133

It's not a proxy. Miners continue to talk to Eloipool.

idont understand your suggestion Tongue


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
                            |-> mining proxy <--> namecoind

qubic
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 06, 2013, 10:09:06 AM
 #134

Code:
2013-05-06 18:03:17,740	merkleMaker	CRITICAL	Traceback (most recent call last):
  File "/usr/lib/python3.2/json/decoder.py", line 369, in raw_decode
    obj, end = self.scan_once(s, idx)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/llj/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/home/llj/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/home/llj/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/home/llj/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/home/llj/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/home/llj/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/home/llj/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/usr/local/lib/python3.2/dist-packages/bitcoinrpc/authproxy.py", line 102, in __call__
    response = self._get_response()
  File "/usr/local/lib/python3.2/dist-packages/bitcoinrpc/authproxy.py", line 128, in _get_response
    parse_float=decimal.Decimal)
  File "/usr/lib/python3.2/json/__init__.py", line 322, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.2/json/decoder.py", line 353, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.2/json/decoder.py", line 371, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
any ideas?
tomaszsz
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
May 06, 2013, 09:09:44 PM
 #135




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
                            |-> mining proxy <--> namecoind


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


? Smiley
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 06, 2013, 09:12:54 PM
 #136




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
                            |-> mining proxy <--> namecoind


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


? Smiley

No, I meant exactly what I said...

tomaszsz
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
May 07, 2013, 10:33:07 AM
 #137



The only supported scenario is:

Code:
client miner <--> eloipool <--> bitcoind
                            |-> mining proxy <--> namecoind

[/quote]

so if 
Code:
 client miner <--> eloipool <-->  mining proxy <--> (bitcond + namecoind) 
   is WRONG


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 ?

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 07, 2013, 07:16:48 PM
 #138



The only supported scenario is:

Code:
client miner <--> eloipool <--> bitcoind
                            |-> mining proxy <--> namecoind


so if 
Code:
 client miner <--> eloipool <-->  mining proxy <--> (bitcond + namecoind) 
   is WRONG


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.

tomaszsz
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
May 07, 2013, 07:55:06 PM
 #139

Mining proxy talks to Eloipool and Namecoind, nothing else.

so we have this configuration


Code:
client miner <--->  mining proxy <--> eloipool  <---->   bitcoind
                            |
                             | -------> namecoind ?
 


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
SecretUser = "ssecreteloipool"

# Addresses to listen on for JSON-RPC GBT/getwork server
JSONRPCAddresses = (
        ('', 9947),
)



namecoind config

Code:
rpcuser=namecoinrpc
rpcpassword=manecoinrpcpass
 
 
 rpcport=9377


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  ?
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 07, 2013, 08:23:17 PM
 #140

Mining proxy talks to Eloipool and Namecoind, nothing else.

so we have this configuration


Code:
client miner <--->  mining proxy <--> eloipool  <---->   bitcoind
                            |
                             | -------> namecoind ?
 


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
SecretUser = "ssecreteloipool"

# Addresses to listen on for JSON-RPC GBT/getwork server
JSONRPCAddresses = (
        ('', 9947),
)



namecoind config

Code:
rpcuser=namecoinrpc
rpcpassword=manecoinrpcpass
 
 
 rpcport=9377


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  ?

No.

Miner talks to Eloipool.
Eloipool talks to bitcoind and MMP independently.
MMP talks to namecoind.

Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 »  All
  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!