Skip to content
Snippets Groups Projects
Unverified Commit a808a3a0 authored by David Emett's avatar David Emett Committed by GitHub
Browse files

Mixnet integration (#1346)


See #1345, <https://github.com/paritytech/substrate/pull/14207>.

This adds all the necessary mixnet components, and puts them together in
the "kitchen-sink" node/runtime. The components added are:

- A pallet (`frame/mixnet`). This is responsible for determining the
current mixnet session and phase, and the mixnodes to use in each
session. It provides a function that validators can call to register a
mixnode for the next session. The logic of this pallet is very similar
to that of the `im-online` pallet.
- A service (`client/mixnet`). This implements the core mixnet logic,
building on the `mixnet` crate. The service communicates with other
nodes using notifications sent over the "mixnet" protocol.
- An RPC interface. This currently only supports sending transactions
over the mixnet.

---------

Co-authored-by: default avatarDavid Emett <dave@sp4m.net>
Co-authored-by: default avatarJavier Viola <javier@parity.io>
parent 1dc935c7
Branches
No related merge requests found
Pipeline #398925 passed with stages
in 1 hour, 7 minutes, and 26 seconds
Showing
with 514 additions and 106 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment