daemon: dev-mocktime command

Useful for precise timing control for testing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-01-22 06:45:28 +10:30
parent f3c5aa7634
commit a3e3f83d9f
9 changed files with 81 additions and 4 deletions

View File

@@ -61,4 +61,5 @@ extern const struct json_command getpeers_command;
extern const struct json_command newhtlc_command;
extern const struct json_command fulfillhtlc_command;
extern const struct json_command failhtlc_command;
extern const struct json_command mocktime_command;
#endif /* LIGHTNING_DAEMON_JSONRPC_H */