Commit 61e940f
committed
Remove counterparty_node_id from ChannelMonitorUpdate
The `counterparty_node_id` in `ChannelMonitorUpdate`s was only tracked
to guarantee we could backfill the `ChannelMonitor`'s field once the
update is applied. Now that we require the field to already be set at
the monitor level, we can remove it from the updates without backwards
compatibility concerns as it was written as an odd TLV.1 parent 1771fae commit 61e940f
File tree
4 files changed
+4
-28
lines changed- lightning/src
- chain
- ln
4 files changed
+4
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 77 | | |
87 | 78 | | |
88 | 79 | | |
| |||
117 | 108 | | |
118 | 109 | | |
119 | 110 | | |
120 | | - | |
| 111 | + | |
121 | 112 | | |
122 | 113 | | |
123 | 114 | | |
| |||
134 | 125 | | |
135 | 126 | | |
136 | 127 | | |
137 | | - | |
138 | 128 | | |
139 | 129 | | |
140 | | - | |
| 130 | + | |
141 | 131 | | |
142 | 132 | | |
143 | | - | |
| 133 | + | |
144 | 134 | | |
145 | 135 | | |
146 | 136 | | |
| |||
3194 | 3184 | | |
3195 | 3185 | | |
3196 | 3186 | | |
3197 | | - | |
3198 | | - | |
3199 | | - | |
3200 | | - | |
3201 | 3187 | | |
3202 | 3188 | | |
3203 | 3189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4385 | 4385 | | |
4386 | 4386 | | |
4387 | 4387 | | |
4388 | | - | |
4389 | 4388 | | |
4390 | 4389 | | |
4391 | 4390 | | |
| |||
4956 | 4955 | | |
4957 | 4956 | | |
4958 | 4957 | | |
4959 | | - | |
4960 | 4958 | | |
4961 | 4959 | | |
4962 | 4960 | | |
| |||
5664 | 5662 | | |
5665 | 5663 | | |
5666 | 5664 | | |
5667 | | - | |
5668 | 5665 | | |
5669 | 5666 | | |
5670 | 5667 | | |
| |||
5758 | 5755 | | |
5759 | 5756 | | |
5760 | 5757 | | |
5761 | | - | |
5762 | 5758 | | |
5763 | 5759 | | |
5764 | 5760 | | |
| |||
5951 | 5947 | | |
5952 | 5948 | | |
5953 | 5949 | | |
5954 | | - | |
5955 | 5950 | | |
5956 | 5951 | | |
5957 | 5952 | | |
| |||
7223 | 7218 | | |
7224 | 7219 | | |
7225 | 7220 | | |
7226 | | - | |
7227 | 7221 | | |
7228 | 7222 | | |
7229 | 7223 | | |
| |||
8505 | 8499 | | |
8506 | 8500 | | |
8507 | 8501 | | |
8508 | | - | |
8509 | 8502 | | |
8510 | 8503 | | |
8511 | 8504 | | |
| |||
8717 | 8710 | | |
8718 | 8711 | | |
8719 | 8712 | | |
8720 | | - | |
8721 | 8713 | | |
8722 | 8714 | | |
8723 | 8715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7277 | 7277 | | |
7278 | 7278 | | |
7279 | 7279 | | |
7280 | | - | |
7281 | 7280 | | |
7282 | 7281 | | |
7283 | 7282 | | |
| |||
13700 | 13699 | | |
13701 | 13700 | | |
13702 | 13701 | | |
13703 | | - | |
13704 | 13702 | | |
13705 | 13703 | | |
13706 | 13704 | | |
| |||
0 commit comments