cuprate/storage/service
hinto-janai 6502729d8c
lints: replace allow with expect (#285)
* cargo.toml: add `allow_attributes` lint

* fix lints

* fixes

* fmt

* fix docs

* fix docs

* fix expect msg
2024-09-18 21:31:08 +01:00
..
src lints: replace allow with expect (#285) 2024-09-18 21:31:08 +01:00
Cargo.toml Storage: split the DB service abstraction (#237) 2024-08-05 21:47:30 +01:00
README.md Storage: split the DB service abstraction (#237) 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