57 Commits (234252016da8c40afe37e26b7162a45180719939)

Author SHA1 Message Date
Rusty Russell aa6aad0131 common: add struct onionreply 5 years ago
Christian Decker 2c11c54dd2 db: Track the data_version in the database 5 years ago
Christian Decker 6020a0d587 db: Consolidate access to the changes in a db 5 years ago
Rusty Russell ef7a820ab1 log: make formatting more consistent. 5 years ago
Christian Decker 12f40f2227 db: Add _or_default variants for column accesses 5 years ago
Christian Decker 640e64cb73 db: Switch statement lookup to use the original query instead 5 years ago
Christian Decker c6b6958ae6 db: Remove sqlite3 from db.c and db.h 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 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 e65e4fcf4b wallet: Call db_stmt_free from the db_stmt destructor automatically 5 years ago
Christian Decker 38601afd17 db: Implement skaffolding for the dispatch of DB-specific functions 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 5270c149e3 wallet: Add macro to annotate SQL statements 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 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 f4d44d84bf db: typo fixed from review. 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
neil saitug 7f89ce43cc Update wallet/db.h 6 years ago
Rusty Russell 60285187fd db: support more powerful migrations. 6 years ago
Rusty Russell 1d1fcc41b8 db: add amount functions. 6 years ago
Rusty Russell d69680934e short_channel_id: catch parsing errors. 6 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
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift a4059ef83e Use expected LIGHTNING_DIR_FILE_H define 7 years ago
Rusty Russell 242a934b8c wallet: add check-source to makefile. 7 years ago
Rusty Russell b7ed5670d5 lightningd: close and reopen db across fork for daemonize 7 years ago
Rusty Russell 4ab7589427 sqlite3_column_arr: helper to allocate and read an array from a blob. 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
Rusty Russell 9b99b74c41 db: route to extract an array of struct secret from a column. 7 years ago
Christian Decker 0bb264e1a2 wallet: Added unilateral close info to utxo 7 years ago
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
Rusty Russell 9fd81ab06d db: make db_exec() an internal function. 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell b148b89baf db_exec_mayfail: variant of db_exec where we actually expect an error. 7 years ago
Rusty Russell 5e46af64fc db: keep in_transaction as a counter, so we can nest commits. 7 years ago
Christian Decker 77789bb705 db: Implemented poor mans nested transactions 7 years ago
Christian Decker da183c22a0 db: Cleanup all remaining traces of hex-encoded values 7 years ago
Christian Decker 33da7f50c7 db: Added short_channel_id, tx, pubkey and signature primitives 7 years ago