Hi there,
I'm playing around with some self written mining software (using GPU) on my two node regtest network.
While submitting the first 499 blocks from my miner SW works fine, I've got the 500th block denied:
ERROR: ProcessNewBlock: AcceptBlock FAILED (bad-cb-height, block height mismatch in coinbase)
I've looked into it, and I guess that my height in the sigscript is wrong. Too bad I can't figure out the problem, as it all seems fine for me.
Block 499 coinbase tx serialized data: height is given as f3010000
02000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0a04f30100000401000000feffffff0140be4025000000001976a914cf2a342892313764d1e3 8d790bf37cf3a25f3f0688ac00000000
Block 500 coinbase tx serialized data:height is given as f4010000
02000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0a04f40100000401000000feffffff0140be4025000000001976a914cf2a342892313764d1e3 8d790bf37cf3a25f3f0688ac00000000
any thoughts / hints from your side??
Cheers & thanks
McStone