Author

Topic: BitcoinJ porting to scrypt coin and enable with auxpow (Read 2066 times)

member
Activity: 82
Merit: 13
I've implemented AuxPoW support, and network params for Litecoin and Dogecoin in my fork of bitcoinj: github.com/mappum/altcoinj
hero member
Activity: 1400
Merit: 538
Crypto Casino & Sportsbook
I need some help, keeping me stuck for a long time:

The coin source list in github:
https://github.com/9cat/templecoin

I based this code to get auxpow enabled: https://github.com/united-scrypt-coin-project/unitedscryptcoin/compare/fe7b87a9761d9819bc2dcb6796b46b17fa775a5c...merged-mining

and also Doge's auxpow :
https://github.com/dogecoin/dogecoin/pull/584


thanks to @hashengineering to give the reference about auxpow:
https://github.com/sidhujag/devcoin-android/tree/master/devcoinj/core/src/main/java/com/google/devcoin/core


QUESTIONS:
1. Does the unitedscryptcoin's auxpow implementation actually miss to take care about filterbloom, filterblock, merkleblock, inv, or other parts?
2. I follow the devcoin to implement the auxpow for templecoin, however, it is not able to verify for merkel block parsing.


3. Based on the protocol, https://en.bitcoin.it/wiki/Merged_mining_specification#Aux_work_merkle_tree. There is no merkleblock def., only the merkle branch. Are they the same thing or something else?  

4. The header is not 80 and grows like 3000~5000 bytes, is it really healthy for a blockchain like that?

5. I found that Dogecoin does not actually implement the auxpow in dogecoinj-new , how can it support auxpow blocks that currently are already enabled.


If anyone can help on this or provide me another update for the auxpow implementation for bitcoinj (or scrypt base), it will be appreciated.




.

Jump to: