Crate sc_network_transactions
source ·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.
Modules
- Configuration of the transaction protocol
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
.
Type Definitions
- A set of transactions.