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

Function propose_immediate_resolution

onchaind/onchaind.c:679–687  ·  view source on GitHub ↗

Create and broadcast this tx now */

Source from the content-addressed store, hash-verified

677
678/* Create and broadcast this tx now */
679static void propose_immediate_resolution(struct tracked_output *out,
680 const u8 *send_message TAKES,
681 enum tx_type tx_type)
682{
683 /* We add 1 to blockheight (meaning you can broadcast it now) to avoid
684 * having to check for < 0 in various places we print messages */
685 propose_resolution_to_master(out, send_message, out->tx_blockheight+1,
686 tx_type);
687}
688
689/* If UTXO reaches this block, ignore it (it's not for us, it's ok!) */
690static void propose_ignore(struct tracked_output *out,

Callers 4

steal_htlc_txFunction · 0.85
handle_preimageFunction · 0.85
steal_to_them_outputFunction · 0.85
steal_htlcFunction · 0.85

Calls 1

Tested by

no test coverage detected