core-lightning/wallet
Rusty Russell 336dcef541 wallet: don't try to set a timer past 2038 on 32-bit platforms.
It'll wrap, probably be in the past, and infinite loop.  This was caused by an invoice
with expiry set at 2076.  This wrap caused us to think the expiry has already
passed, and keep looping!

Reported-by: @telelvis
Fixes: #6339
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: lightnind: don't infinite loop on 32 bit platforms if only invoices are expiring after 2038.
2023-06-29 06:54:58 -04:00
..
test Persist feature bits across restarts 2023-06-20 10:07:11 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db.c Persist feature bits across restarts 2023-06-20 10:07:11 +09:30
db.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
invoices.c wallet: don't try to set a timer past 2038 on 32-bit platforms. 2023-06-29 06:54:58 -04:00
invoices.h delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
Makefile wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.c wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.h wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
reservation.c wallet: allow psbt_using_utxos to take a starter psbt. 2023-04-10 17:26:47 +09:30
txfilter.c all: no longer need to call htable_clear to free htable contents. 2023-01-12 11:44:10 +10:30
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c Persist feature bits across restarts 2023-06-20 10:07:11 +09:30
wallet.h wallet: fix crash on listtransactions. 2023-05-29 18:41:46 +09:30
walletrpc.c listtransactions: remove annotations, which were only in EXPERIMENTAL_FEATURES. 2023-05-23 09:34:08 +09:30
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30