Comments (9)
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.
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.
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.
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.
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.
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.
Just pulled the latest version - still have the same error I'm afraid.
from namecoin-core.
$ 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.
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)
- Configure Name dialog should indicate CBOR validity
- Configure Name dialog should indicate JSON compactness HOT 1
- Configure Name dialog should show CBOR diagnostic notation
- Buy Names page should support hex names HOT 2
- sendrawtransaction can't be sent HOT 2
- The cybersquatter called Uwe Martens HOT 25
- Namecoin Core 23.0 fails compiling Qt HOT 3
- allowexisting=true is not recognized for name_new if placed in namecoin.conf HOT 1
- Add BIP34 height to `parentblock` decoded JSON object HOT 5
- Add name_new to Buy Names page
- Switch Buy Names page to use name_autoregister HOT 1
- name_autoregister should use existing name_new if present
- CRITICAL! A severe bug caused name loss! HOT 9
- Consider making transfer widgets hideable HOT 5
- Restore RPC "toaddress" HOT 1
- Support transferring names in bulk HOT 2
- Implement semi-expiration
- Use semi-expiration in Manage Names tab HOT 1
- My Taproot transactions fail to get included into Blocks HOT 2
- Why does the mining pool change its address every time it mines a block? Does anyone know where this code is? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from namecoin-core.