Commit b2573f5
committed
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 yet known.
Signed-off-by: Peter Neuroth <[email protected]>1 parent 5c0827e commit b2573f5
File tree
9 files changed
+902
-859
lines changed- cln-grpc
- proto
- src
- cln-rpc/src
- contrib
- msggen/msggen
- pyln-grpc-proto/pyln/grpc
- doc/schemas
- lightningd
- test
9 files changed
+902
-859
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3030 | 3030 | | |
3031 | 3031 | | |
3032 | 3032 | | |
| 3033 | + | |
3033 | 3034 | | |
3034 | 3035 | | |
3035 | 3036 | | |
| |||
10692 | 10693 | | |
10693 | 10694 | | |
10694 | 10695 | | |
| 10696 | + | |
| 10697 | + | |
| 10698 | + | |
| 10699 | + | |
10695 | 10700 | | |
10696 | 10701 | | |
10697 | 10702 | | |
| |||
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 | |
|---|---|---|---|
| |||
23853 | 23853 | | |
23854 | 23854 | | |
23855 | 23855 | | |
23856 | | - | |
| 23856 | + | |
23857 | 23857 | | |
23858 | | - | |
| 23858 | + | |
| 23859 | + | |
| 23860 | + | |
23859 | 23861 | | |
23860 | 23862 | | |
23861 | 23863 | | |
| |||
23867 | 23869 | | |
23868 | 23870 | | |
23869 | 23871 | | |
23870 | | - | |
| 23872 | + | |
23871 | 23873 | | |
23872 | 23874 | | |
23873 | 23875 | | |
23874 | 23876 | | |
23875 | 23877 | | |
23876 | 23878 | | |
23877 | | - | |
| 23879 | + | |
| 23880 | + | |
| 23881 | + | |
| 23882 | + | |
| 23883 | + | |
| 23884 | + | |
| 23885 | + | |
| 23886 | + | |
23878 | 23887 | | |
23879 | 23888 | | |
23880 | 23889 | | |
| |||
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 | | |
| |||
2631 | 2632 | | |
2632 | 2633 | | |
2633 | 2634 | | |
| 2635 | + | |
2634 | 2636 | | |
2635 | 2637 | | |
2636 | 2638 | | |
2637 | 2639 | | |
| 2640 | + | |
2638 | 2641 | | |
2639 | 2642 | | |
2640 | 2643 | | |
2641 | | - | |
| 2644 | + | |
| 2645 | + | |
2642 | 2646 | | |
2643 | | - | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
2644 | 2651 | | |
2645 | 2652 | | |
2646 | 2653 | | |
| |||
2653 | 2660 | | |
2654 | 2661 | | |
2655 | 2662 | | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
2656 | 2667 | | |
2657 | 2668 | | |
2658 | 2669 | | |
| |||
| 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