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

Function is_asterix_notification

common/plugin.c:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <common/plugin.h>
4
5bool is_asterix_notification(const char *notification_name, const char *subscription)
6{
7 bool is_special;
8 /* Asterisk is magic "all", and log notification
9 * is a special notification that must be turn on
10 * only if requested. */
11 is_special = streq(subscription, "*") && !streq(notification_name, "log");
12 if (is_special)
13 return true;
14 return false;
15}

Callers 2

ld_command_handleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected