Crate narwhal_types
source · [−]Modules
Macros
Structs
The persistent storage of the sequencer.
Empty message for when we don’t have anything to return
Builder for
Header
.Used by primary to ask worker for the request.
The consensus to mempool interface for validator actions.
The consensus to mempool interface for validator actions.
Used by workers to request batches from other workers.
Used by workers to provide batches to other workers.
Used by the primary to request that the worker sync the target missing batches.
Enums
Error type for HeaderBuilder
The messages sent by the primary to its workers.
Message to reconfigure worker tasks. This message must be sent by a trusted source.
Unsolicited messages exchanged between workers.
The messages sent by the workers to their primary.
Traits
Generated trait containing gRPC methods that should be implemented for use with ConfigurationServer.
Generated trait containing RPC methods that should be implemented for use with PrimaryToPrimaryServer.
Generated trait containing RPC methods that should be implemented for use with PrimaryToWorkerServer.
Generated trait containing gRPC methods that should be implemented for use with ProposerServer.
Generated trait containing gRPC methods that should be implemented for use with TransactionsServer.
Generated trait containing gRPC methods that should be implemented for use with ValidatorServer.
Generated trait containing RPC methods that should be implemented for use with WorkerToPrimaryServer.
Generated trait containing RPC methods that should be implemented for use with WorkerToWorkerServer.
Functions
Hashes a serialized batch message without deserializing it into a batch.
Type Definitions
The round number.
A global sequence number assigned to every certificate.
Shutdown token dropped when a task is properly shut down.
Convenience type to propagate store errors.