lnrpc: add incoming chan list to BlindedPathConfig

Add an option to the addinvoice rpc which allows to specify
the blinded path via a list of chained channels.
This commit is contained in:
MPins committed 2025-05-13 17:02:43 -03:00
1 parent f541c442cf
commit 795b46a6fd
4 files changed
+1210 -1174

No files matched your search

+8
View File
@@ -534,6 +534,14 @@
"format": "byte"
},
"description": "A list of node IDs of nodes that should not be used in any of our generated\nblinded paths."
},
"incoming_channel_list": {
"type": "array",
"items": {
"type": "string",
"format": "uint64"
},
"description": "The chained channels list specified via channel id (separated by commas),\nstarting from a channel owned by the receiver node."
}
}
},
+1188 -1174
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -4002,6 +4002,12 @@ message BlindedPathConfig {
blinded paths.
*/
repeated bytes node_omission_list = 4;
/*
The chained channels list specified via channel id (separated by commas),
starting from a channel owned by the receiver node.
*/
repeated uint64 incoming_channel_list = 5;
}
enum InvoiceHTLCState {
+8
View File
@@ -3688,6 +3688,14 @@
"format": "byte"
},
"description": "A list of node IDs of nodes that should not be used in any of our generated\nblinded paths."
},
"incoming_channel_list": {
"type": "array",
"items": {
"type": "string",
"format": "uint64"
},
"description": "The chained channels list specified via channel id (separated by commas),\nstarting from a channel owned by the receiver node."
}
}
},