Commit 5485d1b
committed
Don't apply
If updates returned from failed paths are permanently applied to our
graph in a manner observable to the rest of the network, malicious
intermediaries may be able to fail HTLCs and infer the payment origin.
Here, we therefore avoid permanent application of network updates and
will rather switch to consider them temporarily for payment retries in
the next step.NetworkUpdate from failed paths to NetworkGraph
1 parent c86cacd commit 5485d1b
2 files changed
+9
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | 229 | | |
240 | 230 | | |
241 | 231 | | |
| |||
636 | 626 | | |
637 | 627 | | |
638 | 628 | | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | 629 | | |
643 | 630 | | |
644 | 631 | | |
| |||
768 | 755 | | |
769 | 756 | | |
770 | 757 | | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | 758 | | |
776 | 759 | | |
777 | 760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
624 | 628 | | |
625 | 629 | | |
626 | 630 | | |
627 | | - | |
628 | | - | |
| 631 | + | |
| 632 | + | |
629 | 633 | | |
630 | 634 | | |
631 | 635 | | |
| |||
0 commit comments