Crate sc_network_statement
source ·Expand description
Statement handling to plug on top of the network service.
Usage:
- Use
StatementHandlerPrototype::new
to create a prototype. - Pass the return value of
StatementHandlerPrototype::set_config
to the network configuration as an extra peers set. - Use
StatementHandlerPrototype::build
thenStatementHandler::run
to obtain aFuture
that processes statements.
Modules
- Configuration of the statement protocol
Structs
- Handler for statements. Call
StatementHandler::run
to start the processing. - Prototype for a
StatementHandler
.
Type Definitions
- Future resolving to statement import result.
- A set of statements.