224 Commits (a97e61244221454efbed9c1080b33928d3cfff72)

Author SHA1 Message Date
Rusty Russell 7ccf3af51d pytest: test the db hook plugin. 6 years ago
Rusty Russell f0200027b8 db: keep track of changes. 6 years ago
Rusty Russell e1e26ca69d db: create explicit separate API for select statements. 6 years ago
Rusty Russell 8c4ef7f059 db: avoid the only failing db_exec. 6 years ago
Michael Schmoock 1043df28be adds: new db fields and struct variables 6 years ago
Rusty Russell 60285187fd db: support more powerful migrations. 6 years ago
Rusty Russell bef7d45f1c db: remove manual db_migration_count function. 6 years ago
Rusty Russell b65c279557 db: don't enter into db_upgrades table on every startup. 6 years ago
Rusty Russell 919f390a93 sendpay: rename 'description' to 'label'. 6 years ago
Rusty Russell 5e14274f41 sendpay: provide 'bolt11' parameter. 6 years ago
Christian Decker df4e0a0022 wallet: Add scriptPubkey to struct utxo 6 years ago
Rusty Russell 6ed54dd34e db: fix dangling peers on db upgrade. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell 1d1fcc41b8 db: add amount functions. 6 years ago
Christian Decker a405c22fc9 daemon: Fix issue 2348, db->filenam not being correctly initialized 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell be64dd84ca waitsendpay: indicate which channel direction the error was. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell 31a375af53 lightningd: add runtime checking for all system-provided libs. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker 07ebc525e9 wallet: Add new `forwards` table to keep track of forwarded payments 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rusty Russell cefb6925b2 db: save and restore last_sent_commit correctly. 6 years ago
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago
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