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

Function notify_coin_mvt

lightningd/notification.c:534–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532 coin_movement_notification_serialize);
533
534void notify_coin_mvt(struct lightningd *ld,
535 const struct coin_mvt *mvt)
536{
537 void (*serialize)(struct json_stream *,
538 const struct coin_mvt *) = coin_movement_notification_gen.serialize;
539
540 struct jsonrpc_notification *n =
541 jsonrpc_notification_start(NULL, "coin_movement");
542 serialize(n->stream, mvt);
543 jsonrpc_notification_end(n);
544 plugins_notify(ld->plugins, take(n));
545}
546
547static void balance_snapshot_notification_serialize(struct json_stream *stream, struct balance_snapshot *snap)
548{

Callers 2

notify_channel_mvtFunction · 0.85
notify_chain_mvtFunction · 0.85

Calls 3

jsonrpc_notification_endFunction · 0.85
plugins_notifyFunction · 0.85

Tested by

no test coverage detected