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

Method _node_msg

test/functional/test_framework/test_node.py:220–222  ·  view source on GitHub ↗

Return a modified msg that identifies this node by its index as a debugging aid.

(self, msg: str)

Source from the content-addressed store, hash-verified

218 return self.PRIV_KEYS[self.index]
219
220 def _node_msg(self, msg: str) -> str:
221 """Return a modified msg that identifies this node by its index as a debugging aid."""
222 return "[node %d] %s" % (self.index, msg)
223
224 def _raise_assertion_error(self, msg: str):
225 """Raise an AssertionError with msg modified to identify this node."""

Callers 8

__del__Method · 0.95
__getattr__Method · 0.95
get_wallet_rpcMethod · 0.95
stop_nodeMethod · 0.95
is_node_stoppedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected