Commit e5eec2a
authored
Increase maximum number of accepted HTLCs to 19 (#817)
#800 included a lot of improvements on our data structure and removed data that was either redondant or could be re-computed.
This means that serialised channel states are smaller, and we can increase the number of pending HTLCs to 18 and stay below the 65 Kb size limit for LN messages.
Note that this applies to new channels only: existing ones will still use the previous value of 12 pending HTLCs.1 parent 40e91fe commit e5eec2a
File tree
2 files changed
+3
-3
lines changed- modules/core/src
- commonMain/kotlin/fr/acinq/lightning
- commonTest/kotlin/fr/acinq/lightning/serialization/channel
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments