4 releases (2 breaking)

Uses old Rust 2015

0.3.1 Nov 21, 2018
0.2.1 Nov 10, 2018
0.2.0 Nov 7, 2018
0.1.1 May 10, 2018

#15 in #block-header

CC0 license

55KB
1K SLoC

Rust In-Memory Blockchain Library

Library to cache blocks or block headers in-memory.

The cache container allows retrieval as anticipated in Bitcoin applications, determines the chain with most work (the trunk of the tree) and verifies if work on a block header is sufficient for the height at which the block tries to connect to the trunk.

Dependencies

~6MB
~92K SLoC