浏览代码

added API/IPC commandline flags

Bas van Kervel 10 年之前
父节点
当前提交
bbfa0a3dcb
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      rpc/api/api.go

+ 5 - 0
rpc/api/api.go

@@ -27,6 +27,11 @@ var (
 	}, ",")
 )
 
+const (
+	// List with all API's which are offered over the IPC interface by default
+	DefaultIpcApis = "eth"
+)
+
 // Ethereum RPC API interface
 type EthereumApi interface {
 	// API identifier