rgb-cln/wallet
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer.
Christian and I both unwittingly used it in form:

	*tal_arr_expand(&x) = tal(x, ...)

Since '=' isn't a sequence point, the compiler can (and does!) cache
the value of x, handing it to tal *after* tal_arr_expand() moves it
due to tal_resize().

The new version is somewhat less convenient to use, but doesn't have
this problem, since the assignment is always evaluated after the
resize.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-15 12:01:38 +01:00
..
test sphinx: explain why parse_onionpacket fails. 2019-01-08 19:20:28 +01:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
db.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
db.h db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
invoices.c wallet: do wallet_invoice init during preparation. 2018-09-03 05:01:40 +00:00
invoices.h wallet: do wallet_invoice init during preparation. 2018-09-03 05:01:40 +00:00
txfilter.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
wallet.h jsonrpc: Only show total fees collected in getinfo. 2018-10-19 21:58:27 +00:00
walletrpc.c param: make command_fail/command_success WARN_UNUSED_RESULT. 2018-12-20 03:22:32 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00