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

Function psbt_from_b64

bitcoin/psbt.c:868–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868struct wally_psbt *psbt_from_b64(const tal_t *ctx,
869 const char *b64,
870 size_t b64len)
871{
872 struct wally_psbt *psbt;
873
874 tal_wally_start();
875 if (wally_psbt_from_base64_n(b64, b64len, /* flags */ 0, &psbt) == WALLY_OK)
876 tal_add_destructor(psbt, psbt_destroy);
877 else
878 psbt = NULL;
879 tal_wally_end_onto(ctx, psbt, struct wally_psbt);
880
881 return psbt;
882}
883
884char *fmt_wally_psbt(const tal_t *ctx, const struct wally_psbt *psbt)
885{

Callers 9

json_to_psbtFunction · 0.85
param_psbtFunction · 0.85
check_psbt_comparisonFunction · 0.85
json_tok_psbtFunction · 0.85
after_signpsbtFunction · 0.85
after_fundpsbtFunction · 0.85
mw_after_fundpsbtFunction · 0.85
mw_after_signpsbtFunction · 0.85

Calls 1

tal_wally_startFunction · 0.85

Tested by 2

check_psbt_comparisonFunction · 0.68