Module sc_network::transactions [−][src]
Expand description
Transactions handling to plug on top of the network service.
Usage:
- Use
TransactionsHandlerPrototype::new
to create a prototype. - Pass the return value of
TransactionsHandlerPrototype::set_config
to the network configuration as an extra peers set. - Use
TransactionsHandlerPrototype::build
thenTransactionsHandler::run
to obtain aFuture
that processes transactions.
Structs
Handler for transactions. Call TransactionsHandler::run
to start the processing.
Controls the behaviour of a TransactionsHandler
it is connected to.
Prototype for a TransactionsHandler
.