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

Function htlc_offered_wscript

common/htlc_tx.c:190–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190u8 *htlc_offered_wscript(const tal_t *ctx,
191 const struct ripemd160 *ripemd,
192 const struct keyset *keyset,
193 bool option_anchor_outputs,
194 bool option_anchors_zero_fee_htlc_tx)
195{
196 return bitcoin_wscript_htlc_offer_ripemd160(ctx,
197 &keyset->self_htlc_key,
198 &keyset->other_htlc_key,
199 ripemd,
200 &keyset->self_revocation_key,
201 option_anchor_outputs,
202 option_anchors_zero_fee_htlc_tx);
203}
204
205u8 *htlc_received_wscript(const tal_t *ctx,
206 const struct ripemd160 *ripemd,

Callers 2

add_offered_htlc_outFunction · 0.50
add_htlcsFunction · 0.50

Tested by

no test coverage detected