core-lightning/wallet
Christian Decker ad89699888 db: Allow some internal queries to fail
The first ever query to check if the version DB exists may fail. We allow
this, but we need to restart the DB transaction since postgres fails the
current transaction and rolls back any changes.

This just commits (and fails) and starts a new transaction so the rest of the
migration can continue.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-09-22 02:03:43 +00:00
..
test db: Move remainder of the sqlite3 into the apropriate file 2019-09-22 02:03:43 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c db: Allow some internal queries to fail 2019-09-22 02:03:43 +00:00
db.h db: Switch statement lookup to use the original query instead 2019-09-22 02:03:43 +00:00
db_common.h db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_postgres.c db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_sqlite3.c db: Move remainder of the sqlite3 into the apropriate file 2019-09-22 02:03:43 +00:00
invoices.c db: Switch to indirect db_last_insert_id version 2019-09-05 23:41:05 +00:00
invoices.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
Makefile postgres: Add postgres statement rewriting support 2019-09-22 02:03:43 +00:00
txfilter.c wallet/txfilter: free outpoint filter and scriptpubkeyset on exit. 2019-06-30 16:41:30 +09:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c wallet: add flag to specify whether or not to include change output 2019-09-11 23:56:27 +00:00
wallet.h wallet: add flag to specify whether or not to include change output 2019-09-11 23:56:27 +00:00
walletrpc.c jsonrpc: add more fields to listfunds. 2019-09-19 01:03:09 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00