#ckb #memory-mapped #immutability #store #flat #chain #freezer

ckb-freezer

Freezer is an memory mapped append-only database to store immutable chain data into flat files

85 releases (21 breaking)

new 0.120.0 Dec 11, 2024
0.120.0-rc2 Nov 20, 2024
0.117.0 Jul 29, 2024
0.115.0-rc2 Mar 20, 2024
0.40.0 Feb 24, 2021

#638 in Magic Beans

Download history 251/week @ 2024-08-19 74/week @ 2024-08-26 242/week @ 2024-09-02 47/week @ 2024-09-09 345/week @ 2024-09-16 110/week @ 2024-09-23 40/week @ 2024-09-30 225/week @ 2024-10-07 93/week @ 2024-10-14 434/week @ 2024-10-21 64/week @ 2024-10-28 112/week @ 2024-11-04 26/week @ 2024-11-11 383/week @ 2024-11-18 85/week @ 2024-11-25 382/week @ 2024-12-02

880 downloads per month
Used in 21 crates (2 directly)

MIT license

310KB
6.5K SLoC

Run FailPoints

cargo test --features fail/failpoints -- --test-threads=1


lib.rs:

Freezer is an memory mapped append-only database to store immutable chain data into flat files

Dependencies

~11–18MB
~261K SLoC