80 Commits (dfce8b5efd6e28a429d6bd534915624258963fb1)

Author SHA1 Message Date
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
practicalswift 0bf1b01425 Fix typos 7 years ago
ZmnSCPxj d5d31864cf wallet: Remove onion-decoding information from db on payment success/fail. 7 years ago
ZmnSCPxj 693c718160 wallet: Add DB fields for recording routing failures. 7 years ago
Rusty Russell f8c8d55565 db: migrate old shutdown_keyidx_local -1 values onto key 0. 7 years ago
Christian Decker 50a8e32e3f db: Add index on utxoset.spendheight to speed up blockchain reorgs 7 years ago
Christian Decker ec014be2a8 db: Add utxoset table 7 years ago
Christian Decker 247aa13a58 db: Add index covering the output heights 7 years ago
Christian Decker 7f00230657 db: Add confirmation_height and spend_height columns to outputs 7 years ago
Christian Decker fea03dbca9 db: Add a table to track blockheaders 7 years ago
Igor Cota 2bb9797ddb Add bolt11 to the invoices db table as TEXT. 7 years ago
Rusty Russell b7ed5670d5 lightningd: close and reopen db across fork for daemonize 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 655ae90e5e wallet: remove obsolete peers. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell d47d85fa30 wallet: add list of upgrades. 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell 4ab7589427 sqlite3_column_arr: helper to allocate and read an array from a blob. 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
Rusty Russell 7eea02e846 db: don't allow newer db versions. 7 years ago
Christian Decker e1c0119373 db: Add table for htlc_sigs 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
ZmnSCPxj a88c73a41b invoices: Add `paid_timestamp` field. 7 years ago
Rusty Russell 559010f525 wallet: add path_secrets to payment table. 7 years ago
Rusty Russell 9b99b74c41 db: route to extract an array of struct secret from a column. 7 years ago
Rusty Russell 2cbe5b65c7 wallet: add preimage to db. 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
Christian Decker cc77012f63 wallet: Add last_was_revoke to channels 7 years ago
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field. 7 years ago
Christian Decker 0bb264e1a2 wallet: Added unilateral close info to utxo 7 years ago
Rusty Russell af0ed9e5cf db: add column for first block of channel. 7 years ago
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
ZmnSCPxj 3dd50d6219 wallet: Add pay_index column to database for paid invoice ordering. 7 years ago
Rusty Russell 9747d1a62c database: don't leak query string. 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell e302d6193c invoice: store expiry time in db. 7 years ago
Christian Decker 6601c43edc db: Add payments table 7 years ago
Rusty Russell f71a18241a wallet: save and restore htlc_basepoint for remote side. 7 years ago
Rusty Russell 9fd81ab06d db: make db_exec() an internal function. 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell 3282768302 wallet: don't fail, assume db ops will call fatal. 7 years ago
Rusty Russell 1eb7e92a30 db_migrate: get version inside transaction. 7 years ago
Rusty Russell b148b89baf db_exec_mayfail: variant of db_exec where we actually expect an error. 7 years ago
Rusty Russell 1f7e370fda db: rollback transaction if we had an error. 7 years ago
Rusty Russell 360aa15e4d db_query: don't remove transaction or set error if query fails. 7 years ago
Rusty Russell 5e46af64fc db: keep in_transaction as a counter, so we can nest commits. 7 years ago
Christian Decker 77789bb705 db: Implemented poor mans nested transactions 7 years ago