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

Function psbt_input_is_ours

common/psbt_open.c:524–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522}
523
524bool psbt_input_is_ours(const struct wally_psbt_input *input)
525{
526 size_t unused;
527 void *result = psbt_get_lightning(&input->unknowns,
528 PSBT_TYPE_INPUT_MARKER, &unused);
529 return !(!result);
530}
531
532bool psbt_has_our_input(const struct wally_psbt *psbt)
533{

Callers 6

psbt_has_our_inputFunction · 0.85
remember_channel_utxosFunction · 0.85
signpsbtFunction · 0.85
unreserve_callFunction · 0.85
perform_signpsbtFunction · 0.85

Calls 1

psbt_get_lightningFunction · 0.85

Tested by

no test coverage detected