Skip to content

Instantly share code, notes, and snippets.

@losh11
Last active August 21, 2024 22:16
Show Gist options
  • Save losh11/2d4ee89cdb4965bec4c2128cbc579e31 to your computer and use it in GitHub Desktop.
Save losh11/2d4ee89cdb4965bec4c2128cbc579e31 to your computer and use it in GitHub Desktop.

The Litecoin Developers are aware of a regression introduced in Litecoin Core v0.21.3. A certain number of users may see the error message "Prune mode is incompatible with -blockfilterindex." on startup.

The Temporary Fix

Locate the Litecoin Data Directory. By default this is located at:

macOS: ~/Library/Application Support/Litecoin
Linux: ~/.litecoin
Windows: %APPDATA%\Litecoin

Create a file named litecoin.conf if this doesn't already exist. Edit the litecoin.conf file with the following text:

blockfilterindex=0
peerblockfilters=0

The Fix

The Litecoin Developers plan to release a new patch. Which will automatically detect if prune mode is enabled, and if so, will not attempt to enable blockfilterindex.

@alecdvor
Copy link

alecdvor commented May 26, 2024

I was locked out of my litecoin core application. I even tried a reinstall and I was stuck till I found this fix. Thank you !

@CameronHudson8
Copy link

I found that this directory did not exist:

Windows: %APPDATA%\Litecoin

However, putting the config file here fixed it for me:

Windows: %APPDATA%\Roaming\Litecoin

@migol
Copy link

migol commented Aug 21, 2024

That did not help me as I have custom data dir. What did help was placing file in root of datadir, at least on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment