[test] P2P functional test for certain fingerprinting protections
This commit is contained in:
1 parent
a2be3b66b5
commit
eff4bd8ab2
3 files changed
+161
-2
No files matched your search
@@ -1310,8 +1310,8 @@ class msg_getheaders(object):
|
||||
class msg_headers(object):
|
||||
command = b"headers"
|
||||
|
||||
def __init__(self):
|
||||
self.headers = []
|
||||
def __init__(self, headers=None):
|
||||
self.headers = headers if headers is not None else []
|
||||
|
||||
def deserialize(self, f):
|
||||
# comment in bitcoind indicates these should be deserialized as blocks
|
||||
|
||||
Reference in new issue
Block a user