Skip to content

bitprim/bitprim-database

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Bitcoin High Performance Blockchain Database

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.5%
  • CMake 3.5%
  • Python 1.8%
  • Other 1.2%