From 78b1d57e183cfc9f03872074afed2f0e582140bb Mon Sep 17 00:00:00 2001 From: mmarcel Date: Wed, 4 May 2022 16:58:49 +0100 Subject: [PATCH] upload config.go --- config.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config.go diff --git a/config.go b/config.go new file mode 100644 index 0000000..85e80a3 --- /dev/null +++ b/config.go @@ -0,0 +1,20 @@ +package main + +var command_line string = `derohe-proxy +Proxy to combine all miners and to reduce network load + +Usage: + derohe-proxy [--listen-address=<127.0.0.1:10100>] --daemon-address=<1.2.3.4:10100> + +Options: + --listen-address=<127.0.0.1:10100> bind to specific address:port, default is 0.0.0.0:10200 + --daemon-address=<1.2.3.4:10100> connect to this daemon + +Example Mainnet: ./derohe-proxy --daemon-address=minernode1.dero.io:10100 +` + +// program arguments +var Arguments = map[string]interface{}{} + +var listen_addr string = "0.0.0.0:10200" +var daemon_address string = "minernode1.dero.io:10100"