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

Class HsmTool

tests/test_wallet.py:1302–1308  ·  view source on GitHub ↗

Helper for testing the hsmtool as a subprocess

Source from the content-addressed store, hash-verified

1300
1301
1302class HsmTool(TailableProc):
1303 """Helper for testing the hsmtool as a subprocess"""
1304 def __init__(self, directory, *args):
1305 self.prefix = "lightning-hsmtool"
1306 TailableProc.__init__(self, os.path.join(directory, "lightning-hsmtool"))
1307 assert hasattr(self, "env")
1308 self.cmd_line = ["tools/lightning-hsmtool", *args]
1309
1310
1311@unittest.skipIf(VALGRIND, "It does not play well with prompt and key derivation.")

Calls

no outgoing calls