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

Method new

plugins/lsps-plugin/src/cln_adapters/rpc.rs:41–43  ·  view source on GitHub ↗
(rpc_path: PathBuf)

Source from the content-addressed store, hash-verified

39
40impl ClnApiRpc {
41 pub fn new(rpc_path: PathBuf) -> Self {
42 Self { rpc_path }
43 }
44
45 async fn create_rpc(&self) -> Result<ClnRpc> {
46 ClnRpc::new(&self.rpc_path).await

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected