135 Commits (xprv-restore)

Author SHA1 Message Date
carla 74373f26b9
invoices/test: add height expiry watcher tests with registry 3 years ago
carla 85e56dbfb7
invoices/test: add test for hodl invoices 3 years ago
carla 34de5922ed
multi: add height-based invoice expiry 3 years ago
Conner Fromknecht 2ecd1de713
config: expose distinct accept-amp flag 3 years ago
Conner Fromknecht b0949054e5
invoices: fail HTLCs that target the wrong type of invoice 3 years ago
Conner Fromknecht 8402e346f5
channeldb/invoice: fail extra HTLC sets immeidately 3 years ago
Conner Fromknecht 70efaa5fe2
invoices: use HTLCSet method with state filter 3 years ago
Conner Fromknecht d93c3298b7
channeldb+invoice: add state filter to HTLCSet 3 years ago
carla 7536dd8179
invoices: refactor - add method to handle expected cancelation errors 3 years ago
carla 039e9f439c
invoices: refactor - update timestamp expiry to use specific names 3 years ago
carla d29f2fe4f9
invoices: refactor - move cancel check into separate function 3 years ago
carla 4cd48c52ea
invoices: refactor - add interface for expiry items 3 years ago
carla 9c6e83b15f
invoices: refactor - rename expiry queue to be timestamp specific 3 years ago
carla f5f1e9e6c7
invoices: refactor - rename invoiceExpiry to invoiceExpiryTs 3 years ago
Andras Banki-Horvath ec50f2ccce
invoices: more verbose logging for startup invoice GC 3 years ago
yyforyongyu 72097059cc
invoices: remove unused param in notifyClients 3 years ago
Roei Erez 3223df74e5 channelnotifier+discover+invoices: return error in Stop functions 3 years ago
Conner Fromknecht ea934e1be9
invoices: add TestSpontaneousAmpPayment 3 years ago
Conner Fromknecht 90a255078d
invoices: reconstruct AMP child preimages 3 years ago
Conner Fromknecht 88b72ab398
invoices: add processAMP 3 years ago
Conner Fromknecht 3fb70dd936
invoices: add checkSettleResolution and checkFailResolution 3 years ago
Conner Fromknecht 7e2f5a184b
channeldb: validate feature dependencies when adding invoice 3 years ago
Conner Fromknecht 7bed359296
channeldb: refactor InvoiceRef.String() with all optional fields 3 years ago
Conner Fromknecht 174d577524
channeldb: make payhash on InvoiceRef optional 3 years ago
Conner Fromknecht 68688d6346
invoices: replace all asserts with requires 3 years ago
Conner Fromknecht 137258fb58
invoices/invoiceregistry: unbundle invalid preimage error 3 years ago
Conner Fromknecht 9da3e7fc90
invoices: filter HTLC set by set id from AMP payload 3 years ago
Conner Fromknecht b2234703f6
invoices+channeldb: add HTLCSet method to invoice 3 years ago
Conner Fromknecht 464dff09ac
invoices: expose AMPRecord() method on Payload 3 years ago
Olaoluwa Osuntokun 530059f18b
invoices: force MPP payload inclusion for non-keysend payments 3 years ago
Andras Banki-Horvath 478cf704be
invoices: reduce heap usage when starting the expiry watcher 4 years ago
Andras Banki-Horvath 2aa680ede2
invoices: optionally garbage collect invoices on the fly 4 years ago
Andras Banki-Horvath a0d7877d9a
multi: make canceled invoice garbage collection configurable 4 years ago
Andras Banki-Horvath 0ea763d83c
invoices: attempt to delete old invoices upon start 4 years ago
Andras Banki-Horvath 92f3b0a30c
channeldb+invoices: add ScanInvoices and integrate with InvoiceRegistry 4 years ago
Andras Banki-Horvath ba3c65bfd6
invoices: re-format overreaching code lines 4 years ago
Olaoluwa Osuntokun 81f6b4dcfe
invoices: add String() method to failure resolution outcome 4 years ago
Joost Jager 24e3234dfa
invoices: optionally hold and auto-cancel keysend payments 4 years ago
Conner Fromknecht 20dea0d6bc
invoices/invoiceregistry: explicitly set blank pay addr for keysend 4 years ago
Conner Fromknecht 47cf144170
invoices: ensure ntfns are sent in the same order 4 years ago
Joost Jager d416ed59ea
multi: add explicit hodl invoice flag to invoice 4 years ago
Conner Fromknecht cbf71b5452
channeldb+invoices: use payment addr as primary index 4 years ago
Conner Fromknecht 3522f09a08
channeldb+invoices: track invoices by InvoiceRef 4 years ago
Conner Fromknecht 2799202fd9
invoices/invoiceregistry: rename updateCtx to ctx 4 years ago
Conner Fromknecht 6a02fa1107
invoices/invoiceregistry: properly synchronize backlog 4 years ago
Conner Fromknecht 5b747715fc
invoices: return error from SubscribeNotifications on shutdown 4 years ago
Andras Banki-Horvath 1a13f822c6 invoices: remove dead code from logger 4 years ago
Andras Banki-Horvath 70fc9c1901 invoices: elminitate sleep from expiry watcher tests 4 years ago
Conner Fromknecht 310e20f8b7
invoices/invoiceregistry: remove debug spew 4 years ago
carla 1ad395ec3f
htlcswitch: add failure details to incoming failures 4 years ago