File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 7575
7676## Breaking Changes
7777
78+ * Added [ duplicate safety to ` switch.SendHTLC ` ] ( https://github.com/lightningnetwork/lnd/pull/10049 ) . This method will no longer
79+ forward an onion with the same attempt ID twice without the result for a given
80+ ID having been cleaned from the network result store. This ensures "at most
81+ once" delivery and request processing of a given HTLC attempt, allowing a
82+ remote router or rpc client to safely retry htlc dispatch requests without
83+ creating duplicate attempts. This extends the more narrow duplicate safety
84+ already provided by the Switch’s ` CircuitMap ` .
85+
86+ * The ` ChannelRouter ` has been updated to robustly handle the new error contract
87+ from the idempotent ` switch.SendHTLC ` function. When faced with a persistent
88+ and ambiguous dispatch error, the router will now prioritize fund safety by
89+ halting the payment's life-cycle manager. This prevents a class of bugs where
90+ an ambiguous error could be misinterpreted, potentially leading to a duplicate
91+ payment. Final resolution of the ambiguous attempt is safely deferred to the
92+ router's attempt resumption logic on restart.
93+
94+
7895## Performance Improvements
7996
8097## Deprecations
You can’t perform that action at this time.
0 commit comments