1
0
mirror of synced 2025-02-12 15:56:44 +00:00

11 Commits

Author SHA1 Message Date
Youngjoon Lee
1fa442aa2d
make tests work 2024-11-05 18:02:20 +07:00
Youngjoon Lee
32ecdd8956
add trait MixMessage 2024-11-05 17:38:35 +07:00
Youngjoon Lee
9f34bc59fc
handle variable-lenght messages in nomos-mix-network 2024-11-05 15:39:50 +07:00
Youngjoon Lee
05778437ed
integrate 2024-11-05 14:32:22 +07:00
Youngjoon Lee
c3de9ade76
add node IDs in message 2024-11-05 12:28:38 +07:00
Youngjoon Lee
7aea30132d
Mix: Implement PersistsentTransmission & Temporal/CryptoProcessor and use them in MixService (#844)
* forward msgs immediately without any processing

* Mix: Offload transmission rate and message processing from libp2p behaviour/handler

* Mix: Core skeleton used in `MixService`

* rename Processor to MessageBlend

* Mix: Implement Persistent Transmission (Tier 1) (#845)

* Mix: Add Persistent Transmission (Tier 1)

* add test

* define Coin struct with Uniform distribution for fast repeated sampling

* use ChaCha12Rng for Coin

* improve comment

* Mix: Implement Temporal Processor (Tier 2) (#846)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* use pub(crate)

* Mix: Use TemporalProcessor in MessageBlend (#847)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* Mix: Use TemporalProcessor in MessageBlend

* remove duplicate members in Cargo.toml
2024-10-28 17:32:39 +09:00
Youngjoon Lee
ce24a03a23
Mix: Offload transmission rate and message processing from libp2p behaviour/handler (#843) 2024-10-24 21:00:26 +09:00
Youngjoon Lee
929fb1b7b1
forward msgs immediately without any processing (#841) 2024-10-24 11:44:35 +09:00
Daniel Sanchez
5a85281ec0
Use tokio 1 in deps (#842) 2024-10-22 16:59:42 +02:00
Youngjoon Lee
8dbcf560f9
Mix: Add mix service (#823)
* Mix: remove all of the previous mixnet stuff

* Mix: Add mix service

* refactor extract_peer_id and add comments
2024-10-17 18:12:26 +09:00
Youngjoon Lee
ca0eb824aa
Mix: NetworkBehaviour (#765)
* Mix: NetworkBehaviour

* use Waker.wake()

* make clippy happy by defining Config instead of Behaviour::Default
2024-09-24 22:39:59 +09:00