mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
[test] P2P functional test for certain fingerprinting protections
This commit is contained in:
@@ -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