mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
lightningd: add low-level offer interfaces.
The real work is done in a plugin, but provide enough API that we can manipulate the db.
This commit is contained in:
committed by
Christian Decker
parent
3f4683e3f8
commit
d66dbd473a
@@ -76,4 +76,8 @@ static const errcode_t INVOICE_STATUS_UNEXPECTED = 906;
|
||||
/* Errors from HSM crypto operations. */
|
||||
static const errcode_t HSM_ECDH_FAILED = 800;
|
||||
|
||||
/* Errors from `offer` commands */
|
||||
static const errcode_t OFFER_ALREADY_EXISTS = 1000;
|
||||
static const errcode_t OFFER_ALREADY_DISABLED = 1001;
|
||||
|
||||
#endif /* LIGHTNING_COMMON_JSONRPC_ERRORS_H */
|
||||
|
||||
Reference in New Issue
Block a user