diff options
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. |