- Set ethash stratum mode ethereum proxy
- RX 500 RaveOS 1.0.24(25) не запускает lolminer 1.24a
- indieeugene
- Max74
- indieeugene
- RNDEX
- Arioka
- Set ethash stratum mode ethereum proxy
- Lost connection to stratum server daggerhashimoto.usa.nicehash.com:3353 or server not reachable. #348
- Comments
- ben1628 commented Mar 9, 2021
- jgonzis commented Mar 10, 2021
- Set ethash stratum mode ethereum proxy
Set ethash stratum mode ethereum proxy
Ethereum mining proxy with web-interface.
Proxy feature list:
- Rigs availability monitoring
- Keep track of accepts, rejects, blocks stats
- Easy detection of sick rigs
- Daemon failover list
Building on Linux
Install required packages:
Building on Windows
Follow this wiki paragraph in order to prepare your environment. Install required packages (look at Linux install guide above). Then compile:
Building on Mac OS X
If you didn’t install Brew, do it. Then install Golang:
And follow Linux installation instructions because they are the same for OS X.
Configuration is self-describing, just copy config.example.json to config.json and specify endpoint URL and upstream URLs.
Example upstream section
In this example we specified EuroHash.net mining pool as main mining target and a local geth node as backup for solo.
With «submitHashrate»: true|false proxy will forward eth_submitHashrate requests to upstream.
Pools that work with this proxy
- EuroHash.net EU Ethereum mining pool
- SuprNova.cc SuprNova ETH Pool
Pool owners, apply for listing here. PM me for implementation details.
Currently it’s solo-only solution.
- Report block numbers
- Report luck per rig
- Maybe add more stats
- Maybe add charts
Thanks to a couple of dudes who donated some Ether to me, I believe, you can do the same.
Источник
RX 500 RaveOS 1.0.24(25) не запускает lolminer 1.24a
indieeugene
Пляшущий с бубном
Система на cокет 1150, 4гб, селерон. Слот 2.0 x16 одна карта 570 4Gb
настройка майнера или пусто или —keepfree 5 или —zombie-tune auto
Setup Miner.
Device 0:
Name: Radeon RX 570 Series
Address: 1:0
Vendor: Advanced Micro Devices (AMD)
Memory: 4074 MByte (4055 MByte free)
—zombie-tune auto
—4g-alloc-size parameter not set
Max epoch (approx): 380
Active: true (Selected Algorithm: ETHash)
Connecting to pool.
Connected to eu1.ethermine.org:4444 (TLS disabled)
Set Ethash stratum mode: Ethereum Proxy
Authorized worker: XXXX.11
New job received: 0x0466fd Epoch: 401 Target: 0000000112e0be82
——————————————————-
Generating light cache for epoch 401
——————————————————-
Start Mining.
New job received: 0xa1e6af Epoch: 401 Target: 0000000112e0be82
New job received: 0x718217 Epoch: 401 Target: 0000000112e0be82
——————————————————-
Done (9928 ms), size of new DAG: 4232 MByte
——————————————————-
GPU 0: insufficient memory for DAG epoch 401.
GPU 0: will be in Zombie mode with reduced hashrate.
New job received: 0xe90900 Epoch: 401 Target: 0000000112e0be82
Killed
[email protected]:/run/miners/2e2817b4-104f-4fe6-86d6-127e0cb6d253#
Короче не запускает майнер. Пробовал разные версии майнера и рейва.
Max74
Новичок
indieeugene
Пляшущий с бубном
У меня rave. попробую сейчас.
Phoenix 5.5 тоже killed
RNDEX
Свой человек
Система на cокет 1150, 4гб, селерон. Слот 2.0 x16 одна карта 570 4Gb
настройка майнера или пусто или —keepfree 5 или —zombie-tune auto
Setup Miner.
Device 0:
Name: Radeon RX 570 Series
Address: 1:0
Vendor: Advanced Micro Devices (AMD)
Memory: 4074 MByte (4055 MByte free)
—zombie-tune auto
—4g-alloc-size parameter not set
Max epoch (approx): 380
Active: true (Selected Algorithm: ETHash)
Connecting to pool.
Connected to eu1.ethermine.org:4444 (TLS disabled)
Set Ethash stratum mode: Ethereum Proxy
Authorized worker: XXXX.11
New job received: 0x0466fd Epoch: 401 Target: 0000000112e0be82
——————————————————-
Generating light cache for epoch 401
——————————————————-
Start Mining.
New job received: 0xa1e6af Epoch: 401 Target: 0000000112e0be82
New job received: 0x718217 Epoch: 401 Target: 0000000112e0be82
——————————————————-
Done (9928 ms), size of new DAG: 4232 MByte
——————————————————-
GPU 0: insufficient memory for DAG epoch 401.
GPU 0: will be in Zombie mode with reduced hashrate.
New job received: 0xe90900 Epoch: 401 Target: 0000000112e0be82
Killed
[email protected]:/run/miners/2e2817b4-104f-4fe6-86d6-127e0cb6d253#
Короче не запускает майнер. Пробовал разные версии майнера и рейва.
Arioka
Новичок
Система на cокет 1150, 4гб, селерон. Слот 2.0 x16 одна карта 570 4Gb
настройка майнера или пусто или —keepfree 5 или —zombie-tune auto
Setup Miner.
Device 0:
Name: Radeon RX 570 Series
Address: 1:0
Vendor: Advanced Micro Devices (AMD)
Memory: 4074 MByte (4055 MByte free)
—zombie-tune auto
—4g-alloc-size parameter not set
Max epoch (approx): 380
Active: true (Selected Algorithm: ETHash)
Connecting to pool.
Connected to eu1.ethermine.org:4444 (TLS disabled)
Set Ethash stratum mode: Ethereum Proxy
Authorized worker: XXXX.11
New job received: 0x0466fd Epoch: 401 Target: 0000000112e0be82
——————————————————-
Generating light cache for epoch 401
——————————————————-
Start Mining.
New job received: 0xa1e6af Epoch: 401 Target: 0000000112e0be82
New job received: 0x718217 Epoch: 401 Target: 0000000112e0be82
——————————————————-
Done (9928 ms), size of new DAG: 4232 MByte
——————————————————-
GPU 0: insufficient memory for DAG epoch 401.
GPU 0: will be in Zombie mode with reduced hashrate.
New job received: 0xe90900 Epoch: 401 Target: 0000000112e0be82
Killed
[email protected]:/run/miners/2e2817b4-104f-4fe6-86d6-127e0cb6d253#
Короче не запускает майнер. Пробовал разные версии майнера и рейва.
Источник
Set ethash stratum mode ethereum proxy
Proxy working check
- To check that proxy works open in browser http://127.0.0.1:8080/ (or your changed ip and port from config)
- If you see «Ethereum stratum proxy» and some infos about connections.
- If not then mostly case that you have application running on this port, at example Antivirus.
eth-proxy is built in python. I have been testing it with 2.7.3, but it should work with other versions. The requirements for running the software are below.
#Installation and start
- [Windows] Download compiled version https://github.com/Atrides/eth-proxy/releases
Or use python source code
Download Python Version 2.7.10 for Windows https://www.python.org/downloads/
Modify PATH variable (how-to http://www.java.com/en/download/help/path.xml) and add C:\Python27;C:\Python27\Scripts;
Install Python-Twisted https://pypi.python.org/pypi/Twisted/15.4.0 File Twisted-15.4.0.win32-py2.7.msi (32bit) or Twisted-15.4.0.win-amd64-py2.7.msi (64bit)
Install zope.interface, in console run:
Install PyWin32 v2.7 pywin32-219.win32-py2.7.exe or pywin32-219.win-amd64-py2.7.exe http://sourceforge.net/projects/pywin32/files/pywin32/
Download eth-proxy. Extract eth-proxy.zip. Change settings in config.py and start with command:
- Original version by Slush0 (original stratum code)
- More Features added by GeneralFault, Wadee Womersley and Moopless
- This software is provides AS-IS without any warranties of any kind. Please use at your own risk.
Источник
Lost connection to stratum server daggerhashimoto.usa.nicehash.com:3353 or server not reachable. #348
Comments
ben1628 commented Mar 9, 2021
Should I be concerned about it? Is the other EthereumStratum slower?
What should I do to fix this?
Connecting to pool.
Connected to daggerhashimoto.usa.nicehash.com:3353 (TLS disabled)
Set Ethash stratum mode: Ethereum Proxy
Lost connection to stratum server daggerhashimoto.usa.nicehash.com:3353 or server not reachable.
Trying to connect in 1 second
Connected to daggerhashimoto.usa.nicehash.com:3353 (TLS disabled)
Immediately lost connection on ETHPROXY stratum mode. Reconnect attempt will try EthereumStratum/1.0.0 (Nicehash) stratum mode.
Set Ethash stratum mode: EthereumStratum/1.0.0
Subscribed to stratum server
The text was updated successfully, but these errors were encountered:
jgonzis commented Mar 10, 2021
Should I be concerned about it? Is the other EthereumStratum slower?
What should I do to fix this?
Connecting to pool.
Connected to daggerhashimoto.usa.nicehash.com:3353 (TLS disabled)
Set Ethash stratum mode: Ethereum Proxy
Lost connection to stratum server daggerhashimoto.usa.nicehash.com:3353 or server not reachable.
Trying to connect in 1 second
Connected to daggerhashimoto.usa.nicehash.com:3353 (TLS disabled)
Immediately lost connection on ETHPROXY stratum mode. Reconnect attempt will try EthereumStratum/1.0.0 (Nicehash) stratum mode.
Set Ethash stratum mode: EthereumStratum/1.0.0
Subscribed to stratum server
Nicehash use the —ethstratum ETHV1
You should add this parameter to your config line. but in this case seems to be a internet disconnection or a small server fail of nicehash
Источник
Set ethash stratum mode ethereum proxy
This is a stratum to stratum proxy expressly designed to optimize ethminer’s multi instances: whether you run a single rig with a separate ethminer instance per GPU or you run multiple rigs each with it’s own ethminer instance you may want to use neth-proxy. If you run only one instance of ethminer then neth-proxy will not give you any benefit
- Keeps only one connection to your pool
- Auto stratum mode recognition : whether your pool implements stratum or ethproxy mode is supported. Nicehash mode is not supported (yet . )
- If pool provides multiple ip addresses neth-proxy will pick the one with fastest roundtrip
- Centrally managed wallet configuration : your miners do not need to know the wallet address
- Ensures all connected ethminer miners do work on non overlapping ranges of nonces
- Clusters all your miners as if they were a single machine (if you have 5 rigs with 6 GPUs each you will mine as if you had a single rig made of 30 GPUs)
- Jobs are pushed immediately to all connected miners. No need to set —farm-recheck values on ethminer.
- Reduced payout times by 3% to 5% (measured from my personal experience)
- Less stale shares than with eth-proxy
- Customizable —work-timeout and —response-timeout values to trigger fallback pools
- Instant cumulative info about overall hashrate, connected miners, jobs received and solutions sumbitted with percent values of known stale shares and rejects
- API interface to monitor cluster status or single miner. New methods being added
Why you may want to use it
If you’re on a single rig you will not get any advantage from using neth-proxy. But if you’re on a small farm (say 3 or more rigs) you may want to improve your mining experience by:
- keeping a single connection to your pool of choice particularly when relying on a domestic internet connection
- combine all your rigs in a single «clustered» machine which processes the same set of jobs (per rig connections to pool sends you different sets of jobs)
- ensure all your rigs do effectively work on non overlapping ranges of nonces. When running single connections per rig there is no guarantee your rigs do not search the same nonces
- creating a unique continuous search segment instead of letting every rig to search on it’s own random segment
- having a single point dashboard to control your overall hashing power capacity
- leverage the API functions of neth-proxy and ethminer combined to control all of your machines
Why you may NOT want to use it
- You have only 1 rig. There is no point nor advantage in using a proxy with only 1 mining instance
- Developer fee
- Using a proxy you create a single point of failure on your connections. If your proxy host fails then all of your machines get disconnected
To mitigate the latter I suggest to have two instances of neth-proxy running on different hosts and configure your ethminer clients to connect to both of them (primary and failover).
Usage of neth-proxy comes with a fee of 0.75% which means your connected miners will mine for the developer for 30 seconds every 4000 seconds (roughly 1 hour and 7 minutes). If you do not want to pay such a fee you can set —no-fee command line argument on launch. This will make neth-proxy absolutely free but it won’t do any segment adjustment for your miners nor it will check they do not overlap. In any case you will get better results than with eth-proxy. Alternatively you can modify source code and rebuild the binaries on your own.
If you wish to make a direct donation you’re welcome to use either theese addresses:
- ETH 0x9E431042fAA3224837e9BEDEcc5F4858cf0390B9
- ETC 0x6e4Aa5064ced1c0e9E20A517B9d7A7dDe32A0dcf
neth-proxy is built on top of .NET Core 2.0 thus working without problems on Windows Linux or Mac. Coding language is VB.Net (yeah I know know . keep your comments about VB out of this). All connected miner must be ethminer min version 0.15.rc2 or better. No other miner willing to connect is currently supported (maybe in future).
Important. This proxy is NOT a tool to steal or reduce developer’s fees for other miners
Who uses neth-proxy
Well actually me and my clients. I have experienced sensible increases in my efficiency and lowered my payout times. There is no guarantee I am offering about any gain and your mileage may vary. If you want to give neth-proxy a try and want to share your measurements I suggest to run for at least 24 hours. I commit myself to publish any serious review regardless positive or negative results.
How to get started with neth-proxy
- Install .NET Core 2.0+ runtime
- Verify .NET core version 2+ To do this, on a command prompt, type dotnet —info and expect an output like this
If this appears you can skip next step and jump directly to download and install neth-proxy binaries.
Installing .NET Core Runtime
If you’re installing on Linux please check this list of dependencies.
Installation on Linux (Ubuntu 16.04 LTS)
- Before installing .NET, you’ll need to register the Microsoft key, register the product repository, and install required dependencies. This only needs to be done once per machine.
- Update the products available for installation, then install the .NET Core Runtime.
Installation on Windows
Download and install appropriate package from Microsoft’s site.
When you’re done with installation please check your installed version (How to get started with neth-proxy step 2)
Download latest neth-proxy binary release
Access the releases section of this repository and pick the latest release. Archive is in .zip format. Expand (uncompress) the archive in a directory of your choice.
How to start neth-proxy and connect to it
Every release package contains two launch scripts.
- neth-proxy.bat to be used in Windows environments
- neth-proxy.sh to be used in Linux environments
If you’re on Linux you might want to mark neth-proxy.sh as executable by
To start neth-proxy . on Linux
Now you can set your ethminer miners to connect to your local proxy. Please NOTE ethminer 0.15.rc2 is minimum required version with api enabled
Syntax for connection is :
- is the port number where ethminer will listen on
- is the ip address of the computer where you’re running neth-proxy
- is the portnumber neth-proxy is listening for connections (default is 4444)
You do not need to set a wallet address as it’s already configured in neth-proxy
For a detailed explanation of command line arguments please read the following chapter
neth-proxy Command Line Arguments
To start neth-proxy you need to define at least one connection to a pool of your choice thus the very basic startup is like
where 0x9E431042fAA3224837e9BEDEcc5F4858cf0390B9 have to be replaced with YOUR wallet address.
This will instruct neth-proxy to connect to eu1.ethermine.org pool on port 4444 and will listen locally for incoming miners connections on port 4444 (which is the default). If you want to specify one (or more) failover pools simply add as many -sp arguments you want.
For a detailed list of command line arguments you may want to type
and you’ll be prompted with a help text
] [-np | —no-probe ] [-wt | —work-timeout ] [-rt | —response-timeout ] [-rh | —report-hashrate ] [-rw | —report-workkers ] [-ws | —workers-spacing ] [-ns | —no-stats] [-si | —stats-interval ] [-nc | —no-console] [-nf | —no-fee] [-ll | —log-level ] [-h | —help ] Description of arguments ———————————————————————————————————————— -b | —bind Sets the LOCAL address this proxy has to listen for incoming connections. Default is any local address port 4444 -ab | —api-bind Sets the LOCAL address this proxy has to listen for incoming connections on API interface. Default is not enabled. -sp | —stratumpool Is the connection to the target pool this proxy has to forward workers -np | —no-probe By default before connection to the pool each ip address bound to the hostname is pinged to determine which responds faster. If you do not want to probe all host’s ip then set this switch -wt | —work-timeout Sets the number of seconds within each new work from the pool must come in. If no work within this number of seconds the proxy disconnects and reconnects to next ip or next pool. Default is 120 seconds -rt | —response-timeout Sets the time (in milliseconds) the pool should reply to a submission request. Should the response exceed this amount of time then proxy will reconnect to other ip or other pool. Default is 2000 (2 seconds) -rh | —report-hashrate Submit hashrate to pool for each workername. Implies —report-workers -rw | —report-workers Forward separate workernames to pool -ws | —workers-spacing Sets the exponent in the power of 2 which expresses the spacing among workers segments Default is 24 which means 2^24 nonces will be the minimum space among workers segments -si | —stats-interval Sets the interval for stats printout. Default is 60 seconds. Min is 10 seconds. Set it to 0 to disable stats printout completely. -nc | —no-console Prevents reading from console so you can launch neth-proxy with output redirection to file -nf | —no-fee Disables developer fee (0.75%). I will loose all my revenues but proxy won’t do some optimization tasks. -ll | —log-level Sets log verbosity 0-9. Default is 4 -h | —help Prints this help message How to connect your ethminer’s instances to this proxy ———————————————————————————————————————— ethminer 0.15.rc2 is minimum version required with API support enabled ethminer -P stratum+tcp:// : / / —api-port where is the API port ethminer is listening on «>
Ethash pools tested and supported
Pool Name | Pool Homepage | Details about connection |
---|---|---|
2miners.com | https://2miners.com/ | https://eth.2miners.com/en/help |
dwarfpool.org | https://dwarfpool.com/ | https://dwarfpool.com/eth |
ethermine.org | https://ethermine.org/ | https://ethermine.org/ |
ethpool.org | https://www.ethpool.org/ | https://www.ethpool.org/ |
f2pool.com | https://www.f2pool.com/ | https://www.f2pool.com/help/?#tab-content-eth |
miningpoolhub.com | https://miningpoolhub.com/ | https://ethereum.miningpoolhub.com/ |
nanopool.org | https://nanopool.org/ | https://eth.nanopool.org/help |
sparkpool.com | https://sparkpool.com/ | https://eth.sparkpool.com/ |
Syntax to connect to those pools is always the same
Источник