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

Method custommessages

plugins/src/lib.rs:343–346  ·  view source on GitHub ↗

Tells lightningd explicitly to allow custommmessages of the provided type

(mut self, custommessages: Vec<u16>)

Source from the content-addressed store, hash-verified

341 /// Tells lightningd explicitly to allow custommmessages of the provided
342 /// type
343 pub fn custommessages(mut self, custommessages: Vec<u16>) -> Self {
344 self.custommessages = custommessages;
345 self
346 }
347
348 /// Communicate with `lightningd` to tell it about our options,
349 /// RPC methods and subscribe to hooks, and then process the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected