diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-16 20:59:39 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-22 14:54:21 +0800 |
commit | c3f6c322c07a96d3930c75d05ed3859e7d80ddbc (patch) | |
tree | 8d702eb65113923b0b6a40c0d1d064f82ae2fb44 /rpc/api/api.go | |
parent | 5c25403b13a698267230f859e822a7f714082198 (diff) | |
download | dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.gz dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.bz2 dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.lz dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.xz dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.zst dexon-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.zip |
added DB api
Diffstat (limited to 'rpc/api/api.go')
-rw-r--r-- | rpc/api/api.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go index dec67fed1..7fc22a263 100644 --- a/rpc/api/api.go +++ b/rpc/api/api.go @@ -9,6 +9,7 @@ import ( const ( AdminApiName = "admin" EthApiName = "eth" + DbApiName = "db" DebugApiName = "debug" MergedApiName = "merged" MinerApiName = "miner" @@ -21,12 +22,12 @@ const ( var ( DefaultHttpRpcApis = strings.Join([]string{ - EthApiName, NetApiName, Web3ApiName, + DbApiName, EthApiName, NetApiName, Web3ApiName, }, ",") // List with all API's which are offered over the IPC interface by default DefaultIpcApis = strings.Join([]string{ - AdminApiName, EthApiName, DebugApiName, MinerApiName, NetApiName, + AdminApiName, DbApiName, EthApiName, DebugApiName, MinerApiName, NetApiName, ShhApiName, TxPoolApiName, PersonalApiName, Web3ApiName, }, ",") ) |