Commit 2971f5d
lightningd: add channel_id filter to listpeerchannels
Sometimes we don't know the short_channel_id yet (e.g the channel has
not been broadcasted), but we still know the channel_id from the funding
transaction. Add a channel_id filter to listpeerchannels and clarify
that id, short_channel_id and channel_id are mutually exclusive.
Changelog-Added: `listpeerchannels` now accepts a `channel_id` filter,
for cases where the `short_channel_id` is not known yet.
Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>1 parent 31ad743 commit 2971f5d
12 files changed
Lines changed: 917 additions & 859 deletions
File tree
- cln-grpc
- proto
- src
- cln-rpc/src
- contrib
- msggen/msggen
- pyln-client/pyln/client
- pyln-grpc-proto/pyln/grpc
- doc/schemas
- lightningd
- test
- plugins/lsps-plugin/src/cln_adapters
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3045 | 3045 | | |
3046 | 3046 | | |
3047 | 3047 | | |
| 3048 | + | |
3048 | 3049 | | |
3049 | 3050 | | |
3050 | 3051 | | |
| |||
10757 | 10758 | | |
10758 | 10759 | | |
10759 | 10760 | | |
| 10761 | + | |
| 10762 | + | |
| 10763 | + | |
| 10764 | + | |
10760 | 10765 | | |
10761 | 10766 | | |
10762 | 10767 | | |
| |||
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 | |
|---|---|---|---|
| |||
23509 | 23509 | | |
23510 | 23510 | | |
23511 | 23511 | | |
23512 | | - | |
| 23512 | + | |
23513 | 23513 | | |
23514 | | - | |
| 23514 | + | |
| 23515 | + | |
| 23516 | + | |
23515 | 23517 | | |
23516 | 23518 | | |
23517 | 23519 | | |
| |||
23523 | 23525 | | |
23524 | 23526 | | |
23525 | 23527 | | |
23526 | | - | |
| 23528 | + | |
23527 | 23529 | | |
23528 | 23530 | | |
23529 | 23531 | | |
23530 | 23532 | | |
23531 | 23533 | | |
23532 | 23534 | | |
23533 | | - | |
| 23535 | + | |
| 23536 | + | |
| 23537 | + | |
| 23538 | + | |
| 23539 | + | |
| 23540 | + | |
| 23541 | + | |
| 23542 | + | |
23534 | 23543 | | |
23535 | 23544 | | |
23536 | 23545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
1064 | 1065 | | |
1065 | 1066 | | |
1066 | 1067 | | |
| |||
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 | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
2630 | 2631 | | |
2631 | 2632 | | |
2632 | 2633 | | |
| 2634 | + | |
2633 | 2635 | | |
2634 | 2636 | | |
2635 | 2637 | | |
2636 | 2638 | | |
| 2639 | + | |
2637 | 2640 | | |
2638 | 2641 | | |
2639 | 2642 | | |
2640 | | - | |
| 2643 | + | |
| 2644 | + | |
2641 | 2645 | | |
2642 | | - | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
2643 | 2650 | | |
2644 | 2651 | | |
2645 | 2652 | | |
| |||
2652 | 2659 | | |
2653 | 2660 | | |
2654 | 2661 | | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
2655 | 2666 | | |
2656 | 2667 | | |
2657 | 2668 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments