Allow blockfilter in conjunction with prune

This commit is contained in:
Jonas Schnelli
2019-05-02 20:41:01 +02:00
parent a59e7ed0bc
commit 6abe9f5b11
2 changed files with 41 additions and 3 deletions

View File

@@ -1023,9 +1023,6 @@ bool AppInitParameterInteraction(const ArgsManager& args)
if (args.GetArg("-prune", 0)) {
if (args.GetBoolArg("-txindex", DEFAULT_TXINDEX))
return InitError(_("Prune mode is incompatible with -txindex."));
if (!g_enabled_filter_types.empty()) {
return InitError(_("Prune mode is incompatible with -blockfilterindex."));
}
}
// -bind and -whitebind can't be set when not listening