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

Method _node_msg

test/functional/test_framework/test_node.py:116–118  ·  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

114 return PRIV_KEYS[self.index]
115
116 def _node_msg(self, msg: str) -> str:
117 """Return a modified msg that identifies this node by its index as a debugging aid."""
118 return "[node %d] %s" % (self.index, msg)
119
120 def _raise_assertion_error(self, msg: str):
121 """Raise an AssertionError with msg modified to identify this node."""

Callers 7

__del__Method · 0.95
__getattr__Method · 0.95
get_wallet_rpcMethod · 0.95
is_node_stoppedMethod · 0.95
p2pMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected