mithril_aggregator_client/query/
mod.rs

1//! Provides queries to retrieve or send data to a Mithril aggregator
2//!
3//! Available queries
4//! - Get:
5//!   - Aggregator: [Get current aggregator features][GetAggregatorFeaturesQuery], [Get current aggregator status][GetAggregatorStatusQuery]
6//!   - Cardano database v1 (aka Snapshot): [List][GetSnapshotsListQuery], [Get by hash][GetSnapshotQuery]
7//!   - Cardano database v2: [List latest, list for an epoch, list for latest epoch, list for latest epoch with an offset][GetCardanoDatabaseListQuery], [Get by hash][GetCardanoDatabaseQuery]
8//!   - Cardano stake distribution: [List][GetCardanoStakeDistributionsListQuery], [Get by hash, get for an epoch, get for latest epoch, get for latest epoch with an offset][GetCardanoStakeDistributionQuery]
9//!   - Cardano transactions snapshot: [List][GetCardanoTransactionsListQuery], [Get by hash][GetCardanoTransactionQuery]
10//!   - Cardano transactions proof: [Get for a list of transactions hashes][GetCardanoTransactionProofQuery]
11//!   - Certificate: [List][GetCertificatesListQuery], [Get by hash, get latest genesis certificate][GetCertificateQuery]
12//!   - Epoch settings: [Get current epoch settings][GetEpochSettingsQuery]
13//!   - Mithril stake distribution: [List][GetMithrilStakeDistributionsListQuery], [Get by hash][GetMithrilStakeDistributionQuery]
14//!   - Protocol Configuration: [Get for a given epoch][GetProtocolConfigurationQuery]
15//! - Post:
16//!   - Signature: [Register a signature][PostRegisterSignatureQuery]
17//!   - Registration: [Send a signer registration][PostRegisterSignerQuery]
18//!   - Cardano database v1 (aka Snapshot): [Increment snapshot download statistic][PostIncrementSnapshotDownloadStatisticQuery]
19//!   - Cardano database v2:
20//!     - Increment Cardano database snapshot [complete or partial restoration statistic][PostIncrementCardanoDatabaseRestorationStatisticQuery]
21//!     - Increment Cardano database snapshot [immutables restored statistic][PostIncrementCardanoDatabaseImmutablesRestoredStatisticQuery]
22//!     - Increment Cardano database snapshot [ancillary files restored statistic][PostIncrementCardanoDatabaseAncillaryRestoredStatisticQuery]
23//!
24mod api;
25mod get;
26mod post;
27
28pub(crate) use api::*;
29pub use get::*;
30pub use post::*;