Hanchon
  • Home
  • BCH Testnet Environment
    • BCH Testnet Environment
    • BitcoinABC (bitcore patches)
    • Bitcore (insight + insight-api)
    • NOMP (mining pool)
    • CPU Miner
    • Fork the network
    • Run regtest
  • Bitprim
    • Introduction
    • Node versions
    • Requirements
    • Node installation
    • Run the node
    • Insight Installation
    • Run Insight (node + REST-API)
    • Query the insight api
  • Bitprim Node Configuration Files
    • Bitcoin Cash Testnet
    • Bitcoin Cash Mainnet
    • Bitcoin Core Testnet
    • Bitcoin Core Mainnet
    • Litecoin Testnet
    • Litecoin Mainnet
  • Bitprim Insight Configuration
    • Insight-API configuration file
  • Utils
    • Install Node Version Manager
    • Install Redis
Powered by GitBook
On this page
  • Hardware Requirements:
  • General:
  • Non full nodes:
  • Full nodes:
  • Software Requirements:
  • Conan:
  • Build tools:
  • Insight-API also requires:
  1. Bitprim

Requirements

Hardware and software requirements.

PreviousNode versionsNextNode installation

Last updated 6 years ago

Hardware Requirements:

General:

Bitprim only runs in 64-bit machines.

Non full nodes:

When running the nodes in the default or pruned mode, the node doesn't require a lot of resources. It can be run on any PC/VM with at least 4Gb of RAM. The blockchain size for mainnet is around 150Gb for the default mode and for the pruned mode it's around 20Gb.

Full nodes:

The Bitprim's database is a Memory Mapped Database so it will try to allocate the database on RAM as much as it can. When running the nodes with using the Full mode or using the Insight-API the node will create all the extra databases to store the processed information so at least 64Gb of RAM is recommended and it will require 644Gb of disk space.

This requirements are for mainnet, when running the node on the testnet it requires much less RAM and Disk space.

Software Requirements:

This guide is only for Debian systems but the instructions can be adapted for any OS. The installation and usage steps were tested using an Ubuntu 18.10 docker image.

Conan:

Bitprim uses for package management. Conan will download the binary files for your architecture if they exist in the repository. If the binary files for your configuration are not stored in the Bintray repository, Conan will download the source files and compile the binary locally.

  • Install Conan:

    • The recommended way to install Conan is using python pip.

apt-get update
apt-get install -y python-pip
pip install conan
  • Add Bitprim's Conan remote

conan remote add bitprim https://api.bintray.com/conan/bitprim/bitprim

Build tools:

When Conan needs to compile some code in your PC/VM these tools will be needed.

apt-get install -y wget git curl libcurl4 cmake build-essential gcc g++

Insight-API also requires:

  • Register Microsoft key and feed:

wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
  • Install the SDK:

add-apt-repository universe
apt-get install apt-transport-https
apt-get update
apt-get install dotnet-sdk-2.1

The add-apt-repository call may fail depending on your system. But if the dotnet-skd install ends with no problems it was because the add-apt-repository call was not needed.

After the pip install Conan some systems can not find the Conan binary, in some Debian versions the path is refreshed after a console restart or system reboot. In order to avoid restarting the system, the Conan path can be added to the terminal settings, for example editing the ~/.bashrc file. More information .

Insight-API is written in C# so .NET core 2 is needed. Official instructions by Microsoft are .

Conan.io
Bintray
here
here