Răsfoiți Sursa

added API/IPC commandline flags

Bas van Kervel 10 ani în urmă
părinte
comite
bbfa0a3dcb
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  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