dev-broadcast: control whether we send out transactions.

Good for testing; we also flush broadcast when it's re-enabled.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-11-09 17:14:21 +10:30
parent f715752e71
commit 1fe83f47a9
5 changed files with 65 additions and 4 deletions

View File

@@ -316,6 +316,7 @@ static const struct json_command *cmdlist[] = {
&dev_output_command,
&dev_add_route_command,
&dev_routefail_command,
&dev_broadcast_command,
};
static void json_help(struct command *cmd,