Rusty Russell
3404c393b7
common/io_debug: replacement for ccan/io's poll which does sanity checks.
...
For now we just check for outstanding take() or tal_tmpctx().
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-29 10:20:08 +09:30
Rusty Russell
db19873ee4
lightningd: dump backtrace on crash or fatal().
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-12 23:00:53 +02:00
Rusty Russell
be90364f7f
log: remove struct helpers.
...
They predated (and inspired) type_to_string(), which is more general.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-12 22:59:24 +02:00
Rusty Russell
afabbe0cb0
log: add ltmp convenience context.
...
It's sometimes nicer where you don't have a convenient tmpctx.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-12 22:59:24 +02:00
Rusty Russell
8375857116
common: absorb remaining files from daemon/
...
Also, we split the more sophisticated json_add helpers to avoid pulling in
everything into lightning-cli, and unify the routines to print struct
short_channel_id (it's ':', not '/' too).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 17:54:14 +02:00