Crate mithril_common
source ·Expand description
Shared datatypes and traits used by Mithril rust projects
Provide:
- Digester to compute mithril digest from a Cardano database
- Helpers for the Mithril STM lib with the crypto_helper.
- certificate chain used to validate the Certificate Chain created by an aggregator
- The entities used by, and exchanged between, the aggregator, signers and client.
Re-exports§
pub use entities::CardanoNetwork;
pub use entities::MagicId;
Modules§
- API Version provider service
- The module used for parsing Cardano transactions
- Cardano Transaction Preloader
- Tools to retrieve, validate the Certificate Chain created by an aggregator
- Tools to request metadata, like the current epoch or the stake distribution, from the Cardano
- Tools to read chain blocks sequentially
- Tools and types to abstract the use of the Mithril STM library
- Tools to compute mithril digest from a Cardano node database.
- The entities used by, and exchanged between, the aggregator, signers and client.
- The module used for handling eras
- Logging utilities for the Mithril project.
- Messages module This module aims at providing shared structures for API communications.
- Protocol module
- Resource pool implementation
- The module used for building signables
- Signed Entity Type Lock
- Test utilities
Macros§
- Compare two json strings ignoring keys order
- Macro used to mark the code that should be cleaned up when the new era is activated
Structs§
Constants§
- Mithril API protocol version header name
- Mithril Signer node version header name
Traits§
- TickerService
Type Aliases§
- Generic error type
- Generic result type