aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-16 19:30:53 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-22 14:54:21 +0800
commit5c25403b13a698267230f859e822a7f714082198 (patch)
treee1c06257da1f318a331990165723c1f05447c117 /rpc
parentfd764d4ff7bd7e75dfdd7f733f50dd3805d4b3f2 (diff)
downloadgo-tangerine-5c25403b13a698267230f859e822a7f714082198.tar
go-tangerine-5c25403b13a698267230f859e822a7f714082198.tar.gz
go-tangerine-5c25403b13a698267230f859e822a7f714082198.tar.bz2
go-tangerine-5c25403b13a698267230f859e822a7f714082198.tar.lz
go-tangerine-5c25403b13a698267230f859e822a7f714082198.tar.xz
go-tangerine-5c25403b13a698267230f859e822a7f714082198.tar.zst
go-tangerine-5c25403b13a698267230f859e822a7f714082198.zip
refactored old rpc structure to new
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api/api.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go
index e431e5c1e..dec67fed1 100644
--- a/rpc/api/api.go
+++ b/rpc/api/api.go
@@ -20,6 +20,10 @@ const (
)
var (
+ DefaultHttpRpcApis = strings.Join([]string{
+ 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,