Zcash: how can i mining joining a pool on linux ?

Created on 24 Nov 2016  路  3Comments  路  Source: zcash/zcash

i am testing mining on linux , it works ,but i want to join a pool to test some params.

how can i mining joining a pool on linux .

thanks~

Most helpful comment

hello ,i already done those step before .

my question is how to join a miner-pool on linux for mining ?

All 3 comments

Zcash Mining Guide Mini

$ sudo apt-get update

On Ubuntu/Debian-based systems:

$ sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake

On Fedora-based systems:

$ sudo dnf install \
      git pkgconfig automake autoconf ncurses-devel python wget \
      gtest-devel gcc gcc-c++ libtool patch

Fetch our repository with git and run fetch-params.sh like so:

$ git clone https://github.com/zcash/zcash.git
$ cd zcash/
$ git checkout v1.0.0
$ ./zcutil/fetch-params.sh

Build

Ensure you have successfully installed all system package dependencies as described above. Then run the build, e.g.:

$ ./zcutil/build.sh -j$(nproc)

Configuration

Create the ~/.zcash directory and place a configuration file at ~/.zcash/zcash.conf using the following commands:

mkdir -p ~/.zcash
echo "testnet=1" >~/.zcash/zcash.conf
echo "addnode=mainnet.z.cash" >~/.zcash/zcash.conf
echo "rpcuser=username" >>~/.zcash/zcash.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>~/.zcash/zcash.conf

Enabling CPU mining:

If you want to enable CPU mining, run these commands:

$ echo 'gen=1' >> ~/.zcash/zcash.conf
$ echo "genproclimit=$(nproc)" >> ~/.zcash/zcash.conf

The default miner is not efficient, but has been well reviewed. To use a much more efficient but unreviewed solver, you can run this command:

$ echo 'equihashsolver=tromp' >> ~/.zcash/zcash.conf

Mining

Now, start Mining!

$ ./src/zcashd

To run it in the background (without the node metrics screen that is normally displayed):

$ ./src/zcashd -daemon

Stop the ZCash deamon by entering the command:

$ ./src/zcash-cli stop

You should be able to use the RPC after it finishes loading. Here's a quick way to test:

$ ./src/zcash-cli getinfo

To see the peers you are connected to:

$ ./src/zcash-cli getpeerinfo

To get more detailed info on your testcoins and wallet.

$ ./src/zcash-cli listunspent

@DATSEC posted a good summary. This info is generally available in our 1.0 user guide and Mining Guide

hello ,i already done those step before .

my question is how to join a miner-pool on linux for mining ?

Was this page helpful?
0 / 5 - 0 ratings