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

Function wally_tx_output_scripteq

onchaind/onchaind.c:155–159  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

153
154/* helper to compare output script with our tal'd script */
155static bool wally_tx_output_scripteq(const struct wally_tx_output *out,
156 const u8 *script)
157{
158 return memeq(out->script, out->script_len, script, tal_bytelen(script));
159}
160
161/* The feerate for the HTLC txs (which we grind) are the same as the
162 * 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