mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
[net processing] Message handling for getcfheaders.
if -peerblockfilters is configured, handle requests for cfheaders.
This commit is contained in:
parent
3bdc7c2d39
commit
f6b58c1506
3 changed files with 100 additions and 5 deletions
|
|
@ -40,6 +40,8 @@ const char *SENDCMPCT="sendcmpct";
|
|||
const char *CMPCTBLOCK="cmpctblock";
|
||||
const char *GETBLOCKTXN="getblocktxn";
|
||||
const char *BLOCKTXN="blocktxn";
|
||||
const char *GETCFHEADERS="getcfheaders";
|
||||
const char *CFHEADERS="cfheaders";
|
||||
const char *GETCFCHECKPT="getcfcheckpt";
|
||||
const char *CFCHECKPT="cfcheckpt";
|
||||
} // namespace NetMsgType
|
||||
|
|
@ -73,6 +75,8 @@ const static std::string allNetMessageTypes[] = {
|
|||
NetMsgType::CMPCTBLOCK,
|
||||
NetMsgType::GETBLOCKTXN,
|
||||
NetMsgType::BLOCKTXN,
|
||||
NetMsgType::GETCFHEADERS,
|
||||
NetMsgType::CFHEADERS,
|
||||
NetMsgType::GETCFCHECKPT,
|
||||
NetMsgType::CFCHECKPT,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue