Bitcoin Forum
November 09, 2024, 03:50:02 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Mining Proxy] Ultimate Proxy V2  (Read 556 times)
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
March 28, 2022, 08:15:08 PM
Last edit: August 22, 2023, 12:51:42 AM by Major Miner
 #1

Hello everyone ! After a lot of work i'm glad to present you the last version of Ultimate Proxy.

Ultimate Proxy is a multi platform (Linux/Windows) mining proxy that can help you in some ways listed below.
It will act as one big miner, subscribing for jobs once and broadcasting them to connected workers.

It is in active development and I will do my best to make it better over time, the v1 was pluggable to a free online dashboard, but this feature is not yet implemented in the v2, I'm thinking about the best way of doing it and will probably be back if the community show interest for it.

I rewrited a lot of things recently so if you find any bug please let me know, here, or open an issue on Github.

I love this project and I hope you will too, either way, let me know your thoughts, leave a comment, I will be very glad to read them!

Download: https://github.com/romslf/Ultimate-Proxy/releases

If you need any help, feel free to join the discord here https://discord.gg/zWsTZXBYYq or the telegram group here https://t.me/UltimateProxyChat

Features:

  • Huge bandwidth usage reduction
  • Smart switch (Profit, Reward, Difficulty, TimeToBlock) [Thanks to Minerstat for providing such an awesome API for free]
  • End-to-end encryption
  • Pool mining
  • Solo mining directly to node (Only ETH/ETC for now)
  • Switch between pools and/or node without restarting miners
  • Switch between wallets without restarting miners
  • Keep track of your workers uptime
  • Keep track of your workers reconnection
  • Get total and per pool accepted/rejected shares
  • Get average and per pool calculated hashrate
  • Get average and per pool response time
  • Unlimited number of failover pools

Supported coins:

  • Autolykos: ERG
  • Equihash125: FLUX
  • Equihash144: BTCZ, BTG
  • Equihash192: YEC, ZCL, ZER
  • Equihash: ARR, HUSH, KMD, ZEC, ZEN
  • Etchash: ETC
  • Ethash: BTN, CAU, CLO, ETHW, EXP, OCTA, QKC, UBQ
  • Firopow: FIRO
  • Kawpow: CLORE, RVN, MEWC, NEOX
  • kHeavyHash: KAS
  • Nexapow: NEXA
  • Octopus: CFX
  • Scrypt: LTC, DOGE, DGB
  • Sha512256d: RXD
  • Sha256: BTC, BCH, BSV, DGB, XEC
  • VerusHash: VRSC

Some users find it useful for:

  • Mining on unMineable and switch between coins
  • Mining on pools most of the time and try their luck on solo the rest of the time
  • Mining on different wallets for charging hosting fee
  • Mining on different wallets for splitting rewards in case of sharing rig/farm
  • Control workers using different OS at a single place

Usage:

1. Download Ultimate Proxy
2. Edit config.json according to your needs (Please use a high difficulty port)
3. Either double click on the .exe file, or in your terminal use one of the following command:

Load the default config (config.json if found, or switch-config.json if found, else create config.json)
Code:
chmod +x            # Linux, you may need to do that once to give it permision to run
./UltimateProxyV2   # Linux
UltimateProxyV2.exe # Windows

Load specified config file name (Eitheir a coin config file or a switch-config.json file)
Code:
./UltimateProxyV2 ConfigName.json   # Linux
UltimateProxyV2.exe ConfigName.json # Windows

4. Now instead of pointing you workers to the pool address, change it to your proxy IP
5 - Enjoy  Cool

Config file examples:
Coin config:
Code:
{
  "allowedAddresses": [
    "0.0.0.0" // This allow every IP to connect to proxy, please remove it before adding only needed IPs
  ],
    "poolList": [
    {
      "address": "de.ethw.herominers.com",
      "port": 1147,
      "ssl": true, // SSL Pool
      "ratio": 98 // Will mine for 98% of RatioWindowTimeHours before switching
    },
    {
      "address": "de.ethw.herominers.com",
      "port": 1147,
      "ratio": 1, // Will mine for 1% of RatioWindowTimeHours before switching
      "wallet": "solo:ANOTHER WALLET", // Will use this wallet instead of global Wallet (Note: "solo:" is used to solo mine on herominers)
      "password": "ANOTHER PASS" // Will use this password instead of global Password
    },
    {
      "address": "192.168.1.30",
      "port": 8545,
      "node": true, // Solo mining to node
      "ratio": 1 // Will mine for 1% of RatioWindowTimeHours before switching
    },
    {
      "address": "ethw.2miners.com", // Will be only used as failover since no ratio is set
      "port": 2020
    }
  ],
  "Protocol": "Stratum", // The mining protocol used (Ethproxy/Stratum/Nicehash)
  "Coin": "ETHW", // The coin you want to mine
  "Wallet": "YOUR WALLET HERE", // Your mining wallet
  "Worker": "UltimateProxy", // Proxy worker name
  "Password": "x", // Proxy password
  "RatioWindowTimeHours": 1,  // Used for ratio switch strategie, minimum 1H maximum 24H
  "ProxyPort": 4444, // Proxy port
  "ProxyCert": "", // Set it if you want your workers to connect to proxy using SSL (See "Docs" folder create a .pfx file)
  "PrintStats": true, // Display workers/pools stats
  "StatsIntervalSeconds": 60, // Delay between PrintStats
  "NodeGetWorkIntervalMs": 500, // Delay between node solo getWork requests
  "PrintJobs": true, // Print new jobs or not
  "AllowDuplicateWorkerNames": false, // If you use duplicate worker names (workers will be deleted from stats table on disconnection)
  "SendStaleShares": true, // If we should send stale shares to pool
  "ForceWorkersReconnect": false // Reconnect workers on switch, NEED to be turned on if you use Stratum/Nicehash protocol and that your miner doesn't support set.extranonce request
}
Smart Switch config:
Code:
{
  "Coins": [
    "ETHW",
    "EXP",
    "QKC",
    "CLO"
  ],
  "Mode": "PROFIT",
  "MinimumTimeSeconds": 900,
  "MinimumDifferencePercent": 1,
  "ConfigList": [
    {
      "Coin": "ETHW",
      "FileName": "config-ETHW.json"
    },
    {
      "Coin": "EXP",
      "FileName": "config-EXP.json"
    },
    {
      "Coin": "QKC",
      "FileName": "config-QKC.json"
    },
    {
      "Coin": "CLO",
      "FileName": "config-CLO.json"
    }
  ]
}
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
March 29, 2022, 12:54:55 PM
Last edit: March 30, 2022, 07:25:09 PM by Major Miner
 #2

Unfortunately I made mistakes at last updates.. Cry I’m on it right now and will get it fixed asap, please wait for >=v2.0.1.5
Here we go, enjoy  Grin
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 08, 2022, 01:11:19 PM
Last edit: April 08, 2022, 01:24:21 PM by Major Miner
 #3

Big update ! Grin

v2.1.1.5
Changes:
- Add smart switch, 4 modes (see "Config Examples" folder for starting points)
  1. Profit: Will mine the most profitable crypto in USD
  2. Reward: Will mine the crypto that earn the more coins
  3. Difficulty: Will mine the crypto with the smallest difficulty
  4. TimeToBlock: Will switch to the crypto with the fastest solo time to block estimation
- Add pool extranonce subscription
- Add Nicehash stratum protocol support
- Add Protocol option in config (Ethproxy, Stratum, Nicehash), default is stratum
- Send set.extranonce to workers on pool switch
- Add ForceWorkersReconnect option in config (If you want to switch between pools but that your mining software doesn't support set.extranonce method)
- Add stale shares catcher
- Add StaleSharesWindow option in config (To tweak how much shares should be kept in memory)
- Add no response shares cleaner
- Add coins: BTCZ, CLO, EXP, HUSH, KMD, QKC, UBQ, YEC, ZCL, ZER
- Bug fixes



As always, please let me know if you encounter any issue(s) or if you need any help !  Smiley

PS: The default config contain a little error: The first pool "solo-eth.2miners.com" use the wrong port, 12020 instead of 16060  Embarrassed
miner29
Full Member
***
Offline Offline

Activity: 1281
Merit: 141


View Profile
April 09, 2022, 01:15:54 PM
 #4

Your virus total links show malware trojan.  Probably should get that cleaned up.  Virus total needs to be 0 hits.  Your own links shows 2 then 1.
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 09, 2022, 03:57:47 PM
 #5

Your virus total links show malware trojan.  Probably should get that cleaned up.  Virus total needs to be 0 hits.  Your own links shows 2 then 1.

Hey, thank you for your input.  Smiley
I would obviously like virustotal to show 0 detection, but it is only false positives due to the fact that I obfuscated my code to prevent or make it a little bit harder to reverse engineer it. I worked on it full time for a pretty long period, so I think this can be understable. Anyway even without obfuscation some antivirus marked the v1 version as virus as it was communicating with my backend for online dashboard, so yes I can see why it is a problem, but I think it would be hard to make it 0 hits.  Undecided
As for the fact that on some scans antivirus mark it as virus and on some other scans will mark it as safe, I don't know why, but it is weird indeed.  Huh
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
⇾ Update
February 28, 2023, 10:35:06 PM
 #6

v2.2.0.0

Changes:
- The executable now contain all dependencies (No more need to install .NET)
- Add coins: EthereumPOW (ETHW), Flux (CFX), Nexa (NEXA), MeowCoin (MEWC), Neoxa (NEOX), Kaspa (KAS), Radiant (RXD), Ergo (ERG)
- Add config options
  - "SendStaleShares" (Default: true)
  - "AllowDuplicateWorkerNames" (Default: false)
- Display worker mining software version on connection
- Stability improvements
- Bug fixes
Link: https://github.com/romslf/Ultimate-Proxy/releases/tag/2.2.0.0
VirusTotal and archives hashes can be found here: Linux: https://www.virustotal.com/gui/file/b5967d373370aa8f995aa6a83a9efb7e71b34615252d56baf0886142eb258449), Windows: https://www.virustotal.com/gui/file/5ed534cf5547e66388dab603352496aeb2ff5fd8bd7902b5a9494d860e51a9a9
Gabrics
Full Member
***
Offline Offline

Activity: 193
Merit: 121

Just digging around


View Profile WWW
July 10, 2023, 08:42:32 AM
 #7

Looks like bitcoin is not a supported coin?
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
July 10, 2023, 08:54:12 AM
 #8

Looks like bitcoin is not a supported coin?

Hey Smiley
Not atm because I don’t have any bitcoin miner, and I like to test everything before publishing a new version, even if I find protocols specifications.
But maybe I can add it when I find some time if you are willing to try it before I release it
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
August 11, 2023, 08:33:34 PM
 #9

Hi ...

I am interested in the further development of this.

Possibility of a chat soon?

#crysx #cwi

Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 12, 2023, 12:59:23 AM
 #10

Hi ...

I am interested in the further development of this.

Possibility of a chat soon?

#crysx #cwi

Hey Smiley
Yeah sure, always glad to talk about it, you can find our discord on the GitHub page.
More updates to come soon Roll Eyes
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
August 12, 2023, 02:53:13 AM
 #11

Hi ...

I am interested in the further development of this.

Possibility of a chat soon?

#crysx #cwi

Hey Smiley
Yeah sure, always glad to talk about it, you can find our discord on the GitHub page.
More updates to come soon Roll Eyes

I have tested it last night/thismorning ...

Went to bed - and woke to find that only the HashRate of ONE of the Three test Systems (Z15Pro) was showing up on 2Miners, and the average on the Pool was only bout 240KS instead of the approx 2.4MS it should have been. Not only that, but the 'Name' that shows up on 2Miners is '0' - Literally just the Number Zero!

I am not new to these things so either I have setup the Config incorrectly (which seems pretty easy - but possibly incorrect), or the Proxy is finding it difficult to connect all Three of these Miners.

The Z15Pro DOES have issues connecting to certain Pools - like NiceHash for example - but 2Miners on the ZEC Pool connects directly without issue. The Z15Pro hss issues connecting to the ZEN Pool currently.

We can discuss this at length if You prefer - and will add the Discord Server - or You can contact Me on Ours though the best way to get hold of Me is through Skype.

Thanks!

#crysx #cwi

Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 12, 2023, 08:14:46 AM
Last edit: August 12, 2023, 08:25:14 AM by Major Miner
 #12

Hi ...

I am interested in the further development of this.

Possibility of a chat soon?

#crysx #cwi

Hey Smiley
Yeah sure, always glad to talk about it, you can find our discord on the GitHub page.
More updates to come soon Roll Eyes

I have tested it last night/thismorning ...

Went to bed - and woke to find that only the HashRate of ONE of the Three test Systems (Z15Pro) was showing up on 2Miners, and the average on the Pool was only bout 240KS instead of the approx 2.4MS it should have been. Not only that, but the 'Name' that shows up on 2Miners is '0' - Literally just the Number Zero!

I am not new to these things so either I have setup the Config incorrectly (which seems pretty easy - but possibly incorrect), or the Proxy is finding it difficult to connect all Three of these Miners.

The Z15Pro DOES have issues connecting to certain Pools - like NiceHash for example - but 2Miners on the ZEC Pool connects directly without issue. The Z15Pro hss issues connecting to the ZEN Pool currently.

We can discuss this at length if You prefer - and will add the Discord Server - or You can contact Me on Ours though the best way to get hold of Me is through Skype.

Thanks!

#crysx #cwi

Oh, that’s unfortunate, I hate to know that it doesn’t work for someone. I will do my best to figure this out.

I must say I’m not familiar with ASICS as I don’t have any, but I really want to add support for them and handle all edge cases. A kind user pointed some hashrate to my server so I could add Sha256, maybe we could do the same if you are willing to, this way I would be able to figure out the problem more easily (I can obviously set your address in the config so it mine for you while I debug it).

The 0 worker name is the default one on 2miners I think, did you set the proxy worker name ?

Does the two missing from 2miners where still hashing and still connected to the proxy ?

Thank you very much for taking time to report this issue(s) and providing more information about Nicehash and ZEN problems, I really appreciate it.

I would indeed prefer to discuss further about it on Discord.
Major Miner (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 22, 2023, 12:54:28 AM
 #13

I didn't had time to post change logs, so here we go (Some versions are tested by beta testers, which is why they are not necessarily incremented by one each time, or I didn't find time to release them before working more on it.):

2.2.1.6
- Add coins:
    - Kawpow: CLORE
    - Equihash: ARR
    - Sha256: XEC, DGB
    - Ethash: OCTA, CAU, BTN
    - Scrypt (BETA): LTC, DOGE, DGB
- Config:
    - Add MinerAgent option to set an arbitrary miner agent value (instead of UltimateProxy/VERSION)
    - Small tweaks for validation
- Add update available message
- Add reconnection and failover logic when pool ask for disconnection
- Edit dev fee pools to ASIC compatible ones if possible
- Code refactoring to allow easier coins addition
- Dependencies update
- Small enhancements
- Bug fixes

2.2.1.1
- Add coins:
    - Sha256: BTC, BCH, BSV
    - VerusHash: VRSC
- Config changes:
    - Add "ExtranonceSubscription" option (default: false)
    - Allow algo names as "coin" value *(coin name should always be used if available to prevent errors)*
- Stability improvements
- Minor enhancements
- Bug fixes

OvErLoDe1
Jr. Member
*
Offline Offline

Activity: 230
Merit: 5


View Profile WWW
November 22, 2023, 11:27:55 PM
 #14

I am trying to use the proxy but I get an error in red saying hex2bin error and also on ccminer when mining Verus, any idea?

DERO
(https://dero-node-overlode.mysrv.cloud/dero-mining-pool)
DERO Community Pools
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!