403 Commits (438953b8f0af6bc891dce33841473458d1e6c943)

Author SHA1 Message Date
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
ZmnSCPxj 993d5dc75a wallet: Implement wallet_invoice_nextpaid. 7 years ago
ZmnSCPxj 3dd50d6219 wallet: Add pay_index column to database for paid invoice ordering. 7 years ago
Rusty Russell 887e9dcc44 travis: reenable check-source (without BOLT text). 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
William Casarin bcd49b063b fixup! wallet: insert address into peers table 7 years ago
William Casarin d89eb32c85 wallet: insert address into peers table 7 years ago
Rusty Russell 3543530172 build_utxos: fix weight calculation, and make more accurate. 7 years ago
Rusty Russell 41a5d19198 wallet: don't leak channel struct when peer freed. 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
ZmnSCPxj 4022fc0034 wallet.c: Minor leak in wallet_invoices_load. 7 years ago
Rusty Russell bbbbb60863 wallet: don't leak string on update. 7 years ago
Rusty Russell 5a319c781c wallet: don't leak UTXO array on extracting outputs. 7 years ago
Rusty Russell be35895847 lightningd: instead of malformed code, keep generic error code. 7 years ago
Christian Decker 6beb4eb171 wallet: Fix a column mismatch and use absolute column indices 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell f1e4cad9d4 feerate: use u32 everywhere. 7 years ago
Rusty Russell e302d6193c invoice: store expiry time in db. 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
Rusty Russell f71a18241a wallet: save and restore htlc_basepoint for remote side. 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell f4d27eefa1 wallet: remove internal transactions. 7 years ago
Rusty Russell 7133a2f9b3 wallet: assume db errors will be fatal, don't check. 7 years ago
Rusty Russell 3282768302 wallet: don't fail, assume db ops will call fatal. 7 years ago
Rusty Russell bbe7a03300 wallet: use db_exec_mayfail() for wallet_add_utxo. 7 years ago
Christian Decker 77789bb705 db: Implemented poor mans nested transactions 7 years ago