cuprate-hinto-janai/types
Boog900 7c8466f4ba
Storage: add blockchain history requests (#206)
* Add database requests for chain history

* misc fixes

* review comments

* fix clippy

* add link and fix typo

* Apply suggestions from code review

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

* add comment

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-07-02 23:08:19 +01:00
..
src Storage: add blockchain history requests (#206) 2024-07-02 23:08:19 +01:00
Cargo.toml Consensus: use cuprate-types types (#145) 2024-06-04 18:19:35 +01:00
README.md database: final docs + cleanup (#117) 2024-05-05 15:21:28 +01:00

cuprate-types

Various data types shared by Cuprate.


1. File Structure

A quick reference of the structure of the folders & files in cuprate-types.

Note that lib.rs/mod.rs files are purely for re-exporting/visibility/lints, and contain no code. Each sub-directory has a corresponding mod.rs.

1.1 src/

The top-level src/ files.

File Purpose
service.rs Types used in database requests; enum {Request,Response}
types.rs Various general types used by Cuprate