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

Function funder_opt_name

plugins/funder_policy.c:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <plugins/funder_policy.h>
10
11const char *funder_opt_name(enum funder_opt opt)
12{
13 switch (opt) {
14 case MATCH:
15 return "match";
16 case AVAILABLE:
17 return "available";
18 case FIXED:
19 return "fixed";
20 }
21 abort();
22}
23
24char *funding_option(const char *arg, enum funder_opt *opt)
25{

Callers 2

funder_policy_descFunction · 0.85
json_add_policyFunction · 0.85

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected