Xelis Hardfork: Switching to XelisHashV2

08/07/2024

On July 10, 2024, the Xelis blockchain will undergo a hard fork aimed at changing the mining algorithm. The primary goal of this hard fork is to protect the coin from the influence of ASICs and FPGAs.

Details about Xelis hardfork: https://xeliscommunity.org/xelis-announces-planned-hardfork-bringing-greater-security-and-decentralization-1b9a03320c26

The hardfork is scheduled on block height (434,100) which is approximately July 10th 12:00 GMT but can be earlier/later by a few hours, depending on how quickly the block is mined.

A hard fork is a significant change to the blockchain protocol, rendering the old protocol no longer supported. Such changes require agreement and migration of all network participants to the new version. Hard forks are utilized to improve the protocol, fix errors, settle community disputes, or implement new features.

Rigel miner developer have prepared his miner for the XelisHashV2 hardfork. We will guide you on configuring your mining rigs to smooth transition to the new algorithm.

Automatic Switching — Rigel Miner

The Kryptex Pool supports automatic switching of the Xelis to the xelishashv2 algorithm once hardfork happens using the Rigel miner.

This method suits those who wish to switch to the new algorithm smoothly without manual switching.

  1. Download the latest version of the miner Rigel 1.18.0+.

  2. Launch the miner with the old xelishash algorithm and the --enable-fork parameter for automatic switching.

    rigel.exe -a xelishash -o stratum+tcp://xel.kryptex.network:7777 -u wallet_address.worker_name --enable-fork
    
  3. Configure overclocking:

    • for xelishash (old algorithm) using conventional overclocking parameters:
      --lock-cclock 1470 --lock-mclock 5000 --cclock 100
    • for xelishashv2 (new algorithm) using new overclocking parameters:
      --lock-cclock [fork]1470 --lock-mclock [fork]X --mclock [fork]1000
    rigel.exe -a xelishash -o stratum+tcp://xel.kryptex.network:7777 -u wallet_address.worker_name --enable-fork --lock-cclock 1470 --lock-mclock 5000 --cclock 100 --lock-cclock [fork]1470 --lock-mclock [fork]X --mclock [fork]1000
    
  4. During the hardfork, the Kryptex Pool will send a message to the miner, and Rigel will automatically switch to the new algorithm and apply the updated overclock settings.

If you don't manually set overclock for the new xelishashv2 algorithm, the --enable-fork option will reset the overclocking settings to factory defaults after switching to the new algorithm.

Information regarding automatic switching during a hard fork is described in the developer's instructions: https://github.com/rigelminer/rigel/wiki/xelishash-to-xelishashv2-auto‐switch

Manual Switching to XelisHashV2

This method suits those who prefer hands-on control over the miner's switching to the new algorithm. You will need to restart the miner after the hardfork manually.

Switching Rigel Miner to XelisHashV2

  1. Get the latest version of the miner Rigel 1.18.0+.

  2. Create a .bat file configured for the xelishashv2 algorithm.

    rigel.exe -a xelishashv2 -o stratum+tcp://xel.kryptex.network:7777 -u wallet_address.worker_name
    
  3. Apply standard overclocking settings for the new algorithm.
    --lock-cclock 1470 --mclock 1000 --cclock 100

  4. After the hardfork, launch the prepared .bat file which you prepared for the xelishashv2 algorithm.

You can download the Rigel miner along with a preconfigured .bat file for the Kryptex Pool and the new algorithm.

HiveOS — Switching to XelisHashV2

Make sure you are using the latest Rigel miner version 1.18.0

If HiveOS has not yet managed to update the miner automatically, do it manually with the following command (if you are using HiveOS beta, remove all tildes ~):

cd ~/tmp && rm -rf ~/tmp/rigel-1.18.0-linux/ && wget https://github.com/rigelminer/rigel/releases/download/1.18.0/rigel-1.18.0-linux.tar.gz && tar -xvf rigel-1.18.0-linux.tar.gz && miner stop && cp -rf ~/tmp/rigel-1.18.0-linux/rigel /hive/miners/rigel/1.17.4/ && rm -rf ~/tmp/rigel-1.18.0-linux/ && miner start

Switching Rigel to XelisHashV2 using HiveOS

  1. Open your Xelis flight sheet settings.

  2. Choose “Rigel Miner” and click on “Setup Miner Config” next to the chosen miner.

  3. Add the --enable-fork parameter to the “Extra config arguments” line so that the miner will automatically switch to the new algorithm after the hard fork.

    • If you want to switch to the new algorithm after a hard fork manually, select the new algorithm xelishashv2 in the list of algorithms, then --enable-fork does not need to be specified.

  4. Optionally, specify overclocking.

  5. Save the modifications, update the edited flight sheet, and apply it to your mining rigs.

RaveOS — Switching to XelisHashV2

The RaveOS team has confirmed that they will automatically switch miners to the new XelisHashV2 algorithm, eliminating the need for miners to adjust settings on the Kryptex Pool.

We advise monitoring the switching process and conducting preliminary testing of overclocking settings for your graphics cards to ensure readiness when the switch occurs.

MMPOS — Switching to XelisHashV2

The MMPOS team reported that they have already updated the Rigel miner in their assembly.

To update the miner manually, select your miner profile, select the miner version “latest” and click “Update profile”. The latest version of the rigel miner 1.18.0 will be automatically selected.

Go to the “Advanced” tab, add the --enable-fork argument and click “Update profile” so that the miner will automatically switch to the new algorithm after the hard fork.

If you want to switch to a new algorithm after a hard fork manually, replace the algorithm xelishash with the new algorithm xelishashv2 in the argument line, then --enable-fork does not need to be specified.

This article is available in other languages: