aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gethrpctest
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-09 19:24:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-09 19:24:42 +0800
commit900e124beea551ded290f61e7bf85ff6b2e4a29e (patch)
treef4447602e77956699a8df44a1edc9932688d48fd /cmd/gethrpctest
parent7486904b92449c5955bb682f4ff98752906912b8 (diff)
downloaddexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.gz
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.bz2
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.lz
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.xz
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.zst
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.zip
cmd, common, node, rpc: rework naming convention to canonical one
Diffstat (limited to 'cmd/gethrpctest')
-rw-r--r--cmd/gethrpctest/main.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/cmd/gethrpctest/main.go b/cmd/gethrpctest/main.go
index 8b54fa2c1..38016fb35 100644
--- a/cmd/gethrpctest/main.go
+++ b/cmd/gethrpctest/main.go
@@ -93,13 +93,13 @@ func main() {
func MakeSystemNode(keydir string, privkey string, test *tests.BlockTest) (*node.Node, error) {
// Create a networkless protocol stack
stack, err := node.New(&node.Config{
- IpcPath: node.DefaultIpcEndpoint(),
- HttpHost: common.DefaultHttpHost,
- HttpPort: common.DefaultHttpPort,
- HttpModules: []string{"admin", "db", "eth", "debug", "miner", "net", "shh", "txpool", "personal", "web3"},
- WsHost: common.DefaultWsHost,
- WsPort: common.DefaultWsPort,
- WsModules: []string{"admin", "db", "eth", "debug", "miner", "net", "shh", "txpool", "personal", "web3"},
+ IPCPath: node.DefaultIPCEndpoint(),
+ HTTPHost: common.DefaultHTTPHost,
+ HTTPPort: common.DefaultHTTPPort,
+ HTTPModules: []string{"admin", "db", "eth", "debug", "miner", "net", "shh", "txpool", "personal", "web3"},
+ WSHost: common.DefaultWSHost,
+ WSPort: common.DefaultWSPort,
+ WSModules: []string{"admin", "db", "eth", "debug", "miner", "net", "shh", "txpool", "personal", "web3"},
NoDiscovery: true,
})
if err != nil {