Commit Graph

2 Commits

Author SHA1 Message Date
Rusty Russell 4b9eb19c68 status: don't send overlarge messages.
We'll assert if we try: better to truncate, trace a warning, and let the
recipient complain about a truncated message,

This is particularly an issue when we're sending encapsulated messages;
this avoids extra checks in the caller.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-10 15:25:20 +10:30
Rusty Russell a0ac5c276e status: API for status reporting.
The API formalizes how daemons should report their statuses back to
the main lightningd.  It's a simple write API, which includes tracing
support (currently it always sends traces, later it could send iff
there's a failure, for example).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-10 15:24:20 +10:30