cuprate-hinto-janai/storage/service
hinto-janai 38541dbfda
Some checks failed
Deny / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / deploy (push) Has been cancelled
workspace: add/fix 1.83 lints (#353)
* 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 (#353) 2024-11-28 19:53:59 +00:00
Cargo.toml CI: add cargo hack (#170) 2024-11-01 20:22:14 +00: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