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

Function validate_psbt

bitcoin/psbt.c:921–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921bool validate_psbt(const struct wally_psbt *psbt)
922{
923 size_t len;
924 return wally_psbt_get_length(psbt, 0, &len) == WALLY_OK;
925}
926
927struct wally_psbt *psbt_from_bytes(const tal_t *ctx, const u8 *bytes,
928 size_t byte_len)

Callers 5

json_addpsbtoutputFunction · 0.85
json_addpsbtinputFunction · 0.85
json_splice_initFunction · 0.85
json_splice_updateFunction · 0.85
json_splice_signedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected