aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/api.go
diff options
context:
space:
mode:
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