From 0df712aaed06e286b1b3e062ba7e97aac062d42f Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 8 Oct 2022 21:25:44 +0000 Subject: [PATCH] Add a pending changelog entry for the past few commits --- pending_changelog/matt-idempotent-payments.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pending_changelog/matt-idempotent-payments.txt diff --git a/pending_changelog/matt-idempotent-payments.txt b/pending_changelog/matt-idempotent-payments.txt new file mode 100644 index 000000000..e837594e4 --- /dev/null +++ b/pending_changelog/matt-idempotent-payments.txt @@ -0,0 +1,16 @@ +API Changes +=========== + + * Payment sending methods now take an explicit `PaymentId`, which acts as an + idempotency token. You may use the PaymentHash for this, which existing + `InvoicePayer` send methods do, new `_with_id` variants were added (#XXXX). + * Pending outbound payments are no longer automatically timed-out a few blocks + after failure. Thus, in order to avoid leaking memory, you MUST call + `ChannelManager::abandon_payment` when you no longer wish to retry (#XXXX). + +Serialization Compatibility +=========================== + + * When downgrading to a version of LDK prior to THIS_VERSION_XXX when there are + resolved payments waiting for a small timeout, the payments may not be + removed, preventing payments with the same `PaymentId`. -- 2.39.5