You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: doc/schemas/askrene-inform-channel.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
"layer": {
20
20
"type": "string",
21
21
"description": [
22
-
"The name of the layer to apply this change to."
22
+
"The name of the layer to apply this change to. Also causes us to consider any reservations which are local to that layer (which is useful for fake channels where `layer` is set in an `askrene-reserve` `path` object)."
Copy file name to clipboardExpand all lines: doc/schemas/askrene-reserve.json
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,13 @@
36
36
"description": [
37
37
"The amount to send into this hop."
38
38
]
39
+
},
40
+
"layer": {
41
+
"added": "v25.12",
42
+
"type": "string",
43
+
"description": [
44
+
"The layer to restrict this reservation to. This is only useful for fake channels which are not uniquely identified by `short_channel_id_dir`, which would otherwise confuse multiple unrelated callers."
0 commit comments