mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Merge #19044: net processing: Add support for getcfilters
9e36067d8c[test] Add test for cfilters. (Jim Posen)11106a4722[net processing] Message handling for getcfilters. (Jim Posen)e535670726[indexes] Fix default [de]serialization of BlockFilter. (Jim Posen)bb911ae7f5[refactor] Pass CNode and CConnman by reference (John Newbery) Pull request description: Support `getcfilters` requests when `-peerblockfilters` is set. Does not advertise compact filter support in version messages. ACKs for top commit: Empact: re-Code Review ACK9e36067d8cMarcoFalke: re-ACK9e36067d8c, only change is adding commit "[refactor] Pass CNode and CConnman by reference" 🥑 jkczyz: ACK9e36067d8cfjahr: Code review ACK9e36067d8cTree-SHA512: b45b42a25905ef0bd9e195029185300c86856c87f78cbe17921f4a25e159ae0f6f003e61714fa43779017eb97cd89d3568419be88e47d19dc8095562939e7887
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user