Update -enforcenodebloom RPC test with filterclear vs filteradd

This commit is contained in:
Jack Grigg
2018-04-04 12:55:15 +01:00
parent 4f31d82395
commit 3fe2f3d143
2 changed files with 31 additions and 1 deletions

View File

@@ -1263,6 +1263,22 @@ class msg_reject(object):
% (self.message, self.code, self.reason, self.data)
class msg_filteradd(object):
command = "filteradd"
def __init__(self):
self.data = ""
def deserialize(self, f):
self.data = deser_string(f)
def serialize(self):
return ser_string(self.data)
def __repr__(self):
return "msg_filteradd(data=%s)" % (repr(self.data))
class msg_filterclear(object):
command = "filterclear"