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

Function lightningd_deprecated_in_ok

lightningd/lightningd.c:1052–1071  ·  view source on GitHub ↗

Do we accept this? */

Source from the content-addressed store, hash-verified

1050
1051/* Do we accept this? */
1052bool lightningd_deprecated_in_ok(struct lightningd *ld,
1053 struct logger *log,
1054 bool deprecated_apis,
1055 const char *subsys,
1056 const char *api,
1057 const char *start,
1058 const char *end,
1059 const char *details)
1060{
1061 struct depr_in depr_in;
1062
1063 depr_in.log = log;
1064 depr_in.details = details;
1065
1066 return deprecated_ok(deprecated_apis,
1067 api_name(tmpctx, subsys, api),
1068 start, end,
1069 ld->api_begs,
1070 complain_deprecated, &depr_in);
1071}
1072
1073/*~ We fork out new processes very very often; every channel gets its own
1074 * process, for example, and we have `hsmd` and `gossipd` and the plugins as

Callers 3

opt_deprecated_okFunction · 0.70
plugin_opt_checkFunction · 0.70
command_deprecated_in_okFunction · 0.70

Calls 1

api_nameFunction · 0.85

Tested by

no test coverage detected