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

Function psbt_get_lightning

bitcoin/psbt.c:570–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570void *psbt_get_lightning(const struct wally_map *map,
571 const u8 proprietary_type,
572 size_t *val_len)
573{
574 void *res;
575 u8 *key = psbt_make_key(NULL, proprietary_type, NULL);
576 res = psbt_get_unknown(map, key, val_len);
577 tal_free(key);
578 return res;
579}
580
581
582void psbt_output_set_unknown(const tal_t *ctx,

Callers 3

psbt_get_serial_idFunction · 0.85
psbt_input_is_oursFunction · 0.85
psbt_output_to_externalFunction · 0.85

Calls 3

psbt_make_keyFunction · 0.85
psbt_get_unknownFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected