Namecoin 15/10/13 Hard Fork - update before 8th Dec

Post Reply
snailbrain
Posts: 309
Joined: Tue Jul 19, 2011 9:33 pm

Namecoin 15/10/13 Hard Fork - update before 8th Dec

Post by snailbrain »

as per libcoin's thread: http://dot-bit.org/forum/viewtopic.php?f=2&t=1295

https://github.com/namecoin-qt/namecoin-qt

DETAILS of Hard Fork: https://bitcointalk.org/index.php?topic=322939.0
Hard-fork is set to happen at block 150000 (~76 days from now). Before that bad name_* transactions are allowed, but won't be processed (i.e. won't be saved to name DB). After that they will be rejected, as well as blocks containing them.

At first start nameindexfull.dat will be rescanned (slow - be patient). If something goes wrong, delete it to force another rescan.
nameindexfull.dat is checked by version (rescanned if below 0.3.72).
If you can, please donate to the coder for his time :

NMC: MyWQAeXSpLLH6GUCtyT6xAVx979YXfWgLK
BTC: 15YPPrb4YNLPyjwJ38cfRJyPFKPK1ag37b

Please post all "issues" here... check the code if you can.. (before someone makes official)

bug: Possible problem with rescan/nameindex.dat --- http://dot-bit.org/forum/viewtopic.php?p=6748#p6748
try delete nameindexfull.dat for now..

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by domob »

snailbrain wrote:bug: Possible problem with rescan/nameindex.dat --- http://dot-bit.org/forum/viewtopic.php?p=6748#p6748
try delete nameindexfull.dat for now..
Thanks again for the quick fix and your as well as the coder's time! :) However, I have to disappoint you regarding the bug: Deleting nameindexfull.dat to force the rescan did not fix the issue for me. After the rescan, the code still crashed, and when restarted it still didn't find any names.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

snailbrain
Posts: 309
Joined: Tue Jul 19, 2011 9:33 pm

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by snailbrain »

domob wrote:
snailbrain wrote:bug: Possible problem with rescan/nameindex.dat --- http://dot-bit.org/forum/viewtopic.php?p=6748#p6748
try delete nameindexfull.dat for now..
Thanks again for the quick fix and your as well as the coder's time! :) However, I have to disappoint you regarding the bug: Deleting nameindexfull.dat to force the rescan did not fix the issue for me. After the rescan, the code still crashed, and when restarted it still didn't find any names.
ok.. there is an update..

also, maybe you have corrupted blockchain?
downloading chain works from scratch (on linux).. but obviously need to sort this problem..

don't forget to make backups

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by phelix »

Will try.

I guess you have seen this post:
Deafboy wrote:Fix for crash / empty db after crash from cjd:
https://github.com/cjdelisle/namecoin-q ... 63265799f6
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by phelix »

Works like a charm so far. Just updated d/wav
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by domob »

phelix wrote:Will try.

I guess you have seen this post:
Deafboy wrote:Fix for crash / empty db after crash from cjd:
https://github.com/cjdelisle/namecoin-q ... 63265799f6
Yes I have. With the namecoin-qt git of an hour ago (which included some changes relative to yesterday, but I'm not sure about this fix in particular) the error is still there. Guess I'll have to wait a little longer.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

snailbrain
Posts: 309
Joined: Tue Jul 19, 2011 9:33 pm

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by snailbrain »

we have not tested this with the fakeupdates.. but in principle it should work..

libcoin is being very helpful in PM...

but maybe should wait on merging into official repos until everyone completely agrees everything is O.K.

(not completely fixed all issues yet)

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by phelix »

There is a discussion going on behind the scenes whether to go along with the current fix or improve it. TBH I would prefer to have it in public.

Feel free to dig into the current fix:
https://github.com/namecoin-qt/namecoin-qt

Normally I would say pull requests are the way to go but this important matter should be discussed and double checked first...
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

snailbrain
Posts: 309
Joined: Tue Jul 19, 2011 9:33 pm

Re: Namecoin 15/10/13 Hard Fork - Thread

Post by snailbrain »

I'll commit a small patch soon (removing block number check at line 1575)
Have been speaking with libcoin and he has been extremely helpful regarding the issue..
Both agree that the code is a bit messy, but there is a lot of work to be done on that front, on namecoin as a whole.
hopefully this patch will fix the problem at hand..
BUT...
as phelix said, it would be best to get as much input as possible from "everyone"


Post Reply