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

Function funder_opt_name

plugins/funder_policy.c:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

jsonfmt_funding_optionFunction · 0.85
funder_policy_descFunction · 0.85
json_add_policyFunction · 0.85

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected