JSON RPC: invoice exposeprivatechannels can specify exact channels.

Changelog-Changed: JSON API: `invoice` `exposeprivatechannels` can specify exact channel candidates.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-12-17 16:48:13 +10:30
committed by ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent 11dc1b341c
commit c74fceb4c9
5 changed files with 160 additions and 30 deletions

View File

@@ -45,5 +45,6 @@
/* Errors from `invoice` command */
#define INVOICE_LABEL_ALREADY_EXISTS 900
#define INVOICE_PREIMAGE_ALREADY_EXISTS 901
#define INVOICE_HINTS_GAVE_NO_ROUTES 902
#endif /* LIGHTNING_COMMON_JSONRPC_ERRORS_H */