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

Function json_to_psbt

common/json_parse.c:664–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664struct wally_psbt *json_to_psbt(const tal_t *ctx, const char *buffer,
665 const jsmntok_t *tok)
666{
667 return psbt_from_b64(ctx, buffer + tok->start, tok->end - tok->start);
668}
669
670bool
671json_tok_channel_id(const char *buffer, const jsmntok_t *tok,

Callers 8

hook_extract_psbtFunction · 0.85
addpsbt_get_resultFunction · 0.85
splice_init_get_resultFunction · 0.85
splice_update_get_resultFunction · 0.85
signpsbt_get_resultFunction · 0.85
splice_signed_get_resultFunction · 0.85
openchannel_update_okFunction · 0.85
signpsbt_doneFunction · 0.85

Calls 1

psbt_from_b64Function · 0.85

Tested by

no test coverage detected