MCPcopy Create free account
hub / github.com/ElementsProject/elements / msg_getdata

Class msg_getdata

test/functional/test_framework/messages.py:1680–1694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1678
1679
1680class msg_getdata:
1681 __slots__ = ("inv",)
1682 msgtype = b"getdata"
1683
1684 def __init__(self, inv=None):
1685 self.inv = inv if inv is not None else []
1686
1687 def deserialize(self, f):
1688 self.inv = deser_vector(f, CInv)
1689
1690 def serialize(self):
1691 return ser_vector(self.inv)
1692
1693 def __repr__(self):
1694 return "msg_getdata(inv=%s)" % (repr(self.inv))
1695
1696
1697class msg_getblocks:

Callers 14

run_testMethod · 0.90
run_testMethod · 0.90
run_testMethod · 0.90
run_testMethod · 0.90
on_invMethod · 0.90
request_blockMethod · 0.90
on_invMethod · 0.90
send_get_dataMethod · 0.50

Calls

no outgoing calls

Tested by 4

run_testMethod · 0.40