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

Function connect_handler

plugins/examples/cln-plugin-startup.rs:158–161  ·  view source on GitHub ↗
(_p: Plugin<()>, v: serde_json::Value)

Source from the content-addressed store, hash-verified

156}
157
158async fn connect_handler(_p: Plugin<()>, v: serde_json::Value) -> Result<(), Error> {
159 log::info!("Got a connect notification: {}", v);
160 Ok(())
161}
162
163async fn peer_connected_handler(
164 _p: Plugin<()>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected