mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Merge #19010: net processing: Add support for getcfheaders
5308c97cca[test] Add test for cfheaders (Jim Posen)f6b58c1506[net processing] Message handling for getcfheaders. (Jim Posen)3bdc7c2d39[doc] Add comment for m_headers_cache (John Newbery) Pull request description: Support `getcfheaders` requests when `-peerblockfilters` is set. Does not advertise compact filter support in version messages. ACKs for top commit: jkczyz: ACK5308c97ccaMarcoFalke: re-ACK5308c97cca, only change is doc related 🗂 theStack: ACK5308c97cca🚀 Tree-SHA512: 240fc654f6f634c191d9f7628b6c4801f87ed514a1dd55c7de5d454d4012d1c09509a2d5a246bc7da445cd920252b4cd56a493c060cdb207b04af4ffe53b95f7
This commit is contained in:
@@ -31,6 +31,7 @@ from test_framework.messages import (
|
||||
msg_block,
|
||||
MSG_BLOCK,
|
||||
msg_blocktxn,
|
||||
msg_cfheaders,
|
||||
msg_cfcheckpt,
|
||||
msg_cmpctblock,
|
||||
msg_feefilter,
|
||||
@@ -68,6 +69,7 @@ MESSAGEMAP = {
|
||||
b"addr": msg_addr,
|
||||
b"block": msg_block,
|
||||
b"blocktxn": msg_blocktxn,
|
||||
b"cfheaders": msg_cfheaders,
|
||||
b"cfcheckpt": msg_cfcheckpt,
|
||||
b"cmpctblock": msg_cmpctblock,
|
||||
b"feefilter": msg_feefilter,
|
||||
@@ -330,6 +332,7 @@ class P2PInterface(P2PConnection):
|
||||
def on_addr(self, message): pass
|
||||
def on_block(self, message): pass
|
||||
def on_blocktxn(self, message): pass
|
||||
def on_cfheaders(self, message): pass
|
||||
def on_cfcheckpt(self, message): pass
|
||||
def on_cmpctblock(self, message): pass
|
||||
def on_feefilter(self, message): pass
|
||||
|
||||
Reference in New Issue
Block a user