I have made the node AUR (GROESTL)
http://crypto.office-on-the.net:12351 based on the fork of p2pool from jtoomim
If there is no shares in sharechain then this
https://github.com/jtoomim/p2pool/blob/1mb_hardforked/p2pool/data.py#L202 leads to the fact that the miners do not connect to the stratum.
Worker started mining when I turned off lines 202-210
After receiving the first shares, I included lines 202-210
Then, the first share is obtained without a time stamp and when connecting other nodes an error is displayed about the impossibility of checking this share
Share check failed: 6ef7e789aaa686c19462aa74ae38da897e1da46f3b83d88bd97a8e6a38a46efd -> 0000000000000000000000000000000000000000000000000000000000000000
Traceback (most recent call last):
File "/opt/groestl/p2pool-aur/p2pool/util/deferral.py", line 284, in _worker
self.func(*self.args, **self.kwargs)
File "/opt/groestl/p2pool-aur/p2pool/node.py", line 355, in clean_tracker
self.set_best_share()
File "/opt/groestl/p2pool-aur/p2pool/node.py", line 293, in set_best_share
best, desired, decorated_heads, bad_peer_addresses = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
File "/opt/groestl/p2pool-aur/p2pool/data.py", line 533, in think
if not self.attempt_verify(share):
--- ---
File "/opt/groestl/p2pool-aur/p2pool/data.py", line 477, in attempt_verify
share.check(self)
File "/opt/groestl/p2pool-aur/p2pool/data.py", line 359, in check
share_info, gentx, other_tx_hashes2, get_share = self.generate_transaction(tracker, self.share_info['share_data'], self.header['bits'].target, self.share_info['timestamp'], self.share_info['bits'].target, self.contents['ref_merkle_link'], [(h, None) for h in other_tx_hashes], self.net, last_txout_nonce=self.contents['last_txout_nonce'])
File "/opt/groestl/p2pool-aur/p2pool/data.py", line 208, in generate_transaction
if desired_timestamp > previous_share.timestamp + 180:
exceptions.AttributeError: 'NoneType' object has no attribute 'timestamp'
Also, when opening link in
http://crypto.office-on-the.net:12351/static/classic/ on "Verified tails", for example
http://crypto.office-on-the.net:12351/static/classic/share.html#6ef7e789aaa686c19462aa74ae38da897e1da46f3b83d88bd97a8e6a38a46efd opens this:
P2Pool> Share 38a46efd
Share not found
In the screen of the node at the time of opening, I see the message:
Error in DeferredResource handler:
Traceback (most recent call last):
File "/opt/groestl/p2pool-aur/p2pool/util/deferred_resource.py", line 24, in render
defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(*args, **kw)
File "/usr/local/lib/pypy2.7/dist-packages/twisted/web/resource.py", line 250, in render
return m(request)
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1532, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1386, in _inlineCallbacks
result = g.send(result)
File "/opt/groestl/p2pool-aur/p2pool/web.py", line 198, in render_GET
res = yield self.func(*self.args)
File "/opt/groestl/p2pool-aur/p2pool/web.py", line 342, in
new_root.putChild('share', WebInterface(lambda share_hash_str: get_share(share_hash_str)))
File "/opt/groestl/p2pool-aur/p2pool/web.py", line 295, in get_share
far_parent='%064x' % share.share_info['far_share_hash'],
exceptions.TypeError: unsupported operand type for long(): 'NoneType'