rpc/api: add missing autocomplete commands

pull/1561/head
Péter Szilágyi 9 years ago
parent 4231de3914
commit 0d3a8ad6dd
  1. 17
      rpc/api/utils.go

@ -32,16 +32,22 @@ var (
AutoCompletion = map[string][]string{ AutoCompletion = map[string][]string{
"admin": []string{ "admin": []string{
"addPeer", "addPeer",
"peers", "chainSyncStatus",
"nodeInfo", "datadir",
"exportChain", "exportChain",
"getContractInfo",
"importChain", "importChain",
"verbosity", "nodeInfo",
"chainSyncStatus", "peers",
"register",
"registerUrl",
"setSolc", "setSolc",
"datadir", "sleepBlocks",
"startNatSpec",
"startRPC", "startRPC",
"stopNatSpec",
"stopRPC", "stopRPC",
"verbosity",
}, },
"db": []string{ "db": []string{
"getString", "getString",
@ -97,6 +103,7 @@ var (
"miner": []string{ "miner": []string{
"hashrate", "hashrate",
"makeDAG", "makeDAG",
"setEtherbase",
"setExtra", "setExtra",
"setGasPrice", "setGasPrice",
"startAutoDAG", "startAutoDAG",

Loading…
Cancel
Save