Coder Social home page Coder Social logo

Comments (9)

JeremyRand avatar JeremyRand commented on June 16, 2024

What was the most recent version of Namecoin Core that you know worked? Hopefully that'll help narrow down what caused the issue.

from namecoin-core.

p3yot3 avatar p3yot3 commented on June 16, 2024

A reboot fixed it for a day or so, but I am now seeing the error again:

2015-12-10 10:44:18.838600 > Error while calling merged getauxblock on http://127.0.0.1:7333/:
2015-12-10 10:44:18.838814 > Traceback (most recent call last):
2015-12-10 10:44:18.838921 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
2015-12-10 10:44:18.839041 > current.result = callback(current.result, _args, *_kw)
2015-12-10 10:44:18.839087 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult
2015-12-10 10:44:18.839129 > _inlineCallbacks(r, g, deferred)
2015-12-10 10:44:18.839157 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-12-10 10:44:18.839186 > result = result.throwExceptionIntoGenerator(g)
2015-12-10 10:44:18.839214 > File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-12-10 10:44:18.839245 > return g.throw(self.type, self.value, self.tb)
2015-12-10 10:44:18.839307 > --- ---
2015-12-10 10:44:18.839335 > File "/home/rig/p2pool/p2pool/util/deferral.py", line 41, in f
2015-12-10 10:44:18.839362 > result = yield func(_args, *_kwargs)
2015-12-10 10:44:18.839389 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-12-10 10:44:18.839418 > result = result.throwExceptionIntoGenerator(g)
2015-12-10 10:44:18.839444 > File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-12-10 10:44:18.839473 > return g.throw(self.type, self.value, self.tb)
2015-12-10 10:44:18.839499 > File "/home/rig/p2pool/p2pool/util/jsonrpc.py", line 133, in _http_do
2015-12-10 10:44:18.839528 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2015-12-10 10:44:18.839557 > p2pool.util.jsonrpc.NarrowError: -1 CreateNewBlock: TestBlockValidity failed: (code 0)

This is using the latest daemon version pulled from git on Xubuntu 64bit:

"version": 129900,
"protocolversion": 110012,
"walletversion": 60000,

Edit: A namecoind restart has again solved the issue, but it seems to be an ongoing problem.

from namecoin-core.

p3yot3 avatar p3yot3 commented on June 16, 2024

I updated from git again but the problem is still there:

7.0.0.1:7333/:
2015-12-12 14:17:22.629642 > Traceback (most recent call last):
2015-12-12 14:17:22.629669 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
2015-12-12 14:17:22.629695 > current.result = callback(current.result, _args, *_kw)
2015-12-12 14:17:22.629719 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult
2015-12-12 14:17:22.629743 > _inlineCallbacks(r, g, deferred)
2015-12-12 14:17:22.629766 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-12-12 14:17:22.629790 > result = result.throwExceptionIntoGenerator(g)
2015-12-12 14:17:22.629814 > File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-12-12 14:17:22.629839 > return g.throw(self.type, self.value, self.tb)
2015-12-12 14:17:22.629862 > --- ---
2015-12-12 14:17:22.629884 > File "/home/rig/p2pool/p2pool/util/deferral.py", line 41, in f
2015-12-12 14:17:22.629906 > result = yield func(_args, *_kwargs)
2015-12-12 14:17:22.629929 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-12-12 14:17:22.629952 > result = result.throwExceptionIntoGenerator(g)
2015-12-12 14:17:22.629975 > File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-12-12 14:17:22.629999 > return g.throw(self.type, self.value, self.tb)
2015-12-12 14:17:22.630021 > File "/home/rig/p2pool/p2pool/util/jsonrpc.py", line 133, in _http_do
2015-12-12 14:17:22.630045 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2015-12-12 14:17:22.630070 > p2pool.util.jsonrpc.NarrowError: -1 CreateNewBlock: TestBlockValidity failed: (code 0)

from namecoin-core.

domob1812 avatar domob1812 commented on June 16, 2024

My guess is that this is related to the recent upstream rewrite of CreateNewBlock. This broke the regression tests for Namecoin, but I fixed them. Maybe the fix did not go far enough, although I'm not sure what the remaining problem could be. The regression tests indicate that basic name operations including mining and "everything" work.

from namecoin-core.

p3yot3 avatar p3yot3 commented on June 16, 2024

Just to make sure, I'm currently doing a reindex in case my data is corrupted in some way - but I'm pretty sure it's not. I'm no coder I'm afraid, so can't offer any meaningful input, just the basics (logs etc). If I still get the errors after reindexing I'll revert back to the last working version.

from namecoin-core.

flound1129 avatar flound1129 commented on June 16, 2024

In the most recent code, getblocktemplate stops working after a few days with a CreateNewBlock error. I'll get the error the next time it happens and post it here.

from namecoin-core.

p3yot3 avatar p3yot3 commented on June 16, 2024

Just pulled the latest version - still have the same error I'm afraid.

from namecoin-core.

flound1129 avatar flound1129 commented on June 16, 2024

$ namecoin-cli getblocktemplate
error code: -1
error message:
CreateNewBlock: TestBlockValidity failed: (code 0)

Getting lots of these in the debug log:
2015-12-23 06:35:18 CreateNewBlock(): total size 1246 txs: 1 fees: 500000 sigops 101
2015-12-23 06:35:18 ERROR: CheckNameTransaction: NAME_FIRSTUPDATE on an unexpired name
2015-12-23 06:35:18 ERROR: CheckInputs: tx invalid for Namecoin
2015-12-23 06:35:18 ERROR: ConnectBlock(): CheckInputs on fc56b9f2297a299cf59022317b50ba45ace9392932453eb027f3a77bf4c90bb1 failed with (code 0)

Opening this as a new issue as it should not be related to the p2pool issue.

from namecoin-core.

domob1812 avatar domob1812 commented on June 16, 2024

I think this is the same as #50, closing here. A fix for the other issue is incoming - please reopen here if this persists.

from namecoin-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.