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

Function proposal_is_rbfable

onchaind/onchaind.c:1054–1060  ·  view source on GitHub ↗

proposal_is_rbfable * * @brief returns true if the given proposal * would be RBFed if the output it is tracking * increases in depth without being spent. */

Source from the content-addressed store, hash-verified

1052 * increases in depth without being spent.
1053 */
1054static bool proposal_is_rbfable(const struct proposed_resolution *proposal)
1055{
1056 /* Future onchain resolutions, such as anchored commitments, might
1057 * want to RBF as well.
1058 */
1059 return proposal->tx_type == OUR_PENALTY_TX;
1060}
1061
1062/** proposal_should_rbf
1063 *

Callers 3

proposal_should_rbfFunction · 0.85
proposal_meets_depthFunction · 0.85
tx_new_depthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected