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

Function notify_balance_snapshot

lightningd/notification.c:548–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546REGISTER_NOTIFICATION(balance_snapshot);
547
548void notify_balance_snapshot(struct lightningd *ld,
549 const struct balance_snapshot *snap)
550{
551 struct jsonrpc_notification *n = notify_start(ld, "balance_snapshot");
552 if (!n)
553 return;
554 balance_snapshot_serialize(n->stream, snap);
555 notify_send(ld, n);
556}
557
558static void block_added_notification_serialize(struct json_stream *stream,
559 const struct block *block)

Callers 1

Calls 3

notify_startFunction · 0.85
notify_sendFunction · 0.85

Tested by

no test coverage detected