Please make it work with new code which is ported to 0.8.5, but it will have to be forward ported again to 0.9.0 when we merge that code in later. We are just testing the merged-blocks are backwards compatible across clients. The windows client is in test mode, and linux client can be built aswell from source...
https://github.com/sidhujag/devcoinI did the android wallet based on 0.8.5 aswell... are there changes in Armory after 0.8.5? Otherwise you can use this code as your client to test with. (version is now 70001 from 032501 or whatever)
How are you going about it? just adding the merged-mine parsing, and do similar adaptions that the client did with bitcion -> devcoin?
Okay sounds good. As far as I can tell most of the substantial changes were in 0.8.x; there are lots of places in the code that reference that version. I just started working on it, so I got it talking to devcoind, and reading the blocks from blk0001.dat instead of the blocks folder, but I'm realizing that most of the changes I'm making to get it to read devcoin blocks are just reverting changes that were made for post 0.8 bitcoin. I think it will be a lot easier once I get the 0.8.5 based devcoind built.
I guess I'm not fully aware of all of the difference between the devcoin and bitcoin blockchains, I assumed that all I would have to change is parsing of the receiver files - although Armory interfaces directly with bitcoind/devcoind, so maybe that would be handled by devcoind rather than by Armory. If I have any trouble I'll definitely refer to your Android wallet or send you a PM.
Now I'm going to see if I can the new 0.8.5 wallet compiled on Ubuntu.
Edit:
For what it's worth, I have the 0.8.5 devcoind compiled and running on Ubuntu 12.04, got the whole blockchain downloaded successfully and I imported my wallet and the balance looks normal. Anything specific you'd like me to test?
Btw is there anyway to compile Devcoin-Qt on Linux? Or is that not supported yet? I'm getting a lot of errors when trying to use the "bitcoin-qt.pro" with QTCreator.
Did you have to change the makefile to make it compile for ubuntu or was it ootb?
The pro file will prob need revision to make it compile for linux.. I think emfox did it but had issues.
The main difference is in devcoin you have block headers which contain auxpow data instead of being a constant 80 bytes or whatever.
Refer to
https://en.bitcoin.it/wiki/Merged_mining_specificationThe old devcoin blocks and new ones should be the same as the new client is backwards comptable.
Any header parsing will break in armory.. u need to parse AND validate the auxpow header section following the spec.
The diff algo is different.. devcoin averages previous blocks.. so you need to ensure previous block data is available to even check the diff target. I ran into issues on android wallet since bitcoinj didnt need previous blocks and it starts downloading blocks after it reaches a certain date (release of wallet) so before that it only downloads headers or diesnt need to download any data at all for optimization purposes.
Armory probably does this aswell since it doesnt need blocks before it was created.
Its a simple fix.
The fees were changed to 5 coins too.. and make sure the getminfee function is right. In android its hardcoded to 5coins per 1kb tx size.
To ensure there is no way that the tx doesnt get thru due to insufficient fees. Devcoind bitcoind have this allowfree thing that android wallet doesnt knownsince it doesnt generate blocks.
Jag