74 Commits (6682248b919257053352e0d60bb8cb7d07ea4751)

Author SHA1 Message Date
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
Rusty Russell 81ca1db347 wallet: delete peers with no channels. 7 years ago
Rusty Russell 15eaf56d79 wallet: add ld pointer. 7 years ago
Christian Decker 3bb619fee4 wallet: Add primitive to store htlc_sigs in the database 7 years ago
practicalswift 2a979a2d5c Fix typos 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
ZmnSCPxj 59abc37258 invoices: Add expiration timer system. 7 years ago
ZmnSCPxj 9af923b6d0 wallet: Minor reorganization of struct invoice members. 7 years ago
ZmnSCPxj 1e6747c28e wallet: Pass in timers object during construction. 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
rvandermeer 4c0f7dbd04 Spelling corrections (#824) 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
practicalswift aefc887521 Fix typos 7 years ago
ZmnSCPxj a88c73a41b invoices: Add `paid_timestamp` field. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell ae1d72b978 wallet: add routine to delete a payment. 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
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 cce432b77f wallet_invoice_nextpaid: return a struct invoice. 7 years ago
ZmnSCPxj caab95b922 wallet_payment: Make msatoshi field nullable. 7 years ago
Christian Decker 37c2873c88 wallet: Store outputs from onchaind in the DB 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 993d5dc75a wallet: Implement wallet_invoice_nextpaid. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
Rusty Russell 3543530172 build_utxos: fix weight calculation, and make more accurate. 7 years ago
Rusty Russell ed8baf5f88 funding_spent: fix leaks. 7 years ago
Rusty Russell 8cd7ebb924 wallet: wallet_select_all to select everything. 7 years ago
Christian Decker 61852b4603 cleanup: Use check_act* in handshake and remove unused static inline 7 years ago
Christian Decker d912d45af8 wallet: Expose wallet_shachain_get_hash to remove warning 7 years ago
Christian Decker be97673259 wallet: Add function to retrieve a list of payments 7 years ago
Christian Decker 967dd6c776 wallet: Add functions to store and manipulate payments 7 years ago
Christian Decker 490ee76162 wallet: Add payment struct to track status of transfers 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell 7133a2f9b3 wallet: assume db errors will be fatal, don't check. 7 years ago
Christian Decker 49ed7c9ab0 wallet: Add primitives to retrieve htlc_stubs for channel 7 years ago
Christian Decker 9a106bf799 wallet: Add invoice removal support 7 years ago