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

Function new_proposed_resolution

onchaind/onchaind.c:642–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642static struct proposed_resolution *new_proposed_resolution(struct tracked_output *out,
643 unsigned int block_required,
644 enum tx_type tx_type)
645{
646 struct proposed_resolution *proposal = tal(out, struct proposed_resolution);
647 proposal->tx_type = tx_type;
648 proposal->depth_required = block_required - out->tx_blockheight;
649
650 return proposal;
651}
652
653/* Modern style: we don't create tx outselves, but tell lightningd. */
654static 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