cli: fix Fatal LevelDB error when specifying -blockfilterindex=basic twice

This commit is contained in:
Harris
2019-12-06 21:47:55 +01:00
parent cb11324a63
commit 034561f9cd
3 changed files with 9 additions and 8 deletions

View File

@@ -7,6 +7,7 @@
#include <stdint.h>
#include <string>
#include <set>
#include <unordered_set>
#include <vector>
@@ -97,7 +98,7 @@ const std::string& BlockFilterTypeName(BlockFilterType filter_type);
bool BlockFilterTypeByName(const std::string& name, BlockFilterType& filter_type);
/** Get a list of known filter types. */
const std::vector<BlockFilterType>& AllBlockFilterTypes();
const std::set<BlockFilterType>& AllBlockFilterTypes();
/** Get a comma-separated list of known filter type names. */
const std::string& ListBlockFilterTypes();