From 9fa99ab8efe81a9414cf8fe2c6c0f4f2c29545d3 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Wed, 21 Oct 2020 18:15:38 +0400 Subject: [PATCH] Rename main go file and remove unnecessary node/config.go --- .../p2p-oracle-node.go => dione/dione.go} | 0 node/config.go | 19 ------------------- 2 files changed, 19 deletions(-) rename cmd/{p2p-oracle-node/p2p-oracle-node.go => dione/dione.go} (100%) delete mode 100644 node/config.go diff --git a/cmd/p2p-oracle-node/p2p-oracle-node.go b/cmd/dione/dione.go similarity index 100% rename from cmd/p2p-oracle-node/p2p-oracle-node.go rename to cmd/dione/dione.go diff --git a/node/config.go b/node/config.go deleted file mode 100644 index 2c91f71..0000000 --- a/node/config.go +++ /dev/null @@ -1,19 +0,0 @@ -package node - -type Config struct { - EthPrivateKey string `toml:"ethPrivateKey"` - ListenAddress string `toml:"listenAddress"` - ListenPort string `toml:"listenPort"` - BootstrapAddress string `toml:"bootstrapAddress"` - RendezvousString string `toml:"rendezvousString"` - PubSub PubSubConfig `toml:"pubSub"` -} - -type PubSubConfig struct { - ProtocolID string `toml:"protocolID"` -} - -type EthereumConfig struct { - PrivateKey string `toml:"privateKey"` - GatewayAddress string `toml:"gatewayAddress"` -}