mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02: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 ACK https://github.com/bitcoin/bitcoin/pull/19044/commits/9e36067d8cd02830c7e5a88a391dff6ac3adbe0c MarcoFalke: 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:
commit
07d0e0d59f
7 changed files with 215 additions and 30 deletions
|
|
@ -40,6 +40,8 @@ const char *SENDCMPCT="sendcmpct";
|
|||
const char *CMPCTBLOCK="cmpctblock";
|
||||
const char *GETBLOCKTXN="getblocktxn";
|
||||
const char *BLOCKTXN="blocktxn";
|
||||
const char *GETCFILTERS="getcfilters";
|
||||
const char *CFILTER="cfilter";
|
||||
const char *GETCFHEADERS="getcfheaders";
|
||||
const char *CFHEADERS="cfheaders";
|
||||
const char *GETCFCHECKPT="getcfcheckpt";
|
||||
|
|
@ -75,6 +77,8 @@ const static std::string allNetMessageTypes[] = {
|
|||
NetMsgType::CMPCTBLOCK,
|
||||
NetMsgType::GETBLOCKTXN,
|
||||
NetMsgType::BLOCKTXN,
|
||||
NetMsgType::GETCFILTERS,
|
||||
NetMsgType::CFILTER,
|
||||
NetMsgType::GETCFHEADERS,
|
||||
NetMsgType::CFHEADERS,
|
||||
NetMsgType::GETCFCHECKPT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue