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

Method send_get_headers

test/functional/p2p_sendheaders.py:126–130  ·  view source on GitHub ↗
(self, locator, hashstop)

Source from the content-addressed store, hash-verified

124 self.send_message(msg)
125
126 def send_get_headers(self, locator, hashstop):
127 msg = msg_getheaders()
128 msg.locator.vHave = locator
129 msg.hashstop = hashstop
130 self.send_message(msg)
131
132 def send_block_inv(self, blockhash):
133 msg = msg_inv()

Callers 2

test_null_locatorsMethod · 0.45
test_nonnull_locatorsMethod · 0.45

Calls 2

msg_getheadersClass · 0.50
send_messageMethod · 0.45

Tested by 2

test_null_locatorsMethod · 0.36
test_nonnull_locatorsMethod · 0.36