mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
db: add invoicerequests table.
We no longer use offers for "I want to send you money", but we'll use invoice_requests directly. Create a new table for them, and associated functions. The "localofferid" for "pay" and "sendpay" is now "localinvreqid". This is an experimental-only option, so document the change under experimental only. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-EXPERIMENTAL: JSON-RPC: `pay` and `sendpay` `localofferid` is now `localinvreqid`.
This commit is contained in:
committed by
Christian Decker
parent
891cef7b2b
commit
02d7454226
@@ -45,7 +45,7 @@ enum jsonrpc_errcode {
|
||||
PAY_UNSPECIFIED_ERROR = 209,
|
||||
PAY_STOPPED_RETRYING = 210,
|
||||
PAY_STATUS_UNEXPECTED = 211,
|
||||
PAY_OFFER_INVALID = 212,
|
||||
PAY_INVOICE_REQUEST_INVALID = 212,
|
||||
|
||||
/* `fundchannel` or `withdraw` errors */
|
||||
FUND_MAX_EXCEEDED = 300,
|
||||
|
||||
Reference in New Issue
Block a user