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

Method send_and_ping

test/functional/test_framework/p2p.py:542–544  ·  view source on GitHub ↗
(self, message, timeout=60)

Source from the content-addressed store, hash-verified

540 # Message sending helper functions
541
542 def send_and_ping(self, message, timeout=60):
543 self.send_message(message)
544 self.sync_with_ping(timeout=timeout)
545
546 def sync_send_with_ping(self, timeout=60):
547 """Ensure SendMessages is called on this connection"""

Callers 15

test_nonnull_locatorsMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
test_oversized_msgMethod · 0.45
run_testMethod · 0.45
test_tx_requestsMethod · 0.45

Calls 2

sync_with_pingMethod · 0.95
send_messageMethod · 0.45

Tested by 15

test_nonnull_locatorsMethod · 0.36
test_oversized_msgMethod · 0.36
test_tx_requestsMethod · 0.36
test_inv_blockMethod · 0.36
test_size_limitsMethod · 0.36
test_msg_mempoolMethod · 0.36
test_filterMethod · 0.36
test_sendcmpctMethod · 0.36