6 releases (breaking)

0.5.0 Dec 6, 2024
0.4.0 Nov 5, 2024
0.3.0 Oct 16, 2024
0.2.0 Oct 14, 2024
0.0.0-release Jul 18, 2024

#157 in #db

Download history 5/week @ 2024-09-23 152/week @ 2024-10-07 1111/week @ 2024-10-14 79/week @ 2024-10-21 79/week @ 2024-10-28 240/week @ 2024-11-04 108/week @ 2024-11-11 25/week @ 2024-11-18 31/week @ 2024-11-25 207/week @ 2024-12-02 73/week @ 2024-12-09 51/week @ 2024-12-16 11/week @ 2024-12-30 27/week @ 2025-01-06

98 downloads per month
Used in 9 crates (4 directly)

Apache-2.0

86KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments SQL 486 SLoC // 0.0% comments

essential-node-db

Crates.io Documentation license Build Status

The Essential node database.


lib.rs:

The node's DB interface and sqlite implementation.

The core capability of the node is to:

  1. Receive blocks from an L1 relayer and validate them.
  2. Receive contracts from the p2p network so that they're available for validation.

As a part of satisfying these requirements, this crate provides the basic functions required for safely creating the necessary tables and inserting/ querying/updating them as necessary.

Dependencies

~23–31MB
~495K SLoC