#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

#430 in #block

47 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.2–6.5MB
~122K SLoC