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
NonDefaultSetConfig
returned fromTransactionsHandlerPrototype::new
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 Aliases§
- A set of transactions.