167 Commits (3f3a48dae92626765ebc12208353962c9f7873de)

Author SHA1 Message Date
Rusty Russell 27835df8fd wallet: add accessor getting close-info-needed unconfirmed UTXOs. 6 years ago
Rusty Russell 7c856470e2 wallet: add buildtime and runtime assertions on db enums. 6 years ago
Rene Pickhardt 8b902729b9 added a test case so that the enum wallet_payment_status which is critical for the communitcation with the data store will not accidentely being changed by some developer 7 years ago
Christian Decker fbbc5899e4 invoices: Make the invoice_details more idiomatic 7 years ago
Christian Decker 7f45947523 wallet: Store the description in the database for invoices 7 years ago
Christian Decker ff5ca37f3c wallet: Add descriptions to invoice and payment structs 7 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 7 years ago
Christian Decker 024dca0fff wallet: Return both min and max block heights 7 years ago
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