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

Function accepter_rbf_timeout

lightningd/dual_open_control.c:519–525  ·  view source on GitHub ↗

The channel itself is fine (its funding tx is signed and broadcast), so * only the RBF attempt is dropped. dualopend only reads the peer while * negotiating, so it can't act on the funding tx confirming until we * disconnect to unblock it; channel_cleanup_commands fires * channel_open_failed so funder cleans up its side of the attempt. */

Source from the content-addressed store, hash-verified

517 * disconnect to unblock it; channel_cleanup_commands fires
518 * channel_open_failed so funder cleans up its side of the attempt. */
519static void accepter_rbf_timeout(struct channel *channel)
520{
521 channel_disconnect(channel, LOG_INFORM, true,
522 tal_fmt(tmpctx,
523 "Peer did not complete RBF within %u seconds",
524 channel->peer->ld->dev_max_dualopen_negotiation_secs));
525}
526
527static void rbf_channel_hook_cb(struct rbf_channel_payload *payload STEALS)
528{

Callers

nothing calls this directly

Calls 1

channel_disconnectFunction · 0.85

Tested by

no test coverage detected