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

Function start_aging_timer

plugins/xpay/xpay.c:3252–3259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3250}
3251
3252static void start_aging_timer(struct plugin *plugin)
3253{
3254 struct xpay *xpay = xpay_of(plugin);
3255
3256 if (xpay->dev_no_age)
3257 return;
3258 notleak(global_timer(plugin, time_from_sec(60), age_layer, NULL));
3259}
3260
3261static struct command_result *xpay_layer_created(struct command *aux_cmd,
3262 const char *method,

Callers 2

age_doneFunction · 0.85
xpay_layer_createdFunction · 0.85

Calls 2

xpay_ofFunction · 0.85
time_from_secFunction · 0.85

Tested by

no test coverage detected