330 Commits (67ce27aac723d7b6ec9201cd2809798bcc8c6255)

Author SHA1 Message Date
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 65c09c895d wallet: properly handle case where peer has no address when saving channel. 7 years ago
Rusty Russell 81ca1db347 wallet: delete peers with no channels. 7 years ago
Rusty Russell 38a313af0d wallet: delete channels in state OPENINGD. 7 years ago
Rusty Russell 15eaf56d79 wallet: add ld pointer. 7 years ago
Christian Decker 37b96e9c95 wallet: Load any stored htlc_sigs when restoring channel 7 years ago
Christian Decker 3bb619fee4 wallet: Add primitive to store htlc_sigs in the database 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Christian Decker 4f5c47b43b wallet: Do not consider OPENINGD channels as active 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
ZmnSCPxj 1e6747c28e wallet: Pass in timers object during construction. 7 years ago
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
Rusty Russell bab3b1a16b wallet: get first blocknum from any channels. 7 years ago
Rusty Russell 661950e402 wallet: fix logic for finding first block. 7 years ago
Christian Decker 9588c961bb wallet: Forget channels that are irrevocably settled on-chain 7 years ago
Rusty Russell 6e703ad977 JSONRPC: listpayments can list just a specific bolt11 or payment_hash. 7 years ago
ZmnSCPxj d2789fd647 wallet: Properly save `wallet_payment::path_secrets`. 7 years ago
practicalswift 5697332677 Avoid potential NULL pointer dereference in wallet_payment_store(...) 7 years ago
Rusty Russell b81129f87e wallet: fix case of failed payment not yet in db. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 02e05ba6ff pay: remove struct pay_command. 7 years ago
Rusty Russell ae1d72b978 wallet: add routine to delete a payment. 7 years ago
Rusty Russell 0f8f273410 lightningd: move cmd pointer from struct pay_command directly into htlc_out. 7 years ago
Rusty Russell 559010f525 wallet: add path_secrets to payment table. 7 years ago
Rusty Russell 2cbe5b65c7 wallet: add preimage to db. 7 years ago
Björge Dijkstra d1b2a97146 Fix unitialized fields in htlc_out constructed from wallet database entry 7 years ago
Rusty Russell 3fbed24b0d wallet: remove direction column from payments table. 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
Christian Decker cc77012f63 wallet: Add last_was_revoke to channels 7 years ago
Christian Decker ad9bdd7844 wallet: Store msatoshi_received in the DB 7 years ago
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field. 7 years ago
Rusty Russell cce432b77f wallet_invoice_nextpaid: return a struct invoice. 7 years ago
Rusty Russell a66200832a wallet: hoist wallet_stmt2invoice() and note that it can't fail. 7 years ago
Christian Decker 7865b4a679 wallet: Use int64 when deserializing output value from db 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
Christian Decker 0bb264e1a2 wallet: Added unilateral close info to utxo 7 years ago
Rusty Russell 36316957e3 lightningd: set parent correctly for loaded peers. 7 years ago
Rusty Russell 93c589efe8 wallet: save block height when we first create channel. 7 years ago
Rusty Russell af0ed9e5cf db: add column for first block of channel. 7 years ago
Rusty Russell f5c319a37e wallet: remove unused wallet_channel_load(). 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
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
ZmnSCPxj 8e3c97762e invoice: Properly implement waitinvoice. 7 years ago