bad_cb_height – Earlybirds Invest https://earlybirdsinvest.com Latest Crypto News Tue, 01 Apr 2025 22:17:23 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.7 https://i0.wp.com/earlybirdsinvest.com/wp-content/uploads/2024/12/cropped-New-Project-2024-12-17T235703.455.png?fit=32%2C32&ssl=1 bad_cb_height – Earlybirds Invest https://earlybirdsinvest.com 32 32 240146708 bad_cb_height of regtest for all blocks (even at very small heights) https://earlybirdsinvest.com/bad_cb_height-of-regtest-for-all-blocks-even-at-very-small-heights/ https://earlybirdsinvest.com/bad_cb_height-of-regtest-for-all-blocks-even-at-very-small-heights/#respond Tue, 01 Apr 2025 22:17:22 +0000 https://earlybirdsinvest.com/bad_cb_height-of-regtest-for-all-blocks-even-at-very-small-heights/

I have a problem trying to generate a block for RegTest. I always get the error:

ERROR: AcceptBlock: bad-cb-height, block height mismatch in coinbase

The block I’m trying to mine is 1 height. The height is less than 500. I don’t understand why height is an issue as this is the minimum block of retests with BIP34 enabled. Anyway, here is the Coinbase transaction I’m using:

020000000100000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFF3F01013C8CB3D83D83D83D145888817040029EB9BF1BF952F1F4361E6DF03578D5E3B B261A8E2A4BB1BB2DA4BC180D3FC67BD1C73AAC0575E280239C2F330DC3ACB0000000000100 F2052A010000001976A914BF01AA10263BE4A8F6CABBDD60A74C7544E48D2A88AC0000000000

The parts are as follows:

0200000

01

00000000000000000000000000000000000000000000000000000000000000

ffffff

3f (< - this is the size of scriptsig (63))

0101 (< - This is the height. Its value is 1, using 1 byte))

3C8CB3D83ABD14588177040029EB9BF1BF952F1F43AF61E6DF03578D5E3BB261A8E2A4B1BB2DA4BC180D3FC7BD1C73AAC0575E280DC280DC280DC280DC280DC280DC280DC395E280DC280DC280DC280DC280DC280DC395E280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC280DC

00000000 (< - sequence)

01 (< - one transaction that is Coinbase)

00F2052A01000000 (< - amount of Satoshu)

1976A914BF01AA10263BE4A8F6CABBDD60A74C7544E48D2A88AC (ScriptPubkey)

0000000 (Lock Time)

What is the problem with height values? Does anyone know? thank you

]]>
https://earlybirdsinvest.com/bad_cb_height-of-regtest-for-all-blocks-even-at-very-small-heights/feed/ 0 28476