Commit 1102d80
committed
askrene: add optional layers to reservations.
We have the issue of aliases: xpay uses scids like 0x0x0 for
routehints and blinded paths, and then can apply reservations to them. But
generally, reservations are *global*, so we need to differentiate.
Changelog-Added: Plugins: `askrene-reserve` and `askrene-unreserve` can take an optional `layer` inside `path` elements.
Signed-off-by: Rusty Russell <[email protected]>1 parent da4edd2 commit 1102d80
File tree
15 files changed
+264
-158
lines changed- cln-grpc
- proto
- src
- cln-rpc/src
- contrib
- msggen/msggen
- pyln-grpc-proto/pyln/grpc
- doc/schemas
- plugins/askrene
- tests
15 files changed
+264
-158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| 784 | + | |
784 | 785 | | |
785 | 786 | | |
786 | 787 | | |
| |||
790 | 791 | | |
791 | 792 | | |
792 | 793 | | |
| 794 | + | |
793 | 795 | | |
794 | 796 | | |
795 | 797 | | |
| |||
4548 | 4550 | | |
4549 | 4551 | | |
4550 | 4552 | | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
4551 | 4557 | | |
4552 | 4558 | | |
4553 | 4559 | | |
| |||
4572 | 4578 | | |
4573 | 4579 | | |
4574 | 4580 | | |
| 4581 | + | |
| 4582 | + | |
| 4583 | + | |
| 4584 | + | |
4575 | 4585 | | |
4576 | 4586 | | |
4577 | 4587 | | |
| |||
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 | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | | - | |
| 1125 | + | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| |||
1879 | 1879 | | |
1880 | 1880 | | |
1881 | 1881 | | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
1882 | 1889 | | |
1883 | 1890 | | |
1884 | 1891 | | |
| |||
1980 | 1987 | | |
1981 | 1988 | | |
1982 | 1989 | | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
1983 | 1997 | | |
1984 | 1998 | | |
1985 | 1999 | | |
| |||
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 | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
152 | 153 | | |
153 | | - | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
156 | 165 | | |
157 | 166 | | |
158 | 167 | | |
| |||
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
551 | | - | |
552 | | - | |
| 560 | + | |
| 561 | + | |
553 | 562 | | |
554 | 563 | | |
555 | 564 | | |
| |||
916 | 925 | | |
917 | 926 | | |
918 | 927 | | |
919 | | - | |
| 928 | + | |
920 | 929 | | |
921 | | - | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
922 | 933 | | |
923 | 934 | | |
924 | 935 | | |
| |||
933 | 944 | | |
934 | 945 | | |
935 | 946 | | |
| 947 | + | |
936 | 948 | | |
937 | 949 | | |
938 | 950 | | |
939 | 951 | | |
940 | 952 | | |
941 | 953 | | |
942 | 954 | | |
943 | | - | |
| 955 | + | |
944 | 956 | | |
945 | 957 | | |
946 | 958 | | |
| |||
1065 | 1077 | | |
1066 | 1078 | | |
1067 | 1079 | | |
1068 | | - | |
| 1080 | + | |
1069 | 1081 | | |
1070 | 1082 | | |
1071 | 1083 | | |
| |||
0 commit comments