Merged-mining, P2Pool, sharechains

p3yot33at3r
Posts: 4
Joined: Sun Nov 01, 2015 10:32 am
os: linux

Re: Merged-mining, P2Pool, sharechains

Post by p3yot33at3r » Sun Nov 01, 2015 7:05 pm

cassini wrote:
p3yot33at3r wrote:ie: from when the the core client was implemented to the present. ;)
On August 2nd, Namecoin
You are right, it looks as if some p2pool miners abandoned merged-mining, or they simply don't know anything about Namecoin Core. Is there a mailing list of p2pool miners or anything?
What's to know? Has the way NMC is merge mined with p2pool changed?

Those 2 blocks are a long, long time ago - namecoin-core has undergone many changes since then - I think it's too coincidental that none have been found for such a long period of time.

As far as a mailing list for p2pool - none that I'm aware of, only the p2pool thread or the merge mining thread:

https://bitcointalk.org/index.php?topic=18313.0
https://bitcointalk.org/index.php?topic=1008100.0

Or the p2pool repo of course.

Edit: I just realized - that's 3 months! I know for a fact that many p2pool users are merge mining NMC, myself included.

cassini
Posts: 326
Joined: Sun May 26, 2013 6:36 pm

Re: Merged-mining, P2Pool, sharechains

Post by cassini » Sun Nov 01, 2015 9:10 pm

p3yot33at3r wrote:Edit: I just realized - that's 3 months!
Seems we have a small misunderstanding here. I was talking about two different things within one paragraph.
Let me clarify (already posted at bitcointalk):

2015-08-02 23:21 UTC, NMC block 242312, mined by ghash.io. This was the last time an old NMC client was able to successfully mine a non-orphaned block.
2015-10-13 21:17 UTC, NMC block 253122, mined by p2pool miner 1GqdAgC1zmzLFMg3XyYctSECWUjkbT7Nv9 using the new Namecoin Core client.
2015-10-19 05:10 UTC, NMC block 253874, mined by p2pool miner 14N4xNSDtNYatfCgHhyRaAhdZtaczUBnAa using the new Namecoin Core client.

p3yot33at3r
Posts: 4
Joined: Sun Nov 01, 2015 10:32 am
os: linux

Re: Merged-mining, P2Pool, sharechains

Post by p3yot33at3r » Sun Nov 01, 2015 9:33 pm

cassini wrote:
p3yot33at3r wrote:Edit: I just realized - that's 3 months!
Seems we have a small misunderstanding here. I was talking about two different things within one paragraph.
Let me clarify (already posted at bitcointalk):

2015-08-02 23:21 UTC, NMC block 242312, mined by ghash.io. This was the last time an old NMC client was able to sucessfully mine a non-orphaned block.
2015-10-13 21:17 UTC, NMC block 253122, mined by p2pool miner 1GqdAgC1zmzLFMg3XyYctSECWUjkbT7Nv9 using the new Namecoin Core client.
2015-10-19 05:10 UTC, NMC block 253874, mined by p2pool miner 14N4xNSDtNYatfCgHhyRaAhdZtaczUBnAa using the new Namecoin Core client.

Yup - saw your post. Thanks for those stats & putting my concerns at rest cassini :D

sawa
Posts: 2
Joined: Mon Aug 31, 2015 7:36 pm
os: linux

Re: Merged-mining, P2Pool, sharechains

Post by sawa » Wed Dec 23, 2015 5:49 am

Last version of namecoin don't merge mining with new version of a BTC p2pool.
I do not understand what the problem is. I see these error messages:

p2pool log:

Code: Select all

Error while calling merged getauxblock on http://127.0.0.1:8335:
Traceback (most recent call last):
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1184, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/opt/p2pool-btc/p2pool/util/deferral.py", line 41, in f
    result = yield func(*args, **kwargs)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/opt/p2pool-btc/p2pool/util/jsonrpc.py", line 133, in _http_do
    raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
p2pool.util.jsonrpc.NarrowError: -1 CreateNewBlock: TestBlockValidity failed:  (code 0)
wallet debug.log:

Code: Select all

2015-12-23 04:38:46 CreateNewBlock(): total size 1761 txs: 3 fees: 1025800 sigops 105
2015-12-23 04:38:46 ERROR: CheckNameTransaction: NAME_FIRSTUPDATE on an unexpired name
2015-12-23 04:38:46 ERROR: CheckInputs: tx invalid for Namecoin
2015-12-23 04:38:46 ERROR: ConnectBlock(): CheckInputs on fc56b9f2297a299cf59022317b50ba45ace9392932453eb027f3a77bf4c90bb1 failed with  (code 0)
2015-12-23 04:38:46 keypool return 5
2015-12-23 04:38:52 keypool reserve 5
2015-12-23 04:38:52 CreateNewBlock(): total size 1761 txs: 3 fees: 1025800 sigops 105
2015-12-23 04:38:52 ERROR: CheckNameTransaction: NAME_FIRSTUPDATE on an unexpired name
2015-12-23 04:38:52 ERROR: CheckInputs: tx invalid for Namecoin
2015-12-23 04:38:52 ERROR: ConnectBlock(): CheckInputs on fc56b9f2297a299cf59022317b50ba45ace9392932453eb027f3a77bf4c90bb1 failed with  (code 0)
2015-12-23 04:38:52 keypool return 5
2015-12-23 04:39:16 keypool reserve 5
2015-12-23 04:39:16 CreateNewBlock(): total size 1761 txs: 3 fees: 1025800 sigops 105
2015-12-23 04:39:16 ERROR: CheckNameTransaction: NAME_FIRSTUPDATE on an unexpired name
2015-12-23 04:39:16 ERROR: CheckInputs: tx invalid for Namecoin
2015-12-23 04:39:16 ERROR: ConnectBlock(): CheckInputs on fc56b9f2297a299cf59022317b50ba45ace9392932453eb027f3a77bf4c90bb1 failed with  (code 0)
2015-12-23 04:39:16 keypool return 5
2015-12-23 04:39:22 keypool reserve 5
2015-12-23 04:39:22 CreateNewBlock(): total size 1761 txs: 3 fees: 1025800 sigops 105
2015-12-23 04:39:22 ERROR: CheckNameTransaction: NAME_FIRSTUPDATE on an unexpired name
2015-12-23 04:39:22 ERROR: CheckInputs: tx invalid for Namecoin
2015-12-23 04:39:22 ERROR: ConnectBlock(): CheckInputs on fc56b9f2297a299cf59022317b50ba45ace9392932453eb027f3a77bf4c90bb1 failed with  (code 0)
2015-12-23 04:39:22 keypool return 5
2015-12-23 04:39:46 keypool reserve 5
Version of namecoin: v0.12.99

Code: Select all

namecoin-cli getinfo
{
  "version": 129900,
  "protocolversion": 110012,
  "walletversion": 10500,
  "balance": 0.99980800,
  "blocks": 264016,
  "timeoffset": 0,
  "connections": 10,
  "proxy": "",
  "difficulty": 26958856570.97048,
  "testnet": false,
  "keypoololdest": 1417975245,
  "keypoolsize": 103,
  "paytxfee": 0.00000000,
  "relayfee": 0.00100000,
  "errors": "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}
Version of p2pool: 15.0-1-gc8e2536-dirty

biolizard89
Posts: 1937
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Merged-mining, P2Pool, sharechains

Post by biolizard89 » Wed Dec 23, 2015 12:40 pm

sawa wrote:Last version of namecoin don't merge mining with new version of a BTC p2pool.
I do not understand what the problem is. I see these error messages:

[snip]
Possible fix at https://github.com/namecoin/namecoin-core/issues/50 (thanks to Daniel). Can you see if this fixes your issue?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

cassini
Posts: 326
Joined: Sun May 26, 2013 6:36 pm

Re: Merged-mining, P2Pool, sharechains

Post by cassini » Tue Dec 29, 2015 12:47 pm

Just in case someone comes across this thread and misses the BIP9 discussion. It has partially turned into a p2p sharechain and Merged-Mining-2 discussion as of this post: viewtopic.php?p=16153

Post Reply