Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: anobtc on October 29, 2020, 10:16:49 AM



Title: [PoW - TreeGraph] Conflux - First China's public blockchain (min. 6GB Ncard)
Post by: anobtc on October 29, 2020, 10:16:49 AM
Introduction

Conflux Network is an open protocol for a new world of DApps, finance, and Web 3.0. As a fast and secure public blockchain, Conflux Network combines Proof of Work and a Tree-Graph structure to power a new generation of decentralized commerce.
Conflux will complete upgrading their mainnet Tethys today at 22:00 (UTC+8), but we can start mining now.

Website: https://confluxnetwork.org/
Explorer: https://confluxscan.io/
Economic paper: https://confluxnetwork.org/files/Conflux_Economic_Paper.pdf
Exchange: https://moondex.io/ <- their own DEX, FC is token mined on testnet phase, will be swapped to CFX after mainnet with 1:1 ratio, so we can consider this is CFX's price now.
Wallet: https://chrome.google.com/webstore/detail/confluxportal/opafkgfpaamecojfkaialabagfofilmg
Mining Tutorial: https://forum.conflux.fun/t/topic/3775
Pool: https://poolflare.com/coin/cfx/pool
Discord: https://discord.com/invite/aCZkf2C

---

Requirements

Network: Conflux Tethys
Version: v1.0.0
Graphics Card Type: NVIDIA GPU
Graphics Memory: 6G or more
NVIDIA Drivers: Use the latest driver version.
OS: Windows 10 version 1903 and above or Linux

Mining Instruction

Run Files

  • Mining program: Click to see Conflux PoW mining algorithm (https://github.com/Conflux-Chain/open-cfxmine/releases)
  • Fullnode program: Click to see fullnode program (https://github.com/Conflux-Chain/conflux-rust/releases)

Prepare to Run conflux

  • Create a directory: conflux
  • Unzip the download package to the directory respectively

The directory structure is:

Quote
conflux
└── run
    └── conflux.exe
    └── tethys.toml
└── cfxmine.exe

Configuration Instructions

Open the run/tethys.toml file with a text editor and configure mining related parameters:
Code:
mining_author="Personal wallet address (without 0x prefix)"
for example, your CFX wallet is: 0x18AbC7131c51640a8921dbd0eA4461CF2C73e853, then you config it to:
Code:
mining_author="18AbC7131c51640a8921dbd0eA4461CF2C73e853"

Run GPU Mining Program

Conflux GPU Mining Program cfxmine needs to run with the Conflux node program. Follow the steps below to start:

  • Open the directory of the run executable file in cmd, and start the fullnode:
Code:
cd conflux\run
conflux --config tethys.toml --full 2>stderr.txt
  • For Linux, In bash(or any POSIX compliant Shell), start the fullnode:
Code:
cd conflux/run
./conflux --config tethys.toml --full 2>stderr.txt

https://i.imgur.com/3a669iE.png

After the fullnode synchronization is completed (catch-up mode: false), then you can start mining:

  • Open the cfxmine executable file in cmd, and start the Conflux GPU Mining Program:
Code:
cd conflux
cfxmine --gpu 1
  • For Linux, open the directory of the cfxmine executable file in bash(or any POSIX compliant Shell), and start the Conflux GPU miningprogram:
Code:
cd conflux
./cfxmine --gpu 1

Note: The GPU command line is executed after the fullnode synchronization is completed.

#Tips for runing Node and cfxmine on different computers

If the Conflux node program and cfxmine are not on the same computer, you can specify the IP address and the port (the default is 32525) of the remote Conflux node program when starting cfxmine.
Code:
./cfxmine --gpu --addr A.B.C.D
or
Code:
./cfxmine --gpu --addr A.B.C.D --port xxxx

If you want to designate remote node, you need to change the configuration of the node into:
stratum_listen_address=“0.0.0.0”, and delete #

You can use many miners remote to a node to increase your hashrate.

How to mining with multiple graphics

We can select a PC with a stable network connection as the central node program (Master), and running with the conflux.exe node synchronization program.

The other mining machines equipped with multiple graphic cards need to connect to the central node program to provide the computing power for it.

In general, a Master can provide synchronization services for multiple Slaves, and the Slaves can just perform graphics calculations.

https://forum.conflux.fun/uploads/default/optimized/2X/1/11e349a3a9aa6cb63679f2cf5e3f48e8fc442db1_2_690x492.jpeg

Modify the configuration file of the Node program (Master)

Open the tethys.toml, remove the # before the mining_type, stratum_listen_address, stratum_port, set the stratum_listen_address=0, and the stratum_port need specify the port related with the graphic miner. The example shown as follow:

https://forum.conflux.fun/uploads/default/original/2X/b/bfe731c578247ec49ad7e7701290adddf1664c80.png

The start command of the mining program (Slave)

Examples are as follows:
Code:
./cfxmine --gpu -d 0,1,2,3 --addr 27.36.224.198 -p 11526
-d
The -d refers to your graphics card, if you have 1 graphics card, enter -d 0, and if you have 2 graphics cards, enter -d 0, 1

–addr
Node program’s address

-p
Port number, the value of stratum_port in the configuration file

Disclaimer: I'm just a miner and create this thread to introduce and discuss about Conflux mining.


Title: Re: [PoW - TreeGraph] Conflux - First China's public blockchain (min. 6GB Ncard)
Post by: anobtc on October 29, 2020, 10:29:12 AM
This is my rig, using 8x2080ti and get hashrate 5.3e7/s, and mined 255 CFX/12 hours, but hashrate is increasing  ;D.

https://i.imgur.com/AD6hliN.png


Title: Re: [PoW - TreeGraph] Conflux - First China's public blockchain (min. 6GB Ncard)
Post by: yangongear on October 29, 2020, 02:26:51 PM
Did it just launch? Hashrate is 150G now and currently there is no pool so it seems impossible to mine solo, I try my card 2070s but it mined zero CFX for hours, even with your miner I think it cannot mine any coin.


Title: Re: [PoW - TreeGraph] Conflux - First China's public blockchain (min. 6GB Ncard)
Post by: miner29 on October 29, 2020, 03:34:00 PM
Your link to the "economic paper" lands on the website and not the paper.

Here is the correct link to the paper directly.

https://confluxnetwork.org/files/Conflux_Economic_Paper.pdf

Working my way through the technicals.


Title: Re: [PoW - TreeGraph] Conflux - First China's public blockchain (min. 6GB Ncard)
Post by: anobtc on October 29, 2020, 06:46:45 PM
Your link to the "economic paper" lands on the website and not the paper.

Here is the correct link to the paper directly.

https://confluxnetwork.org/files/Conflux_Economic_Paper.pdf

Working my way through the technicals.

Thanks! I updated the correct link.


Title: Re: [PoW - TreeGraph] Conflux - First China's public blockchain (min. 6GB Ncard)
Post by: anobtc on October 31, 2020, 12:55:45 PM
Update pool: https://poolflare.com/coin/cfx/pool