core-lightning/wallet
Rusty Russell 979fbeb3b0 lightningd: simplify --daemon.
Dumb programs which have a --daemon option call fork() early.  This is
terrible UX since startup errors get lost: the program exits with
"success" immediately then you discover via the logs that it didn't
start at all.

However, forking late introduced a heap of problems with changing
pids.  Instead, fork early but keep stderr and the parent around: if
we fail early on, the parent fails with us.  We release our parent
with an explicit action just before the main loop.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-08-04 21:29:03 +02:00
..
test Call notification 'forward_event' when forward payment status changes 2019-08-01 18:49:25 +08:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c lightningd: simplify --daemon. 2019-08-04 21:29:03 +02:00
db.h lightningd: simplify --daemon. 2019-08-04 21:29:03 +02:00
invoices.c ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
invoices.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
txfilter.c wallet/txfilter: free outpoint filter and scriptpubkeyset on exit. 2019-06-30 16:41:30 +09:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c funding tx: include segwit marker + flag in fee calculation 2019-08-03 05:19:24 +00:00
wallet.h wallet: Don't delete channels from DB, mark them closed. 2019-06-30 16:41:30 +09:30
walletrpc.c wallet/walletrpc.c: fix uninitialized warning. 2019-08-02 15:56:15 +02:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00