core-lightning/wallet
Rusty Russell 36b66871a2 db: add min/max commitnum fields to channel_htlcs.
And initialize max to current height max when htlcs are already dead.
Turns out (thanks CI!) that MAX() of multiple columns is GREATEST() in
Postgres.  That's clearer (MAX is used elsewhere for single columns),
so translate on the sqlite3 side.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-10-15 12:09:36 +02:00
..
test jsonrpc: Add groupid to waitsendpay 2021-10-13 13:41:18 +10:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db.c db: add min/max commitnum fields to channel_htlcs. 2021-10-15 12:09:36 +02:00
db.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
db_common.h common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
db_postgres.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
db_sqlite3.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
invoices.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09: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 cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
txfilter.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
txfilter.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
wallet.c wallet: wrap htlc_state enum in db function. 2021-10-15 12:09:36 +02:00
wallet.h wallet: wrap htlc_state enum in db function. 2021-10-15 12:09:36 +02:00
walletrpc.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
walletrpc.h common: pull up param_psbt 2020-10-20 12:50:31 +10:30