sc-network-statement 0.22.0

Substrate statement protocol (polkadot v1.12.0)
Documentation

Statement handling to plug on top of the network service.

Usage:

  • Use [StatementHandlerPrototype::new] to create a prototype.
  • Pass the NonDefaultSetConfig returned from [StatementHandlerPrototype::new] to the network configuration as an extra peers set.
  • Use [StatementHandlerPrototype::build] then [StatementHandler::run] to obtain a Future that processes statements.