rgb-cln/lightningd/test
Rusty Russell 52b1ba2992 wallet: remove premature optimization when making payment.
We didn't write to db immediately, but waited until it the actual HTLC got
added (or failed).  That way we didn't have a separate transaction to
write the payment into the db, but the complexity is not worth it: it
makes the next refactors harder, since we can't use the normal
iterator patterns like we do with the rest of the db (as we have to add
the unstored ones).

We might as well also make sendpay return immediately: we used to return
once the HTLC had been confirmed sent, since we entered it in the db
at that point, but we can keep it simple now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-10-28 15:48:26 +10:30
..
Makefile wire/Makefile: fix missing wire/bolt12_exp_wiregen.c in ALL_C_SOURCES. 2022-10-26 11:29:06 +10:30
run-find_my_abspath.c common: add peer_failed_warn_nodisconnect routine for non-disconnecting warnings 2023-10-23 15:48:50 +10:30
run-invoice-select-inchan.c wallet: remove premature optimization when making payment. 2023-10-28 15:48:26 +10:30
run-jsonrpc.c lightningd: implement `recover` command. 2023-10-26 12:59:55 +10:30
run-log-pruning.c common: make json_add_timeabs full precision & renamed json_add_time 2023-09-21 13:31:34 +09:30
run-log_filter.c lightningd/test: use tmpdir_mkstemp() to create log file 2023-09-25 13:59:13 +09:30
run-shuffle_fds.c common: add peer_failed_warn_nodisconnect routine for non-disconnecting warnings 2023-10-23 15:48:50 +10:30