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§
- Cancellation
Token - A token which can be used to signal a cancellation request to one or more tasks.
- Server
Builder - ABCI server builder that creates and starts ABCI server
- Server
Runtime - 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.
- Request
Dispatcher - Server
- ABCI Server handle.
Functions§
- check_
version - Check if ABCI version sent by Tenderdash matches version of linked protobuf data objects.
- start_
server Deprecated