Klaian,
--net dash => is right
Just see this screenshot
https://poiuty.com/images/p2pool/p2pool_start.png
You download P2Pool from? (https://github.com/poiuty/p2pool-dash/archive/master.zip)
well, can u translate this manual to eng?I got it figured out. Local p2pool up and running.
We need change give-author address
https://github.com/dashpay/p2pool-dash/issues/13
well, can u translate this manual to eng?
I'll start looking at this tomorrow after work.Need help with generate DONATION_SCRIPT.
I can`t solve this issue. Donate from P2Pool send not developers.
41047559d13c3f81b1fadbd8dd03e4b5a1c73b05e2b980e00d467aa9440b29c7de23664dde6428d75cafed22ae4f0d302e26c5c5a5dd4d3e1b796d7281bdc9430f35ac
2015-04-19 22:28:28.040645 > exceptions.AssertionError:
2015-04-19 22:28:28.047152 > HARMLESS error while reading saved shares, continuing where left off:
2015-04-19 22:28:28.047386 > Traceback (most recent call last):
2015-04-19 22:28:28.047513 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
2015-04-19 22:28:28.047618 > current.result = callback(current.result, *args, **kw)
2015-04-19 22:28:28.047735 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1101, in gotResult
2015-04-19 22:28:28.047812 > _inlineCallbacks(r, g, deferred)
2015-04-19 22:28:28.047907 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
2015-04-19 22:28:28.047987 > result = g.send(result)
2015-04-19 22:28:28.048059 > File "/home/darkcoin/p2pool-dash/p2pool/main.py", line 112, in main
2015-04-19 22:28:28.048146 > ss = p2pool_data.ShareStore(os.path.join(datadir_path, 'shares.'), net, share_cb, known_verified.add)
2015-04-19 22:28:28.048240 > --- <exception caught here> ---
2015-04-19 22:28:28.048330 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 679, in __init__
2015-04-19 22:28:28.048423 > share = load_share(raw_share, self.net, None)
2015-04-19 22:28:28.048528 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 48, in load_share
2015-04-19 22:28:28.048626 > return Share(net, peer_addr, Share.share_type.unpack(share['contents']))
2015-04-19 22:28:28.048690 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 281, in __init__
2015-04-19 22:28:28.048762 > self.gentx_before_refhash,
2015-04-19 22:28:28.048841 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 30, in check_hash_link
2015-04-19 22:28:28.048904 > assert len(hash_link['extra_data']) == max(0, extra_length - len(const_ending))
2015-04-19 22:28:28.048967 > exceptions.AssertionError:
2015-04-20 16:57:47.609056 Peer 162.243.104.174:8999 misbehaving, will drop and ban. Reason: share PoW invalid
2015-04-20 16:57:47.609409 Bad peer banned: ('162.243.104.174', 8999)
2015-04-20 16:57:47.610032 Lost peer 162.243.104.174:8999 -
2015-04-20 16:57:47.610228 Connection was aborted locally, using
2015-04-20 16:57:47.610386 L{twisted.internet.interfaces.ITCPTransport.abortConnection}.
2015-04-20 16:57:47.610558
2015-04-20 16:57:47.610698 @since: 11.1
2015-04-20 16:57:47.610822 .
2015-04-20 16:57:47.611444 > in handle_share_hashes:
2015-04-20 16:57:47.611607 > Traceback (most recent call last):
2015-04-20 16:57:47.611724 > Failure: twisted.internet.error.ConnectionAborted:
2015-04-20 16:57:47.611836 > Connection was aborted locally, using
2015-04-20 16:57:47.612025 > L{twisted.internet.interfaces.ITCPTransport.abortConnection}.
2015-04-20 16:57:47.612160 >
2015-04-20 16:57:47.612263 > @since: 11.1
2015-04-20 16:57:47.612367 > .
2015-04-20 17:18:40.505787 > Squelched JSON error:
2015-04-20 17:18:40.506095 > Traceback (most recent call last):
2015-04-20 17:18:40.506249 > File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 455, in dataReceived
2015-04-20 17:18:40.506410 > self.lineReceived(line)
2015-04-20 17:18:40.506549 > File "/home/darkcoin/p2pool-dash/p2pool/util/jsonrpc.py", line 174, in lineReceived
2015-04-20 17:18:40.506707 > _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
2015-04-20 17:18:40.506883 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1187, in unwindGenerator
2015-04-20 17:18:40.507102 > return _inlineCallbacks(None, gen, Deferred())
2015-04-20 17:18:40.507288 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
2015-04-20 17:18:40.507452 > result = g.send(result)
2015-04-20 17:18:40.507597 > --- <exception caught here> ---
2015-04-20 17:18:40.507765 > File "/home/darkcoin/p2pool-dash/p2pool/util/jsonrpc.py", line 95, in _handle
2015-04-20 17:18:40.507936 > result = yield method_meth(*list(preargs) + list(params))
2015-04-20 17:18:40.508090 > File "/home/darkcoin/p2pool-dash/p2pool/dash/stratum.py", line 75, in rpc_submit
2015-04-20 17:18:40.508236 > return got_response(header, worker_name, coinb_nonce)
2015-04-20 17:18:40.508371 > File "/home/darkcoin/p2pool-dash/p2pool/dash/worker_interface.py", line 136, in <lambda>
2015-04-20 17:18:40.508563 > lambda header, user, coinbase_nonce: handler(header, user, pack.IntType(self._my_bits).pack(nonce) + coinbase_nonce),
2015-04-20 17:18:40.508823 > File "/home/darkcoin/p2pool-dash/p2pool/work.py", line 400, in got_response
2015-04-20 17:18:40.509090 > share = get_share(header, last_txout_nonce)
2015-04-20 17:18:40.509228 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 227, in get_share
2015-04-20 17:18:40.509386 > merkle_link=dash_data.calculate_merkle_link([None] + other_transaction_hashes, 0),
2015-04-20 17:18:40.509528 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 259, in __init__
2015-04-20 17:18:40.509668 > assert not self.hash_link['extra_data'], repr(self.hash_link['extra_data'])
2015-04-20 17:18:40.509806 > exceptions.AssertionError: '\xd5\x0f\x00\x00\x00\x00'
print dash_data.pubkey_hash_to_script2(share_data['pubkey_hash']).encode('hex')
2015-04-21 10:05:56.910744 76a91475a8d2fa5628e73e19d0b6032fb841939ed091c388ac
2015-04-21 10:05:56.918241 76a91475a8d2fa5628e73e19d0b6032fb841939ed091c388ac
darkcoind decodescript '76a91475a8d2fa5628e73e19d0b6032fb841939ed091c388ac' (my address)
{
"asm" : "OP_DUP OP_HASH160 75a8d2fa5628e73e19d0b6032fb841939ed091c3 OP_EQUALVERIFY OP_CHECKSIG",
"reqSigs" : 1,
"type" : "pubkeyhash",
"addresses" : [
"XmQy8oaqGcGQSajLBn8Hi3k5sNvjhCMBjT"
],
"p2sh" : "7eM4cruSx1sqjjFN6Xr3YYpfbnxmXTYYge"
}
2015-04-20 17:18:40.505787 > Squelched JSON error:
2015-04-20 17:18:40.506095 > Traceback (most recent call last):
2015-04-20 17:18:40.506249 > File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 455, in dataReceived
2015-04-20 17:18:40.506410 > self.lineReceived(line)
2015-04-20 17:18:40.506549 > File "/home/darkcoin/p2pool-dash/p2pool/util/jsonrpc.py", line 174, in lineReceived
2015-04-20 17:18:40.506707 > _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
2015-04-20 17:18:40.506883 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1187, in unwindGenerator
2015-04-20 17:18:40.507102 > return _inlineCallbacks(None, gen, Deferred())
2015-04-20 17:18:40.507288 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
2015-04-20 17:18:40.507452 > result = g.send(result)
2015-04-20 17:18:40.507597 > --- <exception caught here> ---
2015-04-20 17:18:40.507765 > File "/home/darkcoin/p2pool-dash/p2pool/util/jsonrpc.py", line 95, in _handle
2015-04-20 17:18:40.507936 > result = yield method_meth(*list(preargs) + list(params))
2015-04-20 17:18:40.508090 > File "/home/darkcoin/p2pool-dash/p2pool/dash/stratum.py", line 75, in rpc_submit
2015-04-20 17:18:40.508236 > return got_response(header, worker_name, coinb_nonce)
2015-04-20 17:18:40.508371 > File "/home/darkcoin/p2pool-dash/p2pool/dash/worker_interface.py", line 136, in <lambda>
2015-04-20 17:18:40.508563 > lambda header, user, coinbase_nonce: handler(header, user, pack.IntType(self._my_bits).pack(nonce) + coinbase_nonce),
2015-04-20 17:18:40.508823 > File "/home/darkcoin/p2pool-dash/p2pool/work.py", line 400, in got_response
2015-04-20 17:18:40.509090 > share = get_share(header, last_txout_nonce)
2015-04-20 17:18:40.509228 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 227, in get_share
2015-04-20 17:18:40.509386 > merkle_link=dash_data.calculate_merkle_link([None] + other_transaction_hashes, 0),
2015-04-20 17:18:40.509528 > File "/home/darkcoin/p2pool-dash/p2pool/data.py", line 259, in __init__
2015-04-20 17:18:40.509668 > assert not self.hash_link['extra_data'], repr(self.hash_link['extra_data'])
2015-04-20 17:18:40.509806 > exceptions.AssertionError: '\xd5\x0f\x00\x00\x00\x00'
agree, no need for special return for obsoleted string.
I'm not good at p2pool code but self.dashd_work.value['subsidy'] should already be equal to "coinbasevalue" from getblocktemplate rpc https://github.com/jakehaas/p2pool-...282bfe15d6174bce5ed/p2pool/dash/helper.py#L53 , there is no need to fix it additionally.fix for => yearly decline of production by 7.1% per year
https://github.com/jakehaas/p2pool-dash/commit/5cd9cad0a6d8b1a9d43bb282bfe15d6174bce5ed
def get_current_txouts(self):
return p2pool_data.get_expected_payouts(self.tracker, self.best_share_var.value, self.dashd_work.value['bits'].target, self.dashd_work.value['subsidy'] - self.dashd_work.value['payee_amount'], self.net)