#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

82 releases (21 breaking)

new 0.120.0-rc2 Nov 20, 2024
0.119.0 Oct 25, 2024
0.117.0 Jul 29, 2024
0.115.0-rc2 Mar 20, 2024
0.40.0 Feb 24, 2021

#101 in Magic Beans

Download history 135/week @ 2024-07-31 83/week @ 2024-08-07 229/week @ 2024-08-14 91/week @ 2024-08-21 58/week @ 2024-08-28 243/week @ 2024-09-04 66/week @ 2024-09-11 379/week @ 2024-09-18 60/week @ 2024-09-25 55/week @ 2024-10-02 241/week @ 2024-10-09 202/week @ 2024-10-16 311/week @ 2024-10-23 96/week @ 2024-10-30 61/week @ 2024-11-06 150/week @ 2024-11-13

761 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