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

Function clone_psbt

bitcoin/psbt.c:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37struct wally_psbt *clone_psbt(const tal_t *ctx, const struct wally_psbt *psbt)
38{
39 struct wally_psbt *clone;
40 tal_wally_start();
41 if (wally_psbt_clone_alloc(psbt, 0, &clone) != WALLY_OK)
42 abort();
43 tal_wally_end_onto(ctx, clone, struct wally_psbt);
44 return clone;
45}
46
47struct wally_psbt *new_psbt(const tal_t *ctx, const struct wally_tx *wtx)
48{

Callers 13

bitcoin_tx_with_psbtFunction · 0.85
clone_bitcoin_txFunction · 0.85
json_sendpsbtFunction · 0.85
splice_accepterFunction · 0.85
json_openchannel_signedFunction · 0.85
handle_commit_receivedFunction · 0.85
single_splice_signedFunction · 0.85
linearize_inputFunction · 0.85

Calls 2

tal_wally_startFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected