added net API

This commit is contained in:
Bas van Kervel
2015-06-08 14:50:11 +02:00
committed by Bas van Kervel
parent 4b9b633dfe
commit d2a87f6f72
9 changed files with 141 additions and 11 deletions

View File

@@ -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