core-lightning/wallet
Christian Decker db6abda3a4 db: Adjust some db migrations to be compatible with postgres
Needed to change a couple of migrations. The changes are mostly innocuous:

 - changing BLOB to TEXT for short_channel_ids which is the correct type
   anyway, and sqlite3 treats them the same anyway.
 - Use `int` for version since the byte representation is checked by postgres.
 - Change anything that is INT, but will be bound to u64 to BIGINT (again
   postgres checks these more carefully than sqlite3).

Two migrations were replaced with dummy values, since they are buried deep
enough, and I found no portable way of expressing `strftime()` and `INSERT OR
IGNORE`.

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_common.h db: Switch statement lookup to use the original query instead 2019-09-22 02:03:43 +00:00
db_postgres.c postgres: Add postgres statement rewriting support 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
db.c db: Adjust some db migrations to be compatible with postgres 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
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