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

Function bitcoin_scriptsig_p2sh_p2wpkh

bitcoin/script.c:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245u8 *bitcoin_scriptsig_p2sh_p2wpkh(const tal_t *ctx, const struct pubkey *key)
246{
247 u8 *redeemscript =
248 bitcoin_redeem_p2sh_p2wpkh(NULL, key);
249 return bitcoin_scriptsig_redeem(ctx, take(redeemscript));
250}
251
252u8 **bitcoin_witness_p2wpkh(const tal_t *ctx,
253 const struct bitcoin_signature *sig,

Callers 1

psbt_using_utxosFunction · 0.85

Calls 2

bitcoin_scriptsig_redeemFunction · 0.85

Tested by

no test coverage detected