Rename main go file and remove unnecessary node/config.go
This commit is contained in:
parent
47a1f530f9
commit
9fa99ab8ef
@ -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"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user