224 Commits (90ad541cd2a15249506ac497b7e2f4c5b69ed4c8)

Author SHA1 Message Date
Christian Decker 07f8d9046a db: Change migrations to use types of the correct cardinality 5 years ago
Christian Decker 6b26ce5764 db: Split the vars table to have type-specific columns 5 years ago
Christian Decker 074af11e43 db: Select driver by dsn prefix 5 years ago
Christian Decker ad89699888 db: Allow some internal queries to fail 5 years ago
Christian Decker db6abda3a4 db: Adjust some db migrations to be compatible with postgres 5 years ago
Christian Decker 640e64cb73 db: Switch statement lookup to use the original query instead 5 years ago
Christian Decker 3df8ccd3e0 db: Reorder migrations to reflect their relationship 5 years ago
Christian Decker e2f7c86271 db: Move remainder of the sqlite3 into the apropriate file 5 years ago
Rusty Russell 11ee089d4b db: store option_static_remotekey for each channel. 5 years ago
Rusty Russell acf3952acc JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 5 years ago
Rusty Russell 91dcd1d55a db: convert pre-Adelaide short_channel_ids. 5 years ago
Christian Decker 58f448904c db: Extract db config lookup into its own function 5 years ago
Christian Decker c6b6958ae6 db: Remove sqlite3 from db.c and db.h 5 years ago
Christian Decker a29bedb5b8 db: Switch to indirect db close 5 years ago
Christian Decker 742bcdb2bc db: Move statement expansion into the driver 5 years ago
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 5 years ago
Christian Decker 38601afd17 db: Implement skaffolding for the dispatch of DB-specific functions 5 years ago
Christian Decker 455aa48da0 wallet: Move the struct db definition to db_common.h 5 years ago
Christian Decker e04772ec9c wallet: Move the db_fatal definition so we can use it in drivers 5 years ago
Christian Decker acedcc593f wallet: Look up the db_config for the given driver in db_open 5 years ago
Christian Decker e4ab98459c wallet: Add tooling to extract SQL queries and generate driver info 5 years ago
Christian Decker 803007ecdf db: Make the `db` struct private and provide accessors instead 5 years ago
Christian Decker 66a47d2761 wallet: Annotate migrations using the SQL macro 5 years ago
Christian Decker 57f91246cf wallet: Change db_select_prepare to check for select instead 5 years ago
Christian Decker f08fd9eaab wallet: Remove printf-like db_select variant 5 years ago
Rusty Russell 979fbeb3b0 lightningd: simplify --daemon. 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 5 years ago
Christian Decker 1e2291c40c db: Add channel_id and type to the transactions table 5 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. 5 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