linj 2 gadi atpakaļ
vecāks
revīzija
b2140ab9fd
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 8 0
      chain33/bityuan.toml

+ 8 - 0
chain33/bityuan.toml

@@ -80,6 +80,14 @@ enableTLS=false
 certFile="cert.pem"
 keyFile="key.pem"
 
+[rpc.sub.eth]
+enable=true
+httpAddr="localhost:8546"
+httpApi=["eth","web3","personal","admin","net"]
+# websocket 绑定地址
+wsAddr="localhost:8547"
+wsApi=["eth","web3","personal","admin","net"]
+
 [mempool]
 maxTxNumPerAccount=100