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

Function new_proposed_resolution

onchaind/onchaind.c:681–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681static struct proposed_resolution *new_proposed_resolution(struct tracked_output *out,
682 unsigned int block_required,
683 enum tx_type tx_type)
684{
685 struct proposed_resolution *proposal = tal(out, struct proposed_resolution);
686 proposal->tx_type = tx_type;
687 proposal->depth_required = block_required - out->tx_blockheight;
688
689 return proposal;
690}
691
692/* Modern style: we don't create tx outselves, but tell lightningd. */
693static void propose_resolution_to_master(struct tracked_output *out,

Callers 2

propose_ignoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected