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

Function complain_deprecated

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

Source from the content-addressed store, hash-verified

1037};
1038
1039static void complain_deprecated(const char *feature,
1040 bool allowing,
1041 struct depr_in *depr_in)
1042{
1043 if (!allowing) {
1044 /* Mild log message for disallowing */
1045 log_debug(depr_in->log, "Note: disallowing deprecated %s", feature);
1046 } else {
1047 log_broken(depr_in->log,
1048 "DEPRECATED API USED %s %s",
1049 feature,
1050 depr_in->details ? depr_in->details : "");
1051 }
1052}
1053
1054/* Do we accept this? */
1055bool lightningd_deprecated_in_ok(struct lightningd *ld,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected