71 Commits (52917ff6c9922d636ab3ff6f9f68e41c4a5503bf)

Author SHA1 Message Date
ZmnSCPxj 2e73317a39 invoice: Define specific error codes for duplicate label and preimage. 7 years ago
ZmnSCPxj 079778e357 invoice: Check duplicate preimage when explicitly sprcified. 7 years ago
ZmnSCPxj eb42804fcc invoice: Support providing preimage when making invoice. 7 years ago
Rusty Russell 09c4203767 bolt11: allow multiple fallback addresses. 7 years ago
Rusty Russell a85ead7058 invoice: allow numeric labels again. 7 years ago
Rusty Russell 9f7d4312ff bolt11: undo json encoding for description bytes. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
ZmnSCPxj 159e736fc1 invoices: Implement autocleaninvoice. 7 years ago
ZmnSCPxj 3b0081aebb invoices: Add delexpiredinvoice command. 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
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