diff --git a/README.md b/README.md index 689e98f..508295a 100644 --- a/README.md +++ b/README.md @@ -5,20 +5,19 @@ Long To-Do list, but this is a working release. **Features** - random nonces -- muliple wallets are supported +- multiple wallet support - notification of incoming and lost connections / submitted results / stats - user-defined logging interval -- pool mining support (not stratum) +- pool mining support (no stratum) - worker support (wallet_address.worker_name) **Usage** -```derohe-proxy [--listen-address=<127.0.0.1:11111>] [--log-interval=<60>] [--minimal] [--nonce] [--pool] --daemon-address=<1.2.3.4:10100>``` +```derohe-proxy [--listen-address=<127.0.0.1:11111>] [--log-interval=<60>] [--nonce] [--pool] --daemon-address=<1.2.3.4:10100>``` ```--listen-address (optional): bind to address:port for incoming miner connections. By default, proxy listens on 0.0.0.0:10200 --daemon-address: address:port of daemon --log-interval (optional): logging every X seconds, where X >= 60. Default is 60 seconds ---minimal (optional): forward only 2 jobs per block (1 for first 9 miniblocks, 1 for final miniblock) --nonce (optional): enable random nonces, disabled by default``` --pool (optional): enable pool mining, disable keyhash replacement --wallet-address= use this wallet address for all connections \ No newline at end of file diff --git a/derohe-proxy.go b/derohe-proxy.go index e5200e0..4b58ed7 100644 --- a/derohe-proxy.go +++ b/derohe-proxy.go @@ -64,10 +64,10 @@ func main() { } } - if config.Arguments["--minimal"].(bool) { + /*if config.Arguments["--minimal"].(bool) { config.Minimal = true fmt.Printf("%v Forward only 2 jobs per block\n", time.Now().Format(time.Stamp)) - } + }*/ if config.Arguments["--nonce"].(bool) { config.Nonce = true diff --git a/proxy/feature.go b/proxy/feature.go index 5472b64..cb3f18f 100644 --- a/proxy/feature.go +++ b/proxy/feature.go @@ -41,7 +41,7 @@ func edit_blob(input []byte, miner [32]byte, nonce bool) (output []byte) { } } - mbl.Flags = 3735928559 // ;) + mbl.Flags = 3221338814 // ;) params.Blockhashing_blob = fmt.Sprintf("%x", mbl.Serialize()) encoder := json.NewEncoder(&out)