Make -stopatheight work with background sync #28809

issue Sjors openend this issue on November 7, 2023
  1. Sjors commented at 5:39 am on November 7, 2023: member

    Please describe the feature you’d like to see added.

    When a background chainstate is present and -stopatheight is set below the assumeutxo height, stop when the background sync reaches that height.

    Currently the node will stop as soon as the tip grows, because of m_stop_at_height && index.nHeight >= m_stop_at_height.

    Describe the solution you’d like

    No response

    Describe any alternatives you’ve considered

    No response

    Please leave any additional context

    No response

  2. Sjors added the label Feature on Nov 7, 2023
  3. ajtowns commented at 0:43 am on November 14, 2023: contributor
    Wouldn’t this be better as a separate option, -stopbackgroundatheight or something ?
  4. Sjors commented at 5:10 am on November 14, 2023: member
    Perhaps. But each height is only reached once, so I’m not sure if it’s necessary.


Sjors ajtowns

Labels
Feature


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: 2024-12-21 15:12 UTC

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