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

Method new

plugins/lsps-plugin/src/core/lsps2/handler.rs:51–53  ·  view source on GitHub ↗
(rpc_path: PathBuf)

Source from the content-addressed store, hash-verified

49
50impl ClnApiRpc {
51 pub fn new(rpc_path: PathBuf) -> Self {
52 Self { rpc_path }
53 }
54
55 async fn create_rpc(&self) -> AnyResult<ClnRpc> {
56 ClnRpc::new(&self.rpc_path).await

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected