Crate sc_mixnet

Source
Expand description

Substrate mixnet service. This implements the Substrate Mix Network Specification.

Structs§

Api
Interface to the mixnet service.
ApiBackend
The other end of an Api. This should be passed to run.
Config
Mixnet configuration.
CoreConfig
Mixnet configuration.
SubstrateConfig
Substrate-specific mixnet configuration.

Enums§

Error
Mixnet error.
PostErr
Request/reply posting error.
RemoteErr
Error handling a request. Sent in replies over the mixnet.
TopologyErr
Topology error.

Functions§

peers_set_config
Returns the peers set configuration for the mixnet protocol.
protocol_name
Returns the protocol name to use for the mixnet controlled by the given chain.
run
Run the mixnet service. If keystore is None, the service will not attempt to register the local node as a mixnode, even if config.register is true.

Type Aliases§

KxSecret
An unclamped key-exchange secret key.