Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 2.09 KB

File metadata and controls

28 lines (20 loc) · 2.09 KB

Bitprim Database Gitter Chat

Bitcoin High Performance Blockchain Database

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

Make sure you have installed bitprim-core beforehand according to its build instructions.

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

bitprim-database will now be installed in /usr/local/.

About Bitprim Database

Bitprim Database is a custom database build directly on the operating system's memory-mapped file system. All primary tables and indexes are built on in-memory hash tables, resulting in constant-time lookups. The database uses sequence locking to avoid writer starvation while never blocking the reader. This is ideal for a high performance blockchain server as reads are significantly more frequent than writes and yet writes must proceed wtihout delay. The bitprim-blockchain library uses the database as its blockchain store.