Commit 821e28d
committed
Changelog-Added: Introduce support for alternative addresses for peer connections
- Added new configuration parameters: alt-addr, alt-bind-addr, and alt-announce-addr.
- Enhanced peer connection handling to use alternative addresses for selective private communications.
- Added database fields to store alternative addresses for peers.
- Implemented new RPC commands managing alternative addresses.
- Updated tests to verify the behavior of alternative address handling in different scenarios.
Signed-off-by: Max Rantil <[email protected]>1 parent 11586ab commit 821e28d
File tree
36 files changed
+1041
-283
lines changed- channeld
- cln-grpc
- proto
- src
- cln-rpc/src
- common
- connectd
- contrib
- msggen/msggen
- pyln-grpc-proto/pyln/grpc
- pyln-testing/pyln/testing
- doc
- schemas
- gossipd
- lightningd
- openingd
- tests
- wallet
- wire
36 files changed
+1041
-283
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
| 1592 | + | |
1592 | 1593 | | |
1593 | 1594 | | |
1594 | 1595 | | |
| |||
1672 | 1673 | | |
1673 | 1674 | | |
1674 | 1675 | | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
1675 | 1680 | | |
1676 | 1681 | | |
1677 | 1682 | | |
| |||
6678 | 6683 | | |
6679 | 6684 | | |
6680 | 6685 | | |
| 6686 | + | |
| 6687 | + | |
| 6688 | + | |
| 6689 | + | |
| 6690 | + | |
| 6691 | + | |
| 6692 | + | |
| 6693 | + | |
| 6694 | + | |
| 6695 | + | |
| 6696 | + | |
| 6697 | + | |
6681 | 6698 | | |
6682 | 6699 | | |
6683 | 6700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
194 | 200 | | |
195 | 201 | | |
196 | 202 | | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
535 | 542 | | |
536 | 543 | | |
537 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
538 | 555 | | |
539 | 556 | | |
540 | 557 | | |
| |||
4163 | 4180 | | |
4164 | 4181 | | |
4165 | 4182 | | |
| 4183 | + | |
| 4184 | + | |
| 4185 | + | |
4166 | 4186 | | |
4167 | 4187 | | |
4168 | 4188 | | |
| |||
4295 | 4315 | | |
4296 | 4316 | | |
4297 | 4317 | | |
| 4318 | + | |
4298 | 4319 | | |
4299 | 4320 | | |
4300 | 4321 | | |
| |||
5682 | 5703 | | |
5683 | 5704 | | |
5684 | 5705 | | |
| 5706 | + | |
| 5707 | + | |
| 5708 | + | |
| 5709 | + | |
| 5710 | + | |
| 5711 | + | |
| 5712 | + | |
| 5713 | + | |
| 5714 | + | |
| 5715 | + | |
| 5716 | + | |
| 5717 | + | |
| 5718 | + | |
| 5719 | + | |
| 5720 | + | |
5685 | 5721 | | |
5686 | 5722 | | |
5687 | 5723 | | |
5688 | 5724 | | |
5689 | 5725 | | |
| 5726 | + | |
| 5727 | + | |
| 5728 | + | |
5690 | 5729 | | |
5691 | 5730 | | |
5692 | 5731 | | |
| |||
5869 | 5908 | | |
5870 | 5909 | | |
5871 | 5910 | | |
5872 | | - | |
| 5911 | + | |
| 5912 | + | |
| 5913 | + | |
5873 | 5914 | | |
5874 | 5915 | | |
5875 | 5916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
736 | 737 | | |
737 | 738 | | |
738 | 739 | | |
| 740 | + | |
739 | 741 | | |
740 | 742 | | |
741 | 743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
319 | 340 | | |
320 | 341 | | |
321 | 342 | | |
| |||
505 | 526 | | |
506 | 527 | | |
507 | 528 | | |
| 529 | + | |
508 | 530 | | |
509 | 531 | | |
510 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
511 | 549 | | |
512 | 550 | | |
513 | 551 | | |
| |||
1413 | 1451 | | |
1414 | 1452 | | |
1415 | 1453 | | |
1416 | | - | |
| 1454 | + | |
| 1455 | + | |
1417 | 1456 | | |
1418 | 1457 | | |
1419 | 1458 | | |
| |||
2059 | 2098 | | |
2060 | 2099 | | |
2061 | 2100 | | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
2062 | 2136 | | |
2063 | 2137 | | |
2064 | 2138 | | |
| |||
2145 | 2219 | | |
2146 | 2220 | | |
2147 | 2221 | | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
2148 | 2227 | | |
2149 | 2228 | | |
2150 | 2229 | | |
| |||
2158 | 2237 | | |
2159 | 2238 | | |
2160 | 2239 | | |
| 2240 | + | |
| 2241 | + | |
2161 | 2242 | | |
2162 | 2243 | | |
2163 | 2244 | | |
| |||
0 commit comments