Post
Topic
Board Announcements (Altcoins)
Re: [DVC]DevCoin - Official Thread - Moderated
by
sidhujag
on 08/02/2014, 05:08:35 UTC
I made fee changes that may have broke it.. maybe its a good idea to work backwards from the first stable release like 1.0.3 or whatenot looking at history.

Ok I'm a bit git nooby, this is what I'm doing to get a previous version:

git checkout 016bd1e7f8c289b05158e8005a69ff33bb262573 (whichever branch I want to use)
cd ~/devcoin/src && make -f makefile.unix

that then compiles what I think is the branch version, whose executable I can use to run. Is this the correct way to do it?

I think so, Im new to git I use HG at work and used SVN before that. but its pretty easy I use the windows client and it shows nicely the latest changes and diffs in a GUI and I can go rollback to any version.... and using the online github you can get the checkout id and go back just the way you describe.

When you do go back I would do a make -f makefile.unix clean and also get rid of the obj files in the src/obj folder... i dont think clean does it.

During my tests I set up a mining proxy and was able to call getauxblock in the node using the test in a box approach. I will try it again to see if it crashes this time.

On your end if you try on a few older versions, if it crashes the same way then its probably the port over to bitcoin 0.8.5 somewhere, or it could still be the server config since you said it was fine before... seems like when p2p connects it tries to talk and it crashes...

I had a similar issue when the android wallet would connect the node would crash and that was because it would try to deserialize a aux block that was null, and deferencing null crashes. So I added a null check there and then everything worked... but i was never sure why its getting null there, why would it try to pull up a block from the disk, deserialize it and find that the merged-mine section was null? Anyways I think beginning with commit 13cf0dd190e59b3ebf83f638872db6b2b9a5bc7f on jan 13 I tried to fix this issue, so maybe first try before this commit, I think it was stable on Dec 31. Before that we started to play with min fees and changed the dust fee definition.... so that might be an issue... before that we have initial implmentation.. so we have a few to try out and it would be interesting if as we go back that it works.