cuprate-hinto-janai/storage/service
hinto-janai 38541dbfda
workspace: add/fix 1.83 lints ()
* 1.83 `cargo clippy --fix`

* fix type complexity, add `DbResult`

* clippy fix

* redb fix

* Update consensus/context/src/difficulty.rs

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-11-28 19:53:59 +00:00
..
src workspace: add/fix 1.83 lints () 2024-11-28 19:53:59 +00:00
Cargo.toml CI: add cargo hack () 2024-11-01 20:22:14 +00:00
README.md Storage: split the DB service abstraction () 2024-08-05 21:47:30 +01:00

Cuprate's tower::Service database abstraction.

This crate contains the building blocks for creating a [tower::Service] interface to cuprate_blockchain.

It is split into 2 tower::Services:

  1. A read service which is backed by a [rayon::ThreadPool]
  2. A write service which spawns a single thread to handle write requests