60 Commits (6391645b83742013ad63aa159c8b307d238c93c3)

Author SHA1 Message Date
Igor Cota cb6820d445 Do preimage, hash and consequentially bolt11 generation before we store the invoice in db. 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 9b4c6699f9 invoices: Semantically separate invoice details from invoice. 7 years ago
ZmnSCPxj bd07a91782 jsonrpc: Let Base58 '2..' address work on both regtest and testnet. 7 years ago
John Barboza b028a0a439 invoice: add fallback address to invoice command 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
ZmnSCPxj 9be4e159ae invoice: Disable overlong description. 7 years ago
ZmnSCPxj 532833cd78 invoice: Return the invoice as a detailed error on expiration 7 years ago
ZmnSCPxj 59abc37258 invoices: Add expiration timer system. 7 years ago
alaniz b7856e3512 Onboarding: tweak grammar conventions for RPC responses 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
practicalswift 5631054152 Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 7 years ago
Rusty Russell 8797159825 Use consistent names for timestamps. 7 years ago
Rusty Russell 5e0a5c9111 JSONRPC: delinvoice: have a status argument. 7 years ago
Rusty Russell 2443d45b47 delinvoice: fixes. 7 years ago
Rusty Russell bd010d4b96 listinvoices: deprecate 'complete' in favor of 'status' trinary. 7 years ago
Rusty Russell 843ede78c6 JSONRPC: listinvoices: wrap array in 'invoices' field. 7 years ago
Rusty Russell 1a641c823c JSONRPC: Make listinvoice an deprecated alias for listinvoices. 7 years ago
Rusty Russell e745572dfb JSONPRC: decodepay: print 'c' value. 7 years ago
ZmnSCPxj a88c73a41b invoices: Add `paid_timestamp` field. 7 years ago
Rusty Russell dea0aef52f wallet: use wallet_payment only for *outgoing* payments. 7 years ago
ZmnSCPxj 93dc90990f invoices: Extensive reorganization of invoice system. 7 years ago
Rusty Russell 6d7c8c8dd0 doc: manpages for pay, listpayments and decodepay. 7 years ago
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field. 7 years ago
Rusty Russell 66885163c9 JSON: Rename rhash to payment_hash in delinvoice, invoice, listinvoice, waitinvoice, waitanyinvoice. 7 years ago
Rusty Russell cc4caf9d69 invoice: common routine for invoice to json. 7 years ago
Rusty Russell cce432b77f wallet_invoice_nextpaid: return a struct invoice. 7 years ago
ZmnSCPxj c402d834e7 invoice: Rename 'amount' argument of 'invoice' RPC to 'msatoshi'. 7 years ago
ZmnSCPxj 816298123f invoice: Allow "any" msatoshi, for amountless invoices. 7 years ago
ZmnSCPxj caab95b922 wallet_payment: Make msatoshi field nullable. 7 years ago
ZmnSCPxj 50471bf4fe invoice: Make msatoshi field nullable. 7 years ago
ZmnSCPxj 7221476553 invoice: Clarify comments about the two loops in resolve_invoice. 7 years ago
ZmnSCPxj 5eceaa7be9 invoice: Modify waitanyinvoice interface to use pay_index. 7 years ago
ZmnSCPxj 3003b7346c invoice: Add pay_index member to struct invoice. 7 years ago
ZmnSCPxj 8e3c97762e invoice: Properly implement waitinvoice. 7 years ago
ZmnSCPxj 773f7524dd invoice: Factor out invoice deletion code. 7 years ago
ZmnSCPxj 1de339eff6 invoice: Use wallet_invoice_nextpaid in waitanyinvoice implementation. 7 years ago
Rusty Russell 1356913143 invoice: remove strange code. 7 years ago
Rusty Russell 8c665835fa jsonrpc: make explicit call to indicate cmd is still pending. 7 years ago
Rusty Russell 0610f66c34 bolt11: handle r value fee spec change. 7 years ago
Christian Decker 9ba99d2b2d hsm: Cleanup after merging control and client libraries 7 years ago
Rusty Russell 18db1105c7 json_invoice: return absolute expiry_time 7 years ago
Rusty Russell 45f5bb7fac bolt11: move to common/ and sign via callback. 7 years ago
Rusty Russell 35a6ab8151 invoice: don't allow payments in expired invoices. 7 years ago
Rusty Russell 1e6d5d82aa invoice: record expiry in data structure. 7 years ago
Rusty Russell 2d05644dfd json_invoice: add optional expiry argument. 7 years ago
Rusty Russell fbc5ba12e4 invoice: simplify find_invoice_by_label. 7 years ago
Rusty Russell 70f15fb068 json_invoice: remove 'r' argument. 7 years ago
Christian Decker 6ceb375650 wallet: Record issued invoices in the payments table 7 years ago