7 releases (breaking)
| 0.7.0 | Oct 3, 2023 |
|---|---|
| 0.6.0 | Sep 1, 2023 |
| 0.5.0 | Aug 31, 2023 |
| 0.4.0 | Aug 31, 2023 |
| 0.1.0 | May 23, 2023 |
#7 in #request-reply
163,448 downloads per month
Used in 185 crates
(2 directly)
190KB
3.5K
SLoC
A mixnet loosely based on Loopix.
This crate is mostly network agnostic. While it determines which nodes should be connected and which packets should be sent where, it does not care how this is done. It's not entirely agnostic; it assumes that peers have 32-byte globally-unique identifiers.
Parity Mix Network
Overview
This crate implements the core logic for a Substrate Mix Network node. It does not provide a full node implementation; the following parts must be provided by the crate user:
- Networking. This crate is mostly network-agnostic.
- Blockchain integration. This crate expects to be provided with the current session index, phase, and mixnodes.
- Request/reply handling. This crate treats request and reply payloads as opaque blobs.
Modules
The core mixnet logic lives in the core module and may be used on its own. The request_manager
and reply_manager modules provide a very simple reliable delivery layer.
Dependencies
~5.5–8MB
~149K SLoC