Riecoin Core/Basic Setup

From Riecoin

Here are the instructions to set up Riecoin Core and start receiving and spending coins, as well as configure it for Solo Mining.

Preparation and remarks

  • Ensure that your clock and timezone are correct! A few seconds off or a wrong timezone will cause connection issues. You can check your clock on various websites like Time.gov;
  • Ensure that you have enough free disk space (at least 5 GB);
  • Ensure that your router and OS firewalls are not blocking Riecoin connections (P2P default port is 28333);
  • The sync process downloads a lot of data (a few GB), make sure that this not an issue for you (download limits, possible costs, mobile data...).

Install and synchronize the latest Riecoin Core wallet

You can download the reference Riecoin Core binaries from GitHub, choose the right one for your OS. In a zipped folder, go to the bin folder and extract the riecoin-qt or riecoin-qt.exe binary file and start it. On Windows, you can also download the installer and start the program as usual once installed.

When you start Riecoin-Qt for the first time, it will ask you for the data directory, you can choose anything, though it is recommended to let it as is. In particular, it is here that the riecoin.conf file is placed, don't forget this as you may have to create or edit it at some point! By default, the path is

  • Windows: C:\Users\user\AppData\Roaming\Riecoin ;
  • Linux: /home/user/.riecoin.

Some peers were hard coded, so there is no need to configure anything if you just want to store, receive and spend coins. Wait 1-2 day(s) to have the wallet fully synced.

To skip the syncing, you can also get a blockchain bootstrap, that includes blocks up to a recent point. Once downloaded, you can put its content (the folders blocks and chainstate) in the Riecoin folder.

Once the synchronization is done, you can start using Riecoin Core to receive and send coins via the Qt interface.

Configuration for solo mining

Basic configuration (miner and wallet in the same machine)

Open the riecoin.conf file from the Riecoin directory (create it if not existing). Then, use the following template:

rpcuser=username
rpcpassword=password
server=1
daemon=1
rpcallowip=127.0.0.1

[main]
rpcport=28332
port=28333

[test]
rpcport=38332
port=38333

Choose a username and a password for rpcuser and rpcpassword.

Configuration for a miner from another machine

If you wish to mine from another computer, add another rpcallowip=ip.of.the.miningcomputer, or else the miner connection will be refused. You will also need to add the option rpcbind=ip.of.the.server, where ip.of.the.server is the IP of the computer running the Riecoin Core node.

For example, if your computer running Riecoin has the local IP 192.168.1.100, and you wish to mine with multiple computers from the local network, you can use rpcallowip=192.168.1.0/24 to allow all these computers, and also need to add rpcbind=192.168.1.100 in the riecoin.conf file.

Miner configuration

You can read (or return to) the solo mining guide to learn how to configure the miner and start mining.

Testnet

If you just want to test Riecoin without involving real money, you can use the Testnet network (the real one is Mainnet). There are two ways to do it: either add testnet = 1 at the beginning of riecoin.conf before running Riecoin Core, or start it in a terminal with the command line option -testnet.

A blockchain bootstrap is also available.

Add nodes

If you feel the need, you can add manually some nodes to improve your connection. The Cryptoid Explorer provides lists of Riecoin nodes, open the node list for the correct Riecoin version and add the addnode=... lines to your riecoin.conf file.

Advanced configuration and usage

Riecoin Core is based on Bitcoin Core, so if you want to learn more about the riecoin.conf options or the Riecoin Core usage, you can read Bitcoin resources. Sample and detailed configuration file.

FAQ

Riecoin users can ask questions on the Forum, which also acts as a FAQ. Create a new topic if none corresponds to your issue.