Crate tenderdash_abci

Crate tenderdash_abci 

Source
Expand description

Tenderdash ABCI Application library.

ABCI Application is responsible for storage and implementation of application state.

Use [start_server] to create a new server that will accept connections from Tenderdash.

Run Server::handle_connection() in a loop to handle incoming server connections.

Implement the application::Application trait with custom logic for blockchain processing. Expect messages defined in proto::abci crate.

Re-exports§

pub use tenderdash_proto as proto;

Modules§

signatures
Digital signature processing
tracing_span
Create tracing::Span for better logging

Structs§

CancellationToken
A token which can be used to signal a cancellation request to one or more tasks.
ServerBuilder
ABCI server builder that creates and starts ABCI server
ServerRuntime
Server runtime that must be alive for the whole lifespan of the server

Enums§

Error
Errors that may happen during protobuf communication

Traits§

Application
An ABCI application.
RequestDispatcher
Server
ABCI Server handle.

Functions§

check_version
Check if ABCI version sent by Tenderdash matches version of linked protobuf data objects.
start_serverDeprecated