199 Commits (82c49db841c838648a31bb71f1a66f550b06c34d)

Author SHA1 Message Date
Rusty Russell 1dde233a48 wallet: put explicit hook in for fatal error testing. 6 years ago
practicalswift 09ec0ae990 Return true or false from sqlite3_bind_* based on result from SQLite instead of always returning true 7 years ago
Rusty Russell 337075dc8c tal: don't access low-level tal functions. 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Christian Decker 7119a02932 db: Add description fields to invoices and payments 7 years ago
Rusty Russell ae17c64c4a db: full location tags for callers, make it implicit. 7 years ago
Rusty Russell b036948219 db: track open sqlite3_stmt in DEVELOPER mode. 7 years ago
Christian Decker 89ff46f1e6 db: Added DB migrations to get the correct sync height 7 years ago
Christian Decker 28feb2eb7d db: Add table for onchaind transactions 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ 11ca729d85 wallet, payalgo: Save detail of payment failures for later reporting. (#1345) 7 years ago
Christian Decker 0f89653ce8 db: Add table for transactions we are interested in 7 years ago
Christian Decker ffbe56847e db: Fixing some clang warnings 7 years ago
ZmnSCPxj f83c4ff903 wallet: Add msatoshi_to_us_min and msatoshi_to_us_max statistics for channels. 7 years ago
Rusty Russell 6bb47276ce lightningd: put min/max feerates into db, struct channel. 7 years ago
Christian Decker 1133820ad6 db: Add a cleanup migration to clear any dangling utxoset entries 7 years ago
Christian Decker eb531e6da7 db: Make sure to enable foreign keys even after forking 7 years ago
ZmnSCPxj b914062465 pay: Also record how much we actually ended up sending. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
ZmnSCPxj 0bb9bcc0f1 wallet: Track some channel usage statistics. 7 years ago
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