daemon: pay command.

This is the command an actual user would use: it figures out the fee
and route, and pays it if it can.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-06-30 09:08:11 +09:30
parent 21a29d9b4d
commit 69a8ea2ad9
9 changed files with 262 additions and 28 deletions

View File

@@ -256,6 +256,7 @@ static const struct json_command *cmdlist[] = {
&close_command,
&newaddr_command,
&accept_payment_command,
&pay_command,
/* Developer/debugging options. */
&echo_command,
&rhash_command,