mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: prepare internal json routines for listpeerchannels.
We're soon going to call json_add_unsaved_channel and json_add_uncommitted_channel from a new place, where we want the peer state directly included. Based on patch by @vincenzopalazzo. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -22,7 +22,9 @@ void dualopen_tell_depth(struct subd *dualopend,
|
||||
void channel_unsaved_close_conn(struct channel *channel, const char *why);
|
||||
|
||||
void json_add_unsaved_channel(struct json_stream *response,
|
||||
const struct channel *channel);
|
||||
const struct channel *channel,
|
||||
/* Only set for listpeerchannels */
|
||||
const struct peer *peer);
|
||||
|
||||
void channel_update_reserve(struct channel *channel,
|
||||
struct channel_config *their_config,
|
||||
|
||||
Reference in New Issue
Block a user