daemon: add dev-routefail command.

We're about to change the code so that if it can't route, it will fail
the HTLC.  The current low-level tests will hate this, so have a dev switch
to turn that off.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-06-30 09:08:10 +09:30
parent bf3acfab62
commit f4f0c1aa18
5 changed files with 38 additions and 0 deletions

View File

@@ -71,4 +71,5 @@ extern const struct json_command signcommit_command;
extern const struct json_command output_command;
extern const struct json_command accept_payment_command;
extern const struct json_command add_route_command;
extern const struct json_command routefail_command;
#endif /* LIGHTNING_DAEMON_JSONRPC_H */