MCPcopy Create free account
hub / github.com/ElementsProject/lightning / __init__

Method __init__

tests/test_currencyrate.py:116–119  ·  view source on GitHub ↗
(self, app)

Source from the content-addressed store, hash-verified

114
115class _ServerThread(threading.Thread):
116 def __init__(self, app):
117 super().__init__(daemon=True)
118 self._server = make_server("127.0.0.1", 0, app, threaded=True)
119 self.port = self._server.server_port
120
121 def run(self):
122 self._server.serve_forever()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected