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

Method get_db

tests/db.py:99–104  ·  view source on GitHub ↗
(self, node_directory, testname, node_id)

Source from the content-addressed store, hash-verified

97 pass
98
99 def get_db(self, node_directory, testname, node_id):
100 path = os.path.join(
101 node_directory,
102 'lightningd.sqlite3'
103 )
104 return Sqlite3Db(path)
105
106 def stop(self):
107 pass

Callers 2

__init__Method · 0.45

Calls 2

joinMethod · 0.80
Sqlite3DbClass · 0.70

Tested by 1