aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/api.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-10 18:35:12 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:01:41 +0800
commit7e41d7ac51fdaba1c03ec3f9cb8cc7a7bc3830f4 (patch)
treed14084ef228c60159b64f35e8c18602230f5166b /rpc/api/api.go
parentbd38428f33b127e9c60d26127695e50c55798fcd (diff)
downloadgo-tangerine-7e41d7ac51fdaba1c03ec3f9cb8cc7a7bc3830f4.tar.gz
go-tangerine-7e41d7ac51fdaba1c03ec3f9cb8cc7a7bc3830f4.tar.zst
go-tangerine-7e41d7ac51fdaba1c03ec3f9cb8cc7a7bc3830f4.zip
added shh API
Diffstat (limited to 'rpc/api/api.go')
-rw-r--r--rpc/api/api.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go
index e870ec58e..206647946 100644
--- a/rpc/api/api.go
+++ b/rpc/api/api.go
@@ -13,7 +13,8 @@ const (
MergedApiName = "merged"
MinerApiName = "miner"
NetApiName = "net"
- txPoolApiName = "txpool"
+ ShhApiName = "shh"
+ TxPoolApiName = "txpool"
PersonalApiName = "personal"
Web3ApiName = "web3"
)
@@ -21,7 +22,8 @@ const (
var (
// List with all API's which are offered over the IPC interface by default
DefaultIpcApis = strings.Join([]string{
- AdminApiName, EthApiName, DebugApiName, MinerApiName, NetApiName, txPoolApiName, PersonalApiName, Web3ApiName,
+ AdminApiName, EthApiName, DebugApiName, MinerApiName, NetApiName,
+ ShhApiName, TxPoolApiName, PersonalApiName, Web3ApiName,
}, ",")
)