Commit ff8d3f7
committed
Reduce default max_channel_saturation_power_of_half to 2 (max 1/4)
Saturating a channel beyond 1/4 of its capacity seems like a more
reasonable threshold for avoiding a path than 1/2, especially given
we should still be willing to send a payment with a lower
saturation limit if it comes to that.
This requires an (obvious) change to some router tests, but also
requires a change to the `fake_network_test`, opting to simply
remove some over-limit test code there - `fake_network_test` was
our first ever functional test, and while it worked great to ensure
LDK worked at all on day one, we now have a rather large breadth
of functional tests, and a broad "does it work at all" test is no
longer all that useful.1 parent 985153e commit ff8d3f7
2 files changed
+8
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | 1062 | | |
1083 | 1063 | | |
1084 | 1064 | | |
| |||
1092 | 1072 | | |
1093 | 1073 | | |
1094 | 1074 | | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | 1075 | | |
1099 | 1076 | | |
1100 | 1077 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
4757 | 4757 | | |
4758 | 4758 | | |
4759 | 4759 | | |
4760 | | - | |
| 4760 | + | |
4761 | 4761 | | |
4762 | 4762 | | |
4763 | 4763 | | |
| |||
5741 | 5741 | | |
5742 | 5742 | | |
5743 | 5743 | | |
5744 | | - | |
| 5744 | + | |
5745 | 5745 | | |
5746 | 5746 | | |
5747 | 5747 | | |
| |||
5753 | 5753 | | |
5754 | 5754 | | |
5755 | 5755 | | |
5756 | | - | |
| 5756 | + | |
5757 | 5757 | | |
5758 | 5758 | | |
5759 | 5759 | | |
| |||
5762 | 5762 | | |
5763 | 5763 | | |
5764 | 5764 | | |
5765 | | - | |
5766 | | - | |
| 5765 | + | |
| 5766 | + | |
5767 | 5767 | | |
5768 | 5768 | | |
5769 | 5769 | | |
| |||
0 commit comments