diff options
author | Jim Posen <jim.posen@gmail.com> | 2018-08-29 22:15:50 -0700 |
---|---|---|
committer | Jim Posen <jim.posen@gmail.com> | 2019-04-06 12:10:55 -0700 |
commit | ff351050968f290787cd5fa456d394380f64fec3 (patch) | |
tree | c3becebf7085a6a37f8ec6db5862d90afe164d9f /src/blockfilter.h | |
parent | accc8b8b1842ed6d522b71a056777bcac8f39e81 (diff) | |
download | bitcoin-ff351050968f290787cd5fa456d394380f64fec3.tar.xz |
init: Add CLI option to enable block filter index.
Diffstat (limited to 'src/blockfilter.h')
-rw-r--r-- | src/blockfilter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/blockfilter.h b/src/blockfilter.h index 7a219ff22b..914b94fec1 100644 --- a/src/blockfilter.h +++ b/src/blockfilter.h @@ -96,6 +96,12 @@ const std::string& BlockFilterTypeName(BlockFilterType filter_type); /** Find a filter type by its human-readable name. */ bool BlockFilterTypeByName(const std::string& name, BlockFilterType& filter_type); +/** Get a list of known filter types. */ +const std::vector<BlockFilterType>& AllBlockFilterTypes(); + +/** Get a comma-separated list of known filter type names. */ +const std::string& ListBlockFilterTypes(); + /** * Complete block filter struct as defined in BIP 157. Serialization matches * payload of "cfilter" messages. |