Module sc_network::transactions [−][src]
Expand description
Transactions handling to plug on top of the network service.
Usage:
- Use
TransactionsHandlerPrototype::newto create a prototype. - Pass the return value of
TransactionsHandlerPrototype::set_configto the network configuration as an extra peers set. - Use
TransactionsHandlerPrototype::buildthenTransactionsHandler::runto obtain aFuturethat 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.