MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / send_get_headers

Method send_get_headers

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

Source from the content-addressed store, hash-verified

118 self.send_without_ping(msg)
119
120 def send_get_headers(self, locator, hashstop):
121 msg = msg_getheaders()
122 msg.locator.vHave = locator
123 msg.hashstop = hashstop
124 self.send_without_ping(msg)
125
126 def send_block_inv(self, blockhash):
127 msg = msg_inv()

Callers 2

test_null_locatorsMethod · 0.80
test_nonnull_locatorsMethod · 0.80

Calls 2

msg_getheadersClass · 0.85
send_without_pingMethod · 0.80

Tested by 2

test_null_locatorsMethod · 0.64
test_nonnull_locatorsMethod · 0.64