Skip to content

dario-ramos/bitprim-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitprim Node Gitter Chat

Bitcoin full node based on libbitcoin-blockchain

In version2, the bitcoin-node console app is for demonstration purposes only. See bitprim-server for release quality full node functionality.

master(linux/osx) dev(linux/osx) master(windows) dev(windows)
Build Status Build StatusB Appveyor Status Appveyor StatusB

Table of Contents

Installation

Using Conan (recommended)

Conan is a Python package for dependency management; it only requires Python and Pip. With Conan, install can be performed on any OS. If there are no prebuilt binaries for a given OS-compiler-arch combination, Conan will build from source.

pip install conan
conan remote add bitprim https://api.bintray.com/conan/bitprim/bitprim
conan install bitprim-node/0.1@bitprim/stable

The last step will install binaries and headers in Conan's cache, a directory outside the usual system paths. This will avoid conflict with system packages such as boost. Also, notice it references the stable version 0.1. To see which versions are available, please check Bintray.

Build from sources

Debian/ubuntu

Make sure you have installed bitprim-core, bitprim-database, bitprim-blockchain, bitprim-consensus (optional) and bitprim-network beforehand according to its build instructions.

$ git clone https://github.com/bitprim/bitprim-node.git
$ cd bitprim-node
$ mkdir build
$ cd build
$ cmake .. -DENABLE_TESTS=OFF -DWITH_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-std=c++11" 
$ make -j2
$ sudo make install

bitprim-node is now installed in /usr/local/.

Windows with Visual Studio

This project, unlike secp256k1, has external dependencies such as boost. The easiest way to build them is to use Conan from the CMake script, which will install boost and other libraries in non-system directories.

From a Visual Studio Developer Command Prompt:

$ pip install conan
$ git clone https://github.com/bitprim/bitprim-node.git
$ cd bitprim-node
$ mkdir build
$ cd build
$ conan install ..
$ cmake .. -DUSE_CONAN=ON -DNO_CONAN_AT_ALL=OFF
$ msbuild ALL_BUILD.vcxproj

About

Bitcoin Full Node

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 70.0%
  • M4 15.6%
  • Shell 5.1%
  • CMake 4.5%
  • Python 2.6%
  • Makefile 1.2%
  • Batchfile 1.0%