DriveNetTESTDRIVE / DriveNet

MIT License
21 stars 30 forks source link

Mined sidechain blocks being orphaned #6

Open MurrMcK opened 6 years ago

MurrMcK commented 6 years ago

After blind merged-mining some sidechain blocks, the blocks are sometimes then orphaned later - in one case (and possibly all cases) after I turn off automated BMM. The block height continues to increase as normal, and the blocks that I mined are simply replaced with other blocks (presumably that somebody else mined). On the mainchain, the BMM transaction goes through as if my block had been the one accepted. Perhaps the mainchain is not restricting to one sidechain block per mainchain block. This does seem to be the case when looking at the number of transactions in each mainchain block (3 when I blind merged-mine vs 2 otherwise).

I am using the BMM settings listed in the docs, and I am not mining the mainchain. For reference, recently I had BMM payments accepted from block 6841 to 6847 on the mainchain, and some of those sidechain blocks were orphaned.

CryptAxe commented 5 years ago

@MurrMcK Thank you I will look into this