cuprate-hinto-janai/types/README.md
hinto-janai 80bfe0a34c
types: JSON representation types (#300)
* add `cuprate_types::json`

* docs

* `Option` -> flattened enums + prefix structs

* output enum

* docs

* todo!() epee impl

* cuprate-rpc-types: add comments

* cuprate-rpc-types: common `TxEntry` fields into prefix struct

* remove epee

* docs

* add `hex` module

* `From` serai types

* cleanup

* proofs

* tx from impls

* fix tx timelock

* add block value tests

* add ringct types

* add tx_v1, tx_rct_3 test

* clsag bulletproofs tx test

* clsag bulletproofs plus tx test

* docs

* fix hex bytes

* typo

* docs
2024-10-05 01:47:44 +01:00

691 B

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
json Enables the json module, containing JSON representations of common Monero types
hex Enables the hex module, containing the HexBytes type