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
  • Before the installation:
  • Default mode:
  • Pruned mode:
  • Full mode:
  • Common errors:
  1. Bitprim

Node installation

Node with RPC support installation.

PreviousRequirementsNextRun the node

Last updated 6 years ago

The nodes are going to be installed using the conan install call. This will download the binary files if they are already compiled for your system or it will download the source code to compile the node locally.

After calling the conan install command a bn file will be created in your current folder.

Before the installation:

  • Make sure you follow the steps listed in the section.

  • Delete your Conan cache to avoid conflict between versions:

conan remove "*" -f

Default mode:

Install a node that will store all the blocks and will keep the UTXO set to validate the incoming p2p messages.

conan install bitprim-node-exe/0.18.0@bitprim/stable -o db=default -o currency=BCH -o with_rpc=True

Pruned mode:

Install a node that will only store the last 100 blocks and the UTXO set.

conan install bitprim-node-exe/0.18.0@bitprim/stable -o db=pruned -o currency=BCH -o with_rpc=True

Full mode:

Install a node with the complete blockchain plus the addresses and spent history databases.

conan install bitprim-node-exe/0.18.0@bitprim/stable -o db=full -o currency=BCH -o with_rpc=True

In Bitprim's version 0.18 the database engine was changed to LMDB, this allows the node to process the blockchain queries faster and makes the database more robust than the legacy Custom Memory File Map.

Common errors:

When executing the Conan install command an error logs: sh: 1: cmake: not found. This is because the apt-get install cmake call failed, normally because it didn't find libcurl4 . To solve the problem make sure that you have installed in your system.

requirements
cmake