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

Function print_features

devtools/bolt12-cli.c:247–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247static void print_features(const u8 *features)
248{
249 printf("features:");
250 for (size_t i = 0; i < tal_bytelen(features) * CHAR_BIT; i++) {
251 if (feature_is_set(features, i))
252 printf(" %zu", i);
253 }
254 printf("\n");
255}
256
257static bool print_blindedpaths(struct blinded_path **paths,
258 struct blinded_payinfo **blindedpay)

Callers 1

mainFunction · 0.85

Calls 2

tal_bytelenFunction · 0.85
feature_is_setFunction · 0.50

Tested by

no test coverage detected