aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/api.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-08 20:50:11 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:01:40 +0800
commitd2a87f6f72b1582fd6e220e2a00d7c3f5a6df335 (patch)
tree251442afd362566e0b7f9e0cfb66fdcda4324634 /rpc/api/api.go
parent4b9b633dfe8c36d3a8909024ff23a1cdedce44d8 (diff)
downloadgo-tangerine-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.gz
go-tangerine-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.zst
go-tangerine-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.zip
added net API
Diffstat (limited to 'rpc/api/api.go')
-rw-r--r--rpc/api/api.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go
index 7b3774b4e..e4f0e7446 100644
--- a/rpc/api/api.go
+++ b/rpc/api/api.go
@@ -4,12 +4,13 @@ import "github.com/ethereum/go-ethereum/rpc/shared"
const (
// List with all API's which are offered over the IPC interface by default
- DefaultIpcApis = "eth,web3,miner"
+ DefaultIpcApis = "eth,miner,net,web3"
- EthApiName = "eth"
+ EthApiName = "eth"
MergedApiName = "merged"
- MinerApiName = "miner"
- Web3ApiName = "web3"
+ MinerApiName = "miner"
+ NetApiName = "net"
+ Web3ApiName = "web3"
)
// Ethereum RPC API interface