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.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go
index 7fc22a263..10b448594 100644
--- a/rpc/api/api.go
+++ b/rpc/api/api.go
@@ -18,15 +18,13 @@ const (
TxPoolApiName = "txpool"
PersonalApiName = "personal"
Web3ApiName = "web3"
+
+ JsonRpcVersion = "2.0"
)
var (
- DefaultHttpRpcApis = strings.Join([]string{
- DbApiName, EthApiName, NetApiName, Web3ApiName,
- }, ",")
-
- // List with all API's which are offered over the IPC interface by default
- DefaultIpcApis = strings.Join([]string{
+ // All API's
+ AllApis = strings.Join([]string{
AdminApiName, DbApiName, EthApiName, DebugApiName, MinerApiName, NetApiName,
ShhApiName, TxPoolApiName, PersonalApiName, Web3ApiName,
}, ",")