Commit f761051
committed
Add EventCompletionAction::InboundPaymentClaimedChannelMonitorUpdate
When an Event::PaymentClaimed is processed by the user, we need to track that
so we don't keep regenerating the event redundantly on startup. Here we add an
event completion action for that.
Note that this action will only be generated for closed channels -- if the
channel is open, the inbound payment is pruned automatically when the HTLC is
no longer present in any unrevoked commitment transaction, which stops the
redundant event regeneration.
Similar to EventCompletionAction::ReleasePaymentCompleteChannelMonitorUpdate,
but for inbound payments.
Actual generation and handling of this completion action is added in an
upcoming commit.1 parent e744298 commit f761051
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1478 | 1493 | | |
1479 | 1494 | | |
1480 | 1495 | | |
| |||
1489 | 1504 | | |
1490 | 1505 | | |
1491 | 1506 | | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
1492 | 1513 | | |
1493 | 1514 | | |
1494 | 1515 | | |
| |||
1500 | 1521 | | |
1501 | 1522 | | |
1502 | 1523 | | |
1503 | | - | |
| 1524 | + | |
1504 | 1525 | | |
| 1526 | + | |
1505 | 1527 | | |
1506 | 1528 | | |
1507 | 1529 | | |
| |||
14818 | 14840 | | |
14819 | 14841 | | |
14820 | 14842 | | |
| 14843 | + | |
14821 | 14844 | | |
14822 | 14845 | | |
14823 | 14846 | | |
| |||
0 commit comments