109 Commits (52917ff6c9922d636ab3ff6f9f68e41c4a5503bf)

Author SHA1 Message Date
ZmnSCPxj 079778e357 invoice: Check duplicate preimage when explicitly sprcified. 7 years ago
Christian Decker 96352858d6 chaintopology: Simplify rescan offset computation 7 years ago
Christian Decker 876d698f3c wallet: Add primitives to store onchaind transactions in the DB 7 years ago
Christian Decker d2dc93e3cb wallet: Add a struct to represent an onchaind transaction 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ 11ca729d85 wallet, payalgo: Save detail of payment failures for later reporting. (#1345) 7 years ago
Christian Decker f27cd3e43f topo: Remove in-memory txs from the block struct 7 years ago
Christian Decker 23984ecde4 chaintopology: Use the DB to locate transactions and rebroadcast txs 7 years ago
Christian Decker 85fbab2fab wallet: Add function to retrieve a watched transaction's blockheight 7 years ago
Christian Decker 633ffeec6f wallet: Add methods to add transactions to the DB 7 years ago
Christian Decker a8d587c418 wallet: Return any eventual outpoint scid when marking it spent 7 years ago
Christian Decker ba7341ec87 cleanup: Make blockheights unsigned 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
ZmnSCPxj b914062465 pay: Also record how much we actually ended up sending. 7 years ago
ZmnSCPxj 0bb9bcc0f1 wallet: Track some channel usage statistics. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift a4059ef83e Use expected LIGHTNING_DIR_FILE_H define 7 years ago
ZmnSCPxj 159e736fc1 invoices: Implement autocleaninvoice. 7 years ago
ZmnSCPxj 3b0081aebb invoices: Add delexpiredinvoice command. 7 years ago
Rusty Russell 1b9791f0f5 pay: delete HTLC when we delete payment. 7 years ago
ZmnSCPxj 693c718160 wallet: Add DB fields for recording routing failures. 7 years ago
Christian Decker 387ba76920 wallet: Add method to retrieve outpoints from the utxoset 7 years ago
Christian Decker 27e0ec694c wallet: Add primitive to register new utxoset outpoint to the wallet 7 years ago
Christian Decker d8d11e5689 wallet: Add outpointfilter for the utxoset 7 years ago
Christian Decker ae30942e3f chaintopo: Record outpoint spends for owned outputs 7 years ago
Christian Decker 7fc06d9b3e wallet: Add outpointfilter to wallet so we can pass it all outputs 7 years ago
Christian Decker 227dc36146 utxo: Add blockheight and spendheight to outputs to track state 7 years ago
Christian Decker 9440b23852 wallet: Add primitive to roll back to a specific height 7 years ago
Christian Decker 504202973f wallet: Add primitives to store blockchain internally 7 years ago
Igor Cota cb6820d445 Do preimage, hash and consequentially bolt11 generation before we store the invoice in db. 7 years ago
Igor Cota 3371168d54 Add bolt11 to the invoice struct. 7 years ago
ZmnSCPxj 978e5c67d8 invoices: Remove persistent in-memory invoice structures. 7 years ago
ZmnSCPxj f05c86618c invoices: Change iteration interface to be more abstract. 7 years ago
ZmnSCPxj e9112af0bc invoices: Move expiration timer to invoices object. 7 years ago
ZmnSCPxj 7a6fe0704e invoices: Unify waitone/any waiters to invoices object. 7 years ago
ZmnSCPxj 9b4c6699f9 invoices: Semantically separate invoice details from invoice. 7 years ago
Rusty Russell 3c0be71d37 wallet: make static, not dynamic decision to insert for everything. 7 years ago
Rusty Russell 72108f0cb9 wallet: don't use rowid for the channel's DBID. 7 years ago
Christian Decker b2819f9f97 wallet: Add check that wallet matches the network on startup 7 years ago
Rusty Russell 6620305606 wallet: use last_processed_block to determine scan start. 7 years ago
Rusty Russell 6a3ccafaf9 wallet: don't implicitly remove peers, but do it explicitly. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Rusty Russell 81ca1db347 wallet: delete peers with no channels. 7 years ago
Rusty Russell 15eaf56d79 wallet: add ld pointer. 7 years ago
Christian Decker 3bb619fee4 wallet: Add primitive to store htlc_sigs in the database 7 years ago
practicalswift 2a979a2d5c Fix typos 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
ZmnSCPxj 59abc37258 invoices: Add expiration timer system. 7 years ago
ZmnSCPxj 9af923b6d0 wallet: Minor reorganization of struct invoice members. 7 years ago