Crate sc_network_transactions
source ·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.
Modules
- Configuration of the transaction protocol
Structs
- Handler for transactions. Call
TransactionsHandler::runto start the processing. - Controls the behaviour of a
TransactionsHandlerit is connected to. - Prototype for a
TransactionsHandler.
Type Definitions
- A set of transactions.