Bzing is a high performance blockchain data structure library in pure C (specifically C99). It is meant to be used as a database backend in higher level Bitcoin implementations.
Before installing libbzing, we recommend you install one or more supported persistent backends:
- Kyoto Cabinet (Installation; recommended)
- Tokyo Cabinet (Installation; supported)
- BerkeleyDB (Installation; supported)
- LevelDB (supported)
- Localmemcache (unsupported)
If installed, they should be detected and linked automatically. Alternatively you can run libbzing using one of the built-in memory-only backends:
- khash (recommended)
- alignhash (unsupported)
- sparsehash
(
--with-sparse
, unsupported)
To compile, you need GCC, Ruby, CMake, Git. Run:
git clone --recursive git://github.com/justmoon/bzing.git
cd bzing
./configure
make
sudo make install
make test
This library is free and open-source software released under the MIT license.