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

Function print_features

devtools/bolt12-cli.c:261–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261static void print_features(const char *fieldname, const u8 *features)
262{
263 printf("%s:", fieldname);
264 for (size_t i = 0; i < tal_bytelen(features) * CHAR_BIT; i++) {
265 if (feature_is_set(features, i))
266 printf(" %zu", i);
267 }
268 printf("\n");
269}
270
271static bool print_blindedpaths(const char *fieldname,
272 struct blinded_path **paths,

Callers 1

mainFunction · 0.85

Calls 2

tal_bytelenFunction · 0.85
feature_is_setFunction · 0.85

Tested by

no test coverage detected