mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 06:53:46 +00:00
start http rpc server and eth namespace by default (#319)
This commit is contained in:
parent
66fc055a7b
commit
e10b10a3dd
1 changed files with 2 additions and 2 deletions
|
|
@ -443,11 +443,11 @@ func DefaultConfig() *Config {
|
||||||
GasCap: ethconfig.Defaults.RPCGasCap,
|
GasCap: ethconfig.Defaults.RPCGasCap,
|
||||||
TxFeeCap: ethconfig.Defaults.RPCTxFeeCap,
|
TxFeeCap: ethconfig.Defaults.RPCTxFeeCap,
|
||||||
Http: &APIConfig{
|
Http: &APIConfig{
|
||||||
Enabled: false,
|
Enabled: true,
|
||||||
Port: 8545,
|
Port: 8545,
|
||||||
Prefix: "",
|
Prefix: "",
|
||||||
Host: "localhost",
|
Host: "localhost",
|
||||||
Modules: []string{"web3", "net"},
|
Modules: []string{"eth", "web3", "net"},
|
||||||
},
|
},
|
||||||
Ws: &APIConfig{
|
Ws: &APIConfig{
|
||||||
Enabled: false,
|
Enabled: false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue