diff options
author | Jim Posen <jim.posen@gmail.com> | 2019-06-30 15:42:13 +0200 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-05-26 17:38:20 -0400 |
commit | 11106a4722558765a44ae45c7892724a73ce514c (patch) | |
tree | 6e12384378e3d7a25c9f6d500cee2b09d57bbd71 /src/protocol.h | |
parent | e535670726952e43483763dfca6fc6ec2f4b0691 (diff) |
[net processing] Message handling for getcfilters.
Handle getcfilters request if -peercfilter is configured.
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index 9527dce960..f61b724b74 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -226,6 +226,17 @@ extern const char* GETBLOCKTXN; */ 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 * for those blocks. |