mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 20:15:18 +02:00
channeldb: save outgoing payments
Add structure for outgoing payments. Saving payment in DB after successful payment send. Add RPC call for listing all payments.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
343cd7779f
commit
eb4d0e035e
@@ -14,6 +14,8 @@ var (
|
||||
ErrNoInvoicesCreated = fmt.Errorf("there are no existing invoices")
|
||||
ErrDuplicateInvoice = fmt.Errorf("invoice with payment hash already exists")
|
||||
|
||||
ErrNoPaymentsCreated = fmt.Errorf("there are no existing payments")
|
||||
|
||||
ErrNodeNotFound = fmt.Errorf("link node with target identity not found")
|
||||
ErrMetaNotFound = fmt.Errorf("unable to locate meta information")
|
||||
|
||||
|
Reference in New Issue
Block a user