Crate mithril_aggregator

source ·
Expand description

Mithril aggregator The Aggregator is responsible for:

  • registering signers
  • producing aggregate multi-signatures
  • creating, storing & serving the certificate chain
  • creating, storing & serving certified snapshots

This crate is divided in two parts: a HTTP server that exposes an API to communicate with signers and a Runtime that tracks the blockchain to provide signed certificates. You can find more information on how it works reading the documentation website.

Re-exports§

Modules§

  • database module. This module contains the entities definition tied with database representation with their associated queries.
  • Dependency injection module. This module provides tools to initialize and share resources and services amongst different threads.
  • Entities module
  • Event Store module This module proposes tools to send messages between processes and how to persist them in a separate database.
  • metrics module. This module contains the aggregator metrics service.
  • Services

Macros§

  • Match the given result and do an early return with an internal server error (500) if it was an Error. Else return the unwrapped value.

Structs§

Enums§

Traits§