199 Commits (82c49db841c838648a31bb71f1a66f550b06c34d)

Author SHA1 Message Date
Christian Decker e65e4fcf4b wallet: Call db_stmt_free from the db_stmt destructor automatically 5 years ago
Christian Decker 093f5bfbec db: Switch to new DB asbtraction for DB migrations 6 years ago
Christian Decker 38601afd17 db: Implement skaffolding for the dispatch of DB-specific functions 6 years ago
Christian Decker 455aa48da0 wallet: Move the struct db definition to db_common.h 6 years ago
Christian Decker e04772ec9c wallet: Move the db_fatal definition so we can use it in drivers 6 years ago
Christian Decker acedcc593f wallet: Look up the db_config for the given driver in db_open 6 years ago
Christian Decker e4ab98459c wallet: Add tooling to extract SQL queries and generate driver info 6 years ago
Christian Decker 803007ecdf db: Make the `db` struct private and provide accessors instead 6 years ago
Christian Decker 66a47d2761 wallet: Annotate migrations using the SQL macro 6 years ago
Christian Decker 57f91246cf wallet: Change db_select_prepare to check for select instead 6 years ago
Christian Decker f08fd9eaab wallet: Remove printf-like db_select variant 6 years ago
Rusty Russell 979fbeb3b0 lightningd: simplify --daemon. 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Christian Decker 1e2291c40c db: Add channel_id and type to the transactions table 6 years ago
trueptolemy b41d529b28 DB: Store the remote channel announcement signatures into DB 6 years ago
ZmnSCPxj edfb1ace4a wallet/db.c: Be resilient against 32-bit time_t. 6 years ago
trueptolemy 8a2312565c DB: add failcode field in forwarded_payments table 6 years ago
Rusty Russell 7ead29b695 db: add support for remote end specify option_upfront_shutdown_script. 6 years ago
Christian Decker 75de2e2f3c wallet: Record the received_time and resolved_time for HTLCs 6 years ago
Christian Decker 2ce9a1e10d wallet: Add `received_time` to `htlc_in` for forwarding times 6 years ago
Christian Decker fcf133cd0a db: Add timestamp primitives so we can store them in the DB 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
lisa neigut ee1c82a7a7 db: fix memleak introduced with sqlite3_expanded_sql 6 years ago
Rusty Russell 03108e6501 db: fall back to deprecated sqlite3_trace() for db hook on old sqlite3. 6 years ago
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