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 torun
. - Config
- Mixnet configuration.
- Core
Config - Mixnet configuration.
- Substrate
Config - Substrate-specific mixnet configuration.
Enums§
- Error
- Mixnet error.
- PostErr
- Request/reply posting error.
- Remote
Err - Error handling a request. Sent in replies over the mixnet.
- Topology
Err - 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
isNone
, the service will not attempt to register the local node as a mixnode, even ifconfig.register
istrue
.
Type Aliases§
- KxSecret
- An unclamped key-exchange secret key.