core-lightning/wallet
Rusty Russell efeb1bc65b wallet: fix sqlite3 column renaming since db backup merge.
Because db->conn is a void *, changing it (from a direct pointer to
a pointer to a pair of pointers) did not break compile if one place hadn't
been update.

The result was a confusing failure: sqlite3 complaining about API misuse,
since the db->conn pointer was not a valid db handle any more.

This is one case where avoiding a void * is hard: we might not even
have the postgresql types, since it might not be installed.  But a union
would have been superior here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-11-18 12:53:17 +10:30
..
test wallet: db column manipulation helpers. 2021-11-17 10:51:48 +10:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db.c db: turn generated queries array into a simple hash table. 2021-11-17 10:51:48 +10:30
db.h wallet: remove db_column_ functions. 2021-11-17 10:51:48 +10:30
db_common.h wallet: db column manipulation helpers. 2021-11-17 10:51:48 +10:30
db_postgres.c wallet: db column manipulation helpers. 2021-11-17 10:51:48 +10:30
db_sqlite3.c wallet: fix sqlite3 column renaming since db backup merge. 2021-11-18 12:53:17 +10:30
invoices.c wallet: have db track what columns are accessed in DEVELOPER mode. 2021-11-17 10:51:48 +10:30
invoices.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
Makefile Makefile: remove NO_PYTHON flag in anticipation of making it compulsory. 2021-09-22 15:25:14 +02:00
reservation.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
txfilter.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c wallet: remove redundant field counters, ignored fields. 2021-11-17 10:51:48 +10:30
wallet.h wallet: only hand onchaind the HTLCs it needs to know. 2021-10-15 12:09:36 +02:00
walletrpc.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
walletrpc.h common: pull up param_psbt 2020-10-20 12:50:31 +10:30