Regtest generated coins from prev 0.16.0 version are "generated but not accepted mined" #12872

issue macdasi opened this issue on April 3, 2018
  1. macdasi commented at 7:48 PM on April 3, 2018: none

    I've upgraded bitcoin core from 0.15.1 to 0.16.0 and I run it with same args for regtest on same datadir, I get balance 0 although at the 0.15.1 I had X balance . I can see on the "Transactions" tab that the mined rows are with "?" mark and tooltip with "Generated but not accepted mined" .

    I expected to see the balance from the last version

    To reproduce the issue:

    1. run 0.15.1 with regtest
    2. generate 200 in console
    3. upgrade to version 0.16
    4. no balance

    bitcoin core version upgraded from 0.15.1 to 0.16.0 on win10 64x

  2. achow101 commented at 8:20 PM on April 3, 2018: member

    Can you post the debug.log file? Can you run this again with -debug set and then post the debug.log file?

  3. jnewbery commented at 9:04 PM on April 3, 2018: member

    Strange. TransactionStatus::NotAccepted is set on transactions which are not in the main chain, so the blocks containing these coinbase transactions must have been re-orged out of the main chain.

    As @achow101 says, this will be a lot easier to troubleshoot with the debug.log file. Are you able to upload it?

  4. sdaftuar commented at 9:08 PM on April 3, 2018: member

    In 0.16, we changed the consensus parameters for regtest so that segwit was always active. This was mentioned briefly in the release notes https://github.com/bitcoin/bitcoin/blob/v0.16.0/doc/release-notes.md#testing-changes, along with a workaround to replicate the old behavior.

    I am surprised that you're not seeing the assertion failure mentioned in the release notes, but I suspect this is the cause of what you're seeing.

  5. MarcoFalke closed this on Apr 26, 2020

  6. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me