mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
JSON RPC: Calls made in shutdown loop receive error code -5: LIGHTNINGD_SHUTDOWN
This commit is contained in:
committed by
Rusty Russell
parent
209614677a
commit
0388314ef8
@@ -28,6 +28,9 @@ static const errcode_t PLUGIN_ERROR = -3;
|
||||
/* Plugin terminated while handling a request. */
|
||||
static const errcode_t PLUGIN_TERMINATED = -4;
|
||||
|
||||
/* Lightningd is shutting down while handling a request. */
|
||||
static const errcode_t LIGHTNINGD_SHUTDOWN = -5;
|
||||
|
||||
/* Errors from `pay`, `sendpay`, or `waitsendpay` commands */
|
||||
static const errcode_t PAY_IN_PROGRESS = 200;
|
||||
static const errcode_t PAY_RHASH_ALREADY_USED = 201;
|
||||
|
||||
Reference in New Issue
Block a user