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:
4 files changed
+1210
-1174
No files matched your search
@@ -534,6 +534,14 @@
|
|||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
"description": "A list of node IDs of nodes that should not be used in any of our generated\nblinded paths."
|
"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
File diff suppressed because it is too large.
Load diff
@@ -4002,6 +4002,12 @@ message BlindedPathConfig {
|
|||||||
blinded paths.
|
blinded paths.
|
||||||
*/
|
*/
|
||||||
repeated bytes node_omission_list = 4;
|
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 {
|
enum InvoiceHTLCState {
|
||||||
|
|||||||
@@ -3688,6 +3688,14 @@
|
|||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
"description": "A list of node IDs of nodes that should not be used in any of our generated\nblinded paths."
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user