mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
[test] Add test for cfheaders
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