Commit 409c7c1
authored
Don't store anchor transaction in channel data (#3187)
We don't need to store the anchor transaction in our channel data when
closing a channel: this isn't used anywhere and unnecessarily uses
space in our DB.
Also, once the commit tx is confirmed, we don't need to watch the
anchor output again on restarts.1 parent 51a144c commit 409c7c1
File tree
3 files changed
+9
-11
lines changed- eclair-core/src
- main/scala/fr/acinq/eclair/channel
- fsm
- test/scala/fr/acinq/eclair/channel/states/h
3 files changed
+9
-11
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1645 | 1645 | | |
1646 | 1646 | | |
1647 | 1647 | | |
1648 | | - | |
1649 | | - | |
| 1648 | + | |
| 1649 | + | |
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
| |||
1672 | 1672 | | |
1673 | 1673 | | |
1674 | 1674 | | |
1675 | | - | |
1676 | | - | |
| 1675 | + | |
| 1676 | + | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
1700 | | - | |
| 1699 | + | |
| 1700 | + | |
1701 | 1701 | | |
1702 | 1702 | | |
1703 | 1703 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
996 | | - | |
997 | 996 | | |
998 | 997 | | |
999 | 998 | | |
| |||
1010 | 1009 | | |
1011 | 1010 | | |
1012 | 1011 | | |
1013 | | - | |
1014 | 1012 | | |
1015 | 1013 | | |
1016 | 1014 | | |
| |||
1252 | 1250 | | |
1253 | 1251 | | |
1254 | 1252 | | |
1255 | | - | |
| 1253 | + | |
1256 | 1254 | | |
1257 | 1255 | | |
1258 | 1256 | | |
| |||
0 commit comments