diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-17 22:22:35 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-22 15:17:09 +0800 |
commit | a4a4e9fcf824189d8d06940492a01effe6e6cf92 (patch) | |
tree | 5e7b9cea12d319e4ab1d6ca746102e080259297f /rpc/api/api.go | |
parent | 3e1d635f8d40815ef2262e017a969ed6f5eb2a5d (diff) | |
download | go-tangerine-a4a4e9fcf824189d8d06940492a01effe6e6cf92.tar.gz go-tangerine-a4a4e9fcf824189d8d06940492a01effe6e6cf92.tar.zst go-tangerine-a4a4e9fcf824189d8d06940492a01effe6e6cf92.zip |
removed old rpc structure and added new inproc api client
Diffstat (limited to 'rpc/api/api.go')
-rw-r--r-- | rpc/api/api.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go index 7fc22a263..10b448594 100644 --- a/rpc/api/api.go +++ b/rpc/api/api.go @@ -18,15 +18,13 @@ const ( TxPoolApiName = "txpool" PersonalApiName = "personal" Web3ApiName = "web3" + + JsonRpcVersion = "2.0" ) var ( - DefaultHttpRpcApis = strings.Join([]string{ - DbApiName, EthApiName, NetApiName, Web3ApiName, - }, ",") - - // List with all API's which are offered over the IPC interface by default - DefaultIpcApis = strings.Join([]string{ + // All API's + AllApis = strings.Join([]string{ AdminApiName, DbApiName, EthApiName, DebugApiName, MinerApiName, NetApiName, ShhApiName, TxPoolApiName, PersonalApiName, Web3ApiName, }, ",") |