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

Method get_db

contrib/pyln-testing/pyln/testing/db.py:113–118  ·  view source on GitHub ↗
(self, node_directory: str, testname: str, node_id: int)

Source from the content-addressed store, hash-verified

111 pass
112
113 def get_db(self, node_directory: str, testname: str, node_id: int) -> Sqlite3Db:
114 path = os.path.join(
115 node_directory,
116 'lightningd.sqlite3'
117 )
118 return Sqlite3Db(path)
119
120 def stop(self) -> None:
121 pass

Callers 1

get_nodeMethod · 0.45

Calls 2

joinMethod · 0.80
Sqlite3DbClass · 0.70

Tested by

no test coverage detected