Skip to content

bug: enabling pruning from initial launch causes crash due to "txindex" #6366

Closed

Description

@PastaPastaPasta

Reproduce:

  1. Clear out ~/.dashcore
  2. run dash-qt
  3. select "prune" option
  4. Observe crash
    "Error: Prune mode is incompatible with -txindex"

This should be as simple as setting "txindex" off when the gui option is set. My guess is that prune is set too late for the Init params to override txindex, but then the compatibility check happens later, so we crash? Haven't actually looked at code related to this.

Initially observed here: flathub/flathub#5747 (comment)

Thanks @bbhtt!

Activity

  1. added a commit that references this issue on Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions