Expand description
The entities used by, and exchanged between, the aggregator, signers and client.
Structs§
- Ancillary
Locations - Ancillary locations of the Cardano database related files.
- Block
Number - BlockNumber is the block number of a Cardano transaction.
- Block
Range - BlockRange for the Cardano chain
- Block
Ranges Sequence - A continuous iterable sequence of block ranges.
- Cardano
Database Snapshot - Cardano database snapshot.
- Cardano
Database Snapshot Artifact Data - Structure holding artifacts data needed to create a Cardano database snapshot.
- Cardano
DbBeacon - A point in the Cardano chain at which a Mithril certificate of the Cardano Database should be produced.
- Cardano
Stake Distribution - Cardano Stake Distribution
- Cardano
Transaction - Cardano transaction representation
- Cardano
Transactions SetProof - A cryptographic proof of a set of Cardano transactions is included in the global Cardano transactions set
- Cardano
Transactions Signing Config - Configuration for the signing of Cardano transactions
- Cardano
Transactions Snapshot - Snapshot of a set of Cardano transactions
- Certificate
- Certificate represents a Mithril certificate embedding a Mithril STM multisignature
- Certificate
Metadata - CertificateMetadata represents the metadata associated to a Certificate
- Chain
Point - The Cardano chain point which is used to identify a specific point in the Cardano chain.
- Client
Error - Representation of a Client Error raised by an http server
- Compression
Algorithm Iter - An iterator over the variants of CompressionAlgorithm
- Digests
Locations - Digests locations of the Cardano database related files.
- Epoch
- Epoch represents a Cardano epoch
- FileUri
- FileUri represents a file URI used to identify the file’s location
- Immutables
Locations - Immutables locations of the Cardano database related files.
- Mithril
Stake Distribution - Mithril Stake Distribution
- Protocol
Message - ProtocolMessage represents a message that is signed (or verified) by the Mithril protocol
- Protocol
Parameters - Protocol cryptographic parameters
- Server
Error - Representation of a Server Error raised by a http server
- Signable
Manifest - Stores a map of files and their hashes, with an optional signature to verify the integrity of the signed data.
- Signed
Entity Config - Convert TimePoint to SignedEntityType and list allowed signed entity types and discriminants.
- Signed
Entity Type Discriminants Iter - An iterator over the variants of SignedEntityTypeDiscriminants
- Signer
- Signer represents a signing participant in the network
- Signer
With Stake - Signer represents a signing party in the network (including its stakes)
- Single
Signatures - SingleSignatures represent single signatures originating from a participant in the network for a digest at won lottery indexes
- Slot
Number - Cardano Slot number
- Snapshot
- Snapshot represents a snapshot file and its metadata
- Stake
Distribution Party - This represents a stakeholder.
- Template
Uri - TemplateUri represents an URI pattern used to build a file’s location
- Time
Point - TimePoint aggregates all types of point in the Cardano chain and is used by the state machines for their computations.
Enums§
- Ancillary
Files Manifest Verify Error - Errors that can occur when verifying the integrity of the data in the manifest
- Ancillary
Location - Locations of the ancillary files.
- Cardano
Network - The Cardano Network that is being targeted
- Certificate
Signature - The signature of a Certificate
- Compression
Algorithm - Compression algorithm for the snapshot archive artifacts.
- Digest
Location - Locations of the immutable file digests.
- Epoch
Error - EpochError is an error triggered by an Epoch
- Immutables
Location - Locations of the immutable files.
- Multi
Files Uri - MultiFilesUri represents a unique location uri for multiple files
- Protocol
Message Part Key - The key of a ProtocolMessage
- Signed
Entity Type - The signed entity type that represents a type of data signed by the Mithril
protocol Note: Each variant of this enum must be associated to an entry in
the
signed_entity_type
table of the signer/aggregator nodes. The variant are identified by their discriminant (i.e. index in the enum), thus the modification of this type should only ever consist of appending new variants. - Signed
Entity Type Discriminants - Auto-generated discriminant enum variants
- Single
Signature Authentication Status - Status of the authentication of the signer that emitted the signature
Type Aliases§
- Ancillary
Files Manifest - Alias of SignableManifest for Ancillary files
- Block
Hash - Hash of a Cardano Block
- Block
Range Length - BlockRangeLength is the length of a block range.
- Cardano
Era - Cardano Era
- HexEncoded
Aggregate Verification Key - Hex encoded Aggregate Verification Key
- HexEncoded
Digest - Hex encoded Sha256 Digest
- HexEncoded
EraMarkers Secret Key - Hex encoded Era Markers Secret Key
- HexEncoded
Genesis Secret Key - Hex encoded Genesis Secret Key
- HexEncoded
Genesis Verification Key - Hex encoded Genesis Verification Key
- HexEncoded
Key - Hex encoded key
- HexEncoded
KeySlice - Hex encoded key slice
- HexEncoded
OpCert - Hex encoded Operational Certificate
- HexEncoded
Single Signature - Hex encoded Single Signature
- HexEncoded
Verification Key - Hex encoded Verification Key
- HexEncoded
Verification KeySignature - Hex encoded Verification Key Signature
- Immutable
File Name - ImmutableFileName represents the filename, with extension, of a immutable file in the Cardano node database
- Immutable
File Number - ImmutableFileNumber represents the id of immutable files in the Cardano node database
- Lottery
Index - LotteryIndex represents the index of a Mithril single signature lottery
- MagicId
- Cardano Network magic identifier
- PartyId
- PartyId represents a signing party in Mithril protocol
- Protocol
Message Part Value - The value of a ProtocolMessage
- Protocol
Version - Protocol version
- Stake
- Stake represents the stakes of a participant in the Cardano chain
- Stake
Distribution - StakeDistribution represents the stakes of multiple participants in the Cardano chain
- TotalSP
Os - Number of SPOs
- Transaction
Hash - TransactionHash is the unique identifier of a cardano transaction.