daemon: rename all the low-level commands to dev-

Rename the structs to match (and remove dev-echo).

This makes it clear that they're not the normal API.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-09-06 16:47:49 +09:30
parent c83fb1a2dd
commit ea41386ed3
6 changed files with 136 additions and 152 deletions

View File

@@ -452,8 +452,8 @@ static void json_add_route(struct command *cmd,
command_success(cmd, null_response(cmd));
}
const struct json_command add_route_command = {
"add-route",
const struct json_command dev_add_route_command = {
"dev-add-route",
json_add_route,
"Add route from {src} to {dst}, {base} rate in msatoshi, {var} rate in msatoshi, {delay} blocks delay and {minblocks} minimum timeout",
"Returns an empty result on success"
@@ -483,7 +483,7 @@ static void json_routefail(struct command *cmd,
command_success(cmd, null_response(cmd));
}
const struct json_command routefail_command = {
const struct json_command dev_routefail_command = {
"dev-routefail",
json_routefail,
"FAIL htlcs that we can't route if {enable}",