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

Function bitcoin_scriptsig_p2sh_p2wpkh

bitcoin/script.c:246–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246u8 *bitcoin_scriptsig_p2sh_p2wpkh(const tal_t *ctx, const struct pubkey *key)
247{
248 u8 *redeemscript =
249 bitcoin_redeem_p2sh_p2wpkh(NULL, key);
250 return bitcoin_scriptsig_redeem(ctx, take(redeemscript));
251}
252
253u8 **bitcoin_witness_p2wpkh(const tal_t *ctx,
254 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