Minimum System Requirements
Recommended System Requirements
Ubuntu 18.04 (or higher)
Ubuntu 18.04 (or higher)
500GB per month
2TB per month
The following table summarizes the tools and libraries required to run X-Cash's DPoPS program.
Installed-Programsfolder and the
mkdir /root/Installed-Programsmkdir /root/Installed-Programs/xcash_wallets
Make sure the systems packages list is up to date and install the necessary packages.
sudo apt updatesudo apt install build-essential cmake pkg-config libssl-dev git
Then choose your OS, and make sure the version is the current version and the package is server. Then click on All version binaries. Now find the current version to download. You do not want the debug symbols or the rc version, just the regular current version.
Once you have downloaded the file move the file to a location where you want to keep the binaries, then run this set of commands
tar -xf mongodb-linux-x86_64-*.tgzrm mongodb-linux-x86_64-*.tgzsudo mkdir -p /data/dbsudo chmod 770 /data/dbsudo chown $USER /data/db
Then add MongoDB to your path
echo -e '\nexport PATH=MongoDB_folder:$PATH' >> ~/.profile && source ~/.profile
Visit the offical websites installation instructions at http://mongoc.org/libmongoc/current/installing.html Follow the instructions for Building from a release tarball or Building from git since you need the header files, not just the library files.
After you have built the MongoDB C driver from source, you will need to run
Now that the dependencies are all installed, you can clone the repository in the
cd ~Installed-Programsgit clone https://github.com/X-CASH-official/XCASH_DPOPS.git
X-CASH Proof of stake uses a Make file to build. After cloning the repository, navigate to the folder then use the make file to build the binary file.
cd ~/Installed-Programs/XCASH_DPOPSmake clean ; make release -j `nproc`
Navigate to the folder that contains the binary, rebuild the binary in debug mode then run the test
make clean ; make debug -j `nproc`./XCASH_DPOPS --test
The test will return the number of passed and failed test at the bottom of the console. The failed test need to be 0 before you run the node. If the output is not showing 0 for failed test, then you need to scroll through the testing output and find what test failed (It will be red instead of green).
If this is a system compatibility test, then you will need to fix the system. If this is a core test that has failed, then you need to possibly rebuild, or contact us on the DPoPS testing section or go the the Discord channel to get help from testers and the dev-team.