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

Function wally_tx_output_scripteq

onchaind/onchaind.c:158–162  ·  view source on GitHub ↗

helper to compare output script with our tal'd script */

Source from the content-addressed store, hash-verified

156
157/* helper to compare output script with our tal'd script */
158static bool wally_tx_output_scripteq(const struct wally_tx_output *out,
159 const u8 *script)
160{
161 return memeq(out->script, out->script_len, script, tal_bytelen(script));
162}
163
164/* The feerate for the HTLC txs (which we grind) are the same as the
165 * feerate for the main tx. However, there may be dust HTLCs which

Callers 6

record_mutual_closeFunction · 0.85
is_mutual_closeFunction · 0.85
handle_our_unilateralFunction · 0.85
handle_their_cheatFunction · 0.85
handle_their_unilateralFunction · 0.85

Calls 2

memeqFunction · 0.85
tal_bytelenFunction · 0.85

Tested by

no test coverage detected