test: add BIP37 'filterclear' test to p2p_filter.py

This commit is contained in:
Sebastian Falbesoner
2020-03-31 00:10:32 +02:00
parent 7e1fc03b18
commit 0055922958
3 changed files with 28 additions and 0 deletions

View File

@@ -1356,6 +1356,23 @@ class msg_filterload:
self.data, self.nHashFuncs, self.nTweak, self.nFlags)
class msg_filterclear:
__slots__ = ()
command = b"filterclear"
def __init__(self):
pass
def deserialize(self, f):
pass
def serialize(self):
return b""
def __repr__(self):
return "msg_filterclear()"
class msg_feefilter:
__slots__ = ("feerate",)
command = b"feefilter"