cuprate-hinto-janai/types
Boog900 4169c45c58
Blockchain: add alt-block handling (#260)
* add new tables & types

* add function to fully add an alt block

* resolve current todo!s

* add new requests

* WIP: starting re-orgs

* add last service request

* commit Cargo.lock

* add test

* more docs + cleanup + alt blocks request

* clippy + fmt

* document types

* move tx_fee to helper

* more doc updates

* fmt

* fix imports

* fix fee

* Apply suggestions from code review

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

* remove default features from `cuprate-helper`

* review fixes

* fix find_block

* add a test and fix some issues in chain history

* fix clippy

* fmt

* Apply suggestions from code review

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

* add dev dep

* cargo update

* move `flush_alt_blocks`

* review fixes

* more review fixes

* fix clippy

* remove INVARIANT comments

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-09-19 16:55:28 +01:00
..
src Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
Cargo.toml lints: opt in manual lint crates (#263) 2024-09-02 18:12:54 +01:00
README.md Consensus: move more types to types (#250) 2024-08-09 00:56:13 +01:00

cuprate-types

Shared data types within Cuprate.

This crate is a kitchen-sink for data types that are shared across Cuprate.

Features flags

Feature flag Does what
blockchain Enables the blockchain module, containing the blockchain database request/response types
serde Enables serde on types where applicable
epee Enables cuprate-epee-encoding on types where applicable
proptest Enables proptest::arbitrary::Arbitrary on some types