209 Commits (aad62fce6e1ae478bc6319ac58a6c08eabcfd0f4)

Author SHA1 Message Date
Christian Decker b6d583c26a db: Move tracking of pending statements into the `struct db` 5 years ago
Christian Decker 460299850f db: Add DB-specific db_last_insert_id 5 years ago
Christian Decker dffd3d79bc db: Add type-safe column access functions 5 years ago
Christian Decker a4e5371732 db: Add more type-safe bindings to the interface 5 years ago
Christian Decker c68efdfcf4 db: Migrate to DB abstraction layer in db.c 5 years ago
Christian Decker 716a3b11a5 sqlite3: Move begin transaction and commit into the driver 5 years ago
Christian Decker 492d77f213 db: Add setup and teardown function to DB 5 years ago
Christian Decker a2b5b1561e db: Add method to count changed rows of a db_stmt 5 years ago
Christian Decker d0027b1036 db: Implement basic query capabilities 5 years ago
Christian Decker 98963c58e4 db: Track whether a db_stmt has been executed 5 years ago
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