Commit 13c5908
committed
Add MonitorUpdateCompletionAction::EmitForwardEvent
Indicates we should emit an Event::PaymentForwarded and possibly ack a monitor
event via Watch::ack_monitor_event.
This is generated when we've completed an inbound edge preimage update for an
HTLC forward, at which point it's safe to generate the forward event. If the
inbound edge is closed, a monitor event id may be included so we can tell the
outbound edge to stop telling us about the claim once the forward event is
processed by the user.1 parent 86a23fe commit 13c5908
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
1488 | 1499 | | |
1489 | 1500 | | |
1490 | 1501 | | |
| |||
1508 | 1519 | | |
1509 | 1520 | | |
1510 | 1521 | | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
1511 | 1526 | | |
1512 | 1527 | | |
1513 | 1528 | | |
| |||
10491 | 10506 | | |
10492 | 10507 | | |
10493 | 10508 | | |
| 10509 | + | |
| 10510 | + | |
| 10511 | + | |
| 10512 | + | |
| 10513 | + | |
| 10514 | + | |
| 10515 | + | |
| 10516 | + | |
| 10517 | + | |
| 10518 | + | |
| 10519 | + | |
10494 | 10520 | | |
10495 | 10521 | | |
10496 | 10522 | | |
| |||
0 commit comments