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

Method send_block_inv

test/functional/p2p_sendheaders.py:132–135  ·  view source on GitHub ↗
(self, blockhash)

Source from the content-addressed store, hash-verified

130 self.send_message(msg)
131
132 def send_block_inv(self, blockhash):
133 msg = msg_inv()
134 msg.inv = [CInv(MSG_BLOCK, blockhash)]
135 self.send_message(msg)
136
137 def send_header_for_blocks(self, new_blocks):
138 headers_message = msg_headers()

Callers 1

test_nonnull_locatorsMethod · 0.45

Calls 3

CInvClass · 0.90
msg_invClass · 0.50
send_messageMethod · 0.45

Tested by 1

test_nonnull_locatorsMethod · 0.36