44 Commits (280523e72a305c96b3a2e63793379e9a1e6f1f8e)

Author SHA1 Message Date
Rusty Russell 81c89aaef8 wallet: add invoice features into db. 5 years ago
Rusty Russell ef7a820ab1 log: make formatting more consistent. 5 years ago
Christian Decker b89222f2d9 db: Adjust queries to work with postgres 5 years ago
Christian Decker ec8efe02e1 db: Switch to indirect `db_last_insert_id` version 5 years ago
Christian Decker f19dc2ecc1 db: Migrate invoices.c to new abstraction layer 5 years ago
Christian Decker 803007ecdf db: Make the `db` struct private and provide accessors instead 5 years ago
Christian Decker 57f91246cf wallet: Change db_select_prepare to check for select instead 5 years ago
Christian Decker b856bb2f54 wallet: Expand select query field lists from macros 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 5 years ago
Rusty Russell 4370ffa978 autoclean: make this a plugin. 6 years ago
Christian Decker 762ab5f056 invoice: Assert that an invoice is unresolved when resolving it 6 years ago
Rusty Russell e1e26ca69d db: create explicit separate API for select statements. 6 years ago
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell 3e53a63cf2 wallet: do wallet_invoice init during preparation. 6 years ago
Christian Decker 2d1190d929 wallet: Add missing description field to the invoices iteration 6 years ago
Christian Decker fbbc5899e4 invoices: Make the invoice_details more idiomatic 6 years ago
Christian Decker 259a69994d json-rpc: Retrieve the invoice description in listinvoices 6 years ago
Christian Decker 7f45947523 wallet: Store the description in the database for invoices 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell b036948219 db: track open sqlite3_stmt in DEVELOPER mode. 7 years ago
ZmnSCPxj 079778e357 invoice: Check duplicate preimage when explicitly sprcified. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
ZmnSCPxj 159e736fc1 invoices: Implement autocleaninvoice. 7 years ago
ZmnSCPxj 3b0081aebb invoices: Add delexpiredinvoice command. 7 years ago
practicalswift 03e2e404f2 Mark unused parameters as such (using "UNUSED") 7 years ago
practicalswift 9970419b3a Remove redundant return from void function 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell 242a934b8c wallet: add check-source to makefile. 7 years ago
Igor Cota cb6820d445 Do preimage, hash and consequentially bolt11 generation before we store the invoice in db. 7 years ago
ZmnSCPxj efc5da9ad4 invoices: Use common code for loading r and rhash. 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
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
ZmnSCPxj 59abc37258 invoices: Add expiration timer system. 7 years ago
ZmnSCPxj 1e6747c28e wallet: Pass in timers object during construction. 7 years ago
Rusty Russell 2443d45b47 delinvoice: fixes. 7 years ago
ZmnSCPxj 7b6a16a3a6 invoices: Do not load `pay_index` if not PAID. 7 years ago
ZmnSCPxj a88c73a41b invoices: Add `paid_timestamp` field. 7 years ago
ZmnSCPxj 93dc90990f invoices: Extensive reorganization of invoice system. 7 years ago