Pages:
Author

Topic: [ANN] Eloipool - FAST Python3 pool server software - GBT/stratum/dyntarget/proxy - page 7. (Read 123152 times)

sr. member
Activity: 272
Merit: 250
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!

newbie
Activity: 37
Merit: 0
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?

 Huh Huh

Code:
### 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
# diff 1: ShareTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
# diff 2: ShareTarget = 0x000000005fffffffffffffffffffffffffffffffffffffffffffffffffffffff
# diff 3: ShareTarget = 0x000000004fffffffffffffffffffffffffffffffffffffffffffffffffffffff
ShareTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff

# 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 = 8

# Number of seconds hashrate is measured over
DynamicTargetWindow = 120

any help?
legendary
Activity: 2576
Merit: 1186
What am I doing wrong (or is it environmental!) ?
OS issue, missing IPv6 support.
hero member
Activity: 725
Merit: 500
What am I doing wrong (or is it environmental!) ?

Code:
2013-11-01 05:26:43,567	SocketListener	ERROR	('', 1000)
Traceback (most recent call last):
  File "/home/marty19/Eloipool/eloipool/util.py", line 144, in tryErr
    return func(*a, **kw)
  File "/home/marty19/Eloipool/eloipool/networkserver.py", line 254, in setup_socket
    sock = self._makebind(server_address)
  File "/home/marty19/Eloipool/eloipool/networkserver.py", line 245, in _makebind
    return self._makebind_py(*a, **ka)
  File "/home/marty19/Eloipool/eloipool/networkserver.py", line 227, in _makebind_py
    sock.bind(server_address)
socket.error: getsockaddrarg: bad family
newbie
Activity: 37
Merit: 0
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?

 Huh Huh

Code:
### 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
# diff 1: ShareTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
# diff 2: ShareTarget = 0x000000005fffffffffffffffffffffffffffffffffffffffffffffffffffffff
# diff 3: ShareTarget = 0x000000004fffffffffffffffffffffffffffffffffffffffffffffffffffffff
ShareTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff

# 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 = 8

# Number of seconds hashrate is measured over
DynamicTargetWindow = 120
sr. member
Activity: 658
Merit: 250
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.
newbie
Activity: 12
Merit: 0
is is possible to sig generated blocks with additional message eg. 'block generated by ...'
whichh command should i use ?
sr. member
Activity: 267
Merit: 250
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'
sr. member
Activity: 267
Merit: 250
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!
legendary
Activity: 1596
Merit: 1100
As Luke indicated, "nobody to longpoll" is normal for pools without getwork/getblocktemplate (GBT) users.
sr. member
Activity: 267
Merit: 250

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
legendary
Activity: 2576
Merit: 1186
What does "Nobody to longpoll" mean?
Means nobody is connected to your pool.
...with GBT/getwork longpolling.
legendary
Activity: 1260
Merit: 1000
"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.
sr. member
Activity: 267
Merit: 250
What does "Nobody to longpoll" mean?
newbie
Activity: 37
Merit: 0
"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?
legendary
Activity: 1260
Merit: 1000
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.

hero member
Activity: 490
Merit: 501
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?
sr. member
Activity: 560
Merit: 250
Bounty manager (https://t.me/Gudwinn)
Anyone using Eloipool with a Raspberry Pi?
legendary
Activity: 2576
Merit: 1186
That's a recent bug in bitcoinrpc. Please report it to that project.
newbie
Activity: 37
Merit: 0
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):
  File "/home/dopelabs/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/home/dopelabs/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/home/dopelabs/eloipool/merklemaker.py", line 660, in merkleMaker_II
    return self._updateMerkleTree()
  File "/home/dopelabs/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/home/dopelabs/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/home/dopelabs/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/home/dopelabs/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/home/dopelabs/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

I seem to get that quite a bit as well.
Pages:
Jump to: