#database-transaction #schema #database-model #details #extracted #tx #constituent

imbibe-persistence

details the database model of the information extracted from a block and its constituent transactions

1 unstable release

Uses new Rust 2024

0.0.1 Jun 18, 2025

#9 in #database-model


Used in 3 crates

Apache-2.0

47KB
1.5K SLoC

Rust 1K SLoC SQL 143 SLoC // 0.1% comments

imbibe-persistence

This crate details the database model of the information extracted from a block and its constituent transactions.

It uses diesel and postgresql to provide the read and write methods against the databse.

The sql files defining the schema for block and tx can be found in migrations.

Dependencies

~28–42MB
~667K SLoC