From 11106a4722558765a44ae45c7892724a73ce514c Mon Sep 17 00:00:00 2001 From: Jim Posen Date: Sun, 30 Jun 2019 15:42:13 +0200 Subject: [net processing] Message handling for getcfilters. Handle getcfilters request if -peercfilter is configured. --- src/protocol.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/protocol.h') diff --git a/src/protocol.h b/src/protocol.h index 9527dce960..f61b724b74 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -225,6 +225,17 @@ extern const char* GETBLOCKTXN; * @since protocol version 70014 as described by BIP 152 */ extern const char* BLOCKTXN; +/** + * getcfilters requests compact filters for a range of blocks. + * Only available with service bit NODE_COMPACT_FILTERS as described by + * BIP 157 & 158. + */ +extern const char* GETCFILTERS; +/** + * cfilter is a response to a getcfilters request containing a single compact + * filter. + */ +extern const char* CFILTER; /** * getcfheaders requests a compact filter header and the filter hashes for a * range of blocks, which can then be used to reconstruct the filter headers -- cgit v1.2.3