diff options
author | Harris <brakmic@gmail.com> | 2019-12-06 21:47:55 +0100 |
---|---|---|
committer | Harris <brakmic@gmail.com> | 2019-12-06 21:47:55 +0100 |
commit | 034561f9cd4180ea1c165cb02df6c84444a8d692 (patch) | |
tree | 1c0f2961ac02458cbf6c894d6603b94bdcb064f8 /src/blockfilter.h | |
parent | cb11324a63ef10475bfc4d8e45148d5ae6f3e71e (diff) | |
download | bitcoin-034561f9cd4180ea1c165cb02df6c84444a8d692.tar.xz |
cli: fix Fatal LevelDB error when specifying -blockfilterindex=basic twice
Diffstat (limited to 'src/blockfilter.h')
-rw-r--r-- | src/blockfilter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blockfilter.h b/src/blockfilter.h index 914b94fec1..828204b875 100644 --- a/src/blockfilter.h +++ b/src/blockfilter.h @@ -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(); |