aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/utils.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-07-06 19:08:08 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 17:30:11 +0800
commitceb0739ba111215d47cc2ff9d80d542fa26d764a (patch)
tree40b718f79285c839219571a9bc575314814bdccc /rpc/api/utils.go
parent6ea28f93b99dff66471a04d24632440d6f4099db (diff)
downloadgo-tangerine-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.gz
go-tangerine-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.zst
go-tangerine-ceb0739ba111215d47cc2ff9d80d542fa26d764a.zip
fixed web3 formatters mismatch
Diffstat (limited to 'rpc/api/utils.go')
-rw-r--r--rpc/api/utils.go73
1 files changed, 32 insertions, 41 deletions
diff --git a/rpc/api/utils.go b/rpc/api/utils.go
index 54ca28774..a96d105fb 100644
--- a/rpc/api/utils.go
+++ b/rpc/api/utils.go
@@ -36,6 +36,7 @@ var (
"debug": []string{
"dumpBlock",
"getBlockRlp",
+ "metrics",
"printBlock",
"processBlock",
"seedHash",
@@ -44,49 +45,38 @@ var (
"eth": []string{
"accounts",
"blockNumber",
- "getBalance",
- "protocolVersion",
+ "call",
+ "contract",
"coinbase",
- "mining",
+ "compile.lll",
+ "compile.serpent",
+ "compile.solidity",
+ "contract",
+ "defaultAccount",
+ "defaultBlock",
+ "estimateGas",
+ "filter",
+ "getBalance",
+ "getBlock",
+ "getBlockTransactionCount",
+ "getBlockUncleCount",
+ "getCode",
+ "getCompilers",
"gasPrice",
- "getStorage",
- "storageAt",
"getStorageAt",
+ "getTransaction",
"getTransactionCount",
- "getBlockTransactionCountByHash",
- "getBlockTransactionCountByNumber",
- "getUncleCountByBlockHash",
- "getUncleCountByBlockNumber",
- "getData",
- "getCode",
- "sign",
- "sendRawTransaction",
- "sendTransaction",
- "transact",
- "estimateGas",
- "call",
- "flush",
- "getBlockByHash",
- "getBlockByNumber",
- "getTransactionByHash",
- "getTransactionByBlockHashAndIndex",
- "getUncleByBlockHashAndIndex",
- "getUncleByBlockNumberAndIndex",
- "getCompilers",
- "compileSolidity",
- "newFilter",
- "newBlockFilter",
- "newPendingTransactionFilter",
- "uninstallFilter",
- "getFilterChanges",
- "getFilterLogs",
- "getLogs",
+ "getTransactionFromBlock",
+ "getTransactionReceipt",
+ "getUncle",
"hashrate",
- "getWork",
- "submitWork",
+ "mining",
+ "namereg",
"pendingTransactions",
"resend",
- "getTransactionReceipt",
+ "sendRawTransaction",
+ "sendTransaction",
+ "sign",
},
"miner": []string{
"hashrate",
@@ -101,6 +91,8 @@ var (
"net": []string{
"peerCount",
"listening",
+ "version",
+ "peers",
},
"personal": []string{
"listAccounts",
@@ -109,13 +101,12 @@ var (
"unlockAccount",
},
"shh": []string{
- "version",
"post",
+ "newIdentify",
"hasIdentity",
- "newIdentity",
- "newFilter",
- "uninstallFilter",
- "getFilterChanges",
+ "newGroup",
+ "addToGroup",
+ "filter",
},
"txpool": []string{
"status",