#cache #native #blockchain #block #database #bnc #findora

fbnc

Findora BNC, a native cache implementation for blockchain

Show the crate…

1 unstable release

0.2.10 Jan 12, 2022
0.2.9 Oct 21, 2021

#432 in #block

Download history 3/week @ 2023-12-15 2/week @ 2023-12-22 1/week @ 2024-01-19 2/week @ 2024-01-26 9/week @ 2024-02-16 21/week @ 2024-02-23 19/week @ 2024-03-01 11/week @ 2024-03-08 12/week @ 2024-03-15 3/week @ 2024-03-22 95/week @ 2024-03-29

123 downloads per month

MIT license

77KB
2K SLoC

GitHub top language GitHub issues GitHub pull requests

fBNC

fBNC, Blockchain Native Cache.

A native stateless storage library for block chain.

Its value is to improve the stability and security of online services, at the cost of some single-node performance losses.

Code Structure

# zsh % tree -F src

src
├── helper.rs
├── lib.rs
├── mapx/
│   ├── backend.rs
│   ├── mod.rs
│   └── test.rs
├── serde.rs
└── vecx/
    ├── backend.rs
    ├── mod.rs
    └── test.rs

2 directories, 9 files
# zsh % tokei

===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Makefile                1           29           21            0            8
 TOML                    2           37           29            3            5
-------------------------------------------------------------------------------
 Markdown                1           17            0           10            7
 |- Shell                1           34           29            2            3
 (Total)                             51           29           12           10
-------------------------------------------------------------------------------
 Rust                   12         1729         1406           84          239
 |- Markdown            11          129            0          121            8
 (Total)                           1858         1406          205          247
===============================================================================
 Total                  16         1812         1456           97          259
===============================================================================

Dependencies

~1.3–6.5MB
~124K SLoC