Results of testing merge mining on master branch ofhttps://github.com/IXCoin-Dev/IXCoin.
Merge mining seems to mostly work. Here's a log:
DevcoinMiner:
AUX proof-of-work found
our hash: b72193091ca424631504a4dff2e652a15298a4825b63120e45370b924ea973ce
parent hash: 00000000607dfd6d48926fd22b7ea40c9ce7b8717f7bbaa5f7f77aaa13a87e2d
target: 00000000ffff0000000000000000000000000000000000000000000000000000
CBlock(hash=b72193091ca424631504a4dff2e652a15298a4825b63120e45370b924ea973ce, ver=196865, hashPrevBlock=f813300fa3652082b4e7fe2743c2205fd106e3f6e1ad95758a3be0affa93b36f, hashMerkleRoot=6a1183bd9f3bfc4f5d43118af3ad2fcda14dc4173143745bf1db3815ed351a8c, nTime=1422241719, nBits=1d00ffff, nNonce=0, vtx=1)
CTransaction(hash=6a1183bd9f, ver=1, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(0000000000, 4294967295), coinbase 0000)
CTxOut(nValue=96.00000000, scriptPubKey=)
vMerkleTree: 6a1183bd9f3bfc4f5d43118af3ad2fcda14dc4173143745bf1db3815ed351a8c
generated 96.00
keypool keep 3
UpdateTip: new best=b72193091ca424631504a4dff2e652a15298a4825b63120e45370b924ea973ce height=1679 log2_work=42.714268 tx=1682 date=2015-01-26 03:08:39 progress=0.000702
ProcessBlock: ACCEPTED
keypool reserve 4
CreateNewBlock(): total size 1000
ERROR: ConnectBlock() : tried to overwrite transaction
CreateNewBlock(): total size 1000
ERROR: ConnectBlock() : tried to overwrite transaction
CreateNewBlock(): total size 1000
ERROR: ConnectBlock() : tried to overwrite transaction
CreateNewBlock(): total size 1000
Yes, it says DevcoinMiner but it's the ixcoin client. Note the 'tried to overwrite transaction' error. This appears to be BIP30 related. If I turn off BIP30 this error goes away. Was BIP30 ever enabled on ixcoin anyway? The block does seem to get mined though. With it disabled here's a log:
DevcoinMiner:
AUX proof-of-work found
our hash: 4a5b82ea1a8f84020fe4f415c979deabd740eb11f68e1eca321d8489c10b98ac
parent hash: 00000000bd60b1606894562187a0459223d70a37663a8dd1d66ba8b0fd70f893
target: 00000000ffff0000000000000000000000000000000000000000000000000000
CBlock(hash=4a5b82ea1a8f84020fe4f415c979deabd740eb11f68e1eca321d8489c10b98ac, ver=196865, hashPrevBlock=f85b2a65441f7e2fc1abeb6a1be526b4d36a7f2ed95d1efca64acdee92736f3c, hashMerkleRoot=6a1183bd9f3bfc4f5d43118af3ad2fcda14dc4173143745bf1db3815ed351a8c, nTime=1422242259, nBits=1d00ffff, nNonce=0, vtx=1)
CTransaction(hash=6a1183bd9f, ver=1, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(0000000000, 4294967295), coinbase 0000)
CTxOut(nValue=96.00000000, scriptPubKey=)
vMerkleTree: 6a1183bd9f3bfc4f5d43118af3ad2fcda14dc4173143745bf1db3815ed351a8c
generated 96.00
keypool keep 5
UpdateTip: new best=4a5b82ea1a8f84020fe4f415c979deabd740eb11f68e1eca321d8489c10b98ac height=1681 log2_work=42.715984 tx=1684 date=2015-01-26 03:17:39 progress=0.000703
ProcessBlock: ACCEPTED
keypool added key 106, size=101
That looks promising. The blocks don't appear if I do a 'listtransactions' though. They do seem to be working as subsequent blocks increment the height. Is 'listtransactions' broken for generated blocks?
Testing without merge mining and listtransactions does show generated blocks. I'll do more testing to track down.