core-lightning/lightningd
Wladimir J. van der Laan 1ef79854c3 lightningd: Don't crash when libunwind backtrace not available
libunwind does not accept a NULL parameter for the error callback. It
will simply call into the NULL pointer. So add an error callback.

This makes the crash output somewhat more sensible on FreeBSD, where
there is no libunwind stack trace available:

    2018-02-05T20:24:50.598Z lightningd(75556): error getting backtrace: no stack trace because unwind library not available (0)

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
2018-02-06 01:35:31 +00:00
..
test wallet: Pass in timers object during construction. 2018-02-05 08:52:42 +00:00
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
bitcoind.c bitcoind: trivial cleanups. 2018-02-01 03:12:43 +00:00
bitcoind.h bitcoind: Disentangle gettxout from the scid verification 2018-02-01 03:12:43 +00:00
build_utxos.c wallet: Use newindex primitive to generate change key index 2018-01-08 17:19:25 +01:00
build_utxos.h build_utxos: fix weight calculation, and make more accurate. 2017-12-20 12:56:15 +01:00
chaintopology.c Onboarding: tweak grammar conventions for RPC responses 2018-02-02 06:16:23 +00:00
chaintopology.h update references to sat/kb to sat/kw 2018-01-30 08:11:51 +00:00
dev_ping.c jsonprc: make json_get_params() fail the command, for better error reporting. 2018-02-02 00:05:00 +01:00
gossip_control.c jsonprc: make json_get_params() fail the command, for better error reporting. 2018-02-02 00:05:00 +01:00
gossip_control.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
gossip_msg.c JSONRPC listnodes: return timestamp, alias and color. 2018-01-19 22:23:45 +00:00
gossip_msg.h JSONRPC listnodes: return timestamp, alias and color. 2018-01-19 22:23:45 +00:00
hsm_control.c hsm: Cleanup after merging control and client libraries 2017-12-03 17:06:13 +01:00
hsm_control.h lightningd/hsm_control: use a simple fd for HSM. 2017-06-27 10:25:53 +09:30
htlc_end.c pay: remove cmd pointer from htlc_out. 2018-02-02 20:33:49 +01:00
htlc_end.h pay: remove cmd pointer from htlc_out. 2018-02-02 20:33:49 +01:00
invoice.c invoice: Return the invoice as a detailed error on expiration 2018-02-05 08:52:42 +00:00
invoice.h invoices: Extensive reorganization of invoice system. 2018-01-16 13:03:54 +01:00
jsonrpc.c jsonrpc: Properly report code for detailed errors. 2018-02-02 23:52:28 +00:00
jsonrpc.h jsonprc: make json_get_params() fail the command, for better error reporting. 2018-02-02 00:05:00 +01:00
lightningd.c wallet: Pass in timers object during construction. 2018-02-05 08:52:42 +00:00
lightningd.h pay: remove cmd pointer from htlc_out. 2018-02-02 20:33:49 +01:00
log.c lightningd: Don't crash when libunwind backtrace not available 2018-02-06 01:35:31 +00:00
log.h Create log timestamp string from log entry data 2018-02-02 00:55:38 +00:00
Makefile features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
memdump.c Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 2018-01-23 13:32:44 +01:00
netaddress.c wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
netaddress.h wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
opt_time.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
opt_time.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
options.c update max-locktime-blocks description to be accurate 2018-02-03 17:56:08 +01:00
options.h lightningd: --deprecated-api option to turn off deprecated APIs. 2018-01-19 22:23:45 +00:00
pay.c pay: Also treat nonexistent peer as immediate routing failure. 2018-02-03 21:03:01 +01:00
pay.h lightningd: unify pay vs forward path when handling failures. 2017-06-23 09:29:42 +09:30
peer_control.c Fix listpeers JSON command description 2018-02-05 18:23:41 +00:00
peer_control.h gossip: Implement connection failed handler in lightningd 2018-01-29 06:01:56 +00:00
peer_htlcs.c pay: remove cmd pointer from htlc_out. 2018-02-02 20:33:49 +01:00
peer_htlcs.h pay: remove cmd pointer from htlc_out. 2018-02-02 20:33:49 +01:00
peer_state.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
subd.c subd: use peer log for messages (if any). 2018-01-30 19:47:27 +00:00
subd.h subd: wrap all message callbacks in a transaction. 2017-11-06 10:24:34 +01:00
txfilter.c txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
txfilter.h txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
watch.c lightningd: actually unwatch txs when onchaind says we should. 2018-01-31 11:37:22 +01:00
watch.h lightningd: actually unwatch txs when onchaind says we should. 2018-01-31 11:37:22 +01:00