1
0
mirror of synced 2025-01-13 01:04:26 +00:00

3 Commits

Author SHA1 Message Date
Youngjoon Lee
e7d591b7bc
Mixnet v1 ()
* base

* Remove mixnet client from libp2p network backend ()

* Mixnet v1: Remove all mixnet legacies: mixnet crate, mixnode binary, tests, and docker ()

* Mixnet v1: Skeleton ()

* Use QUIC for libp2p ()

* Add Poisson interval function for Mixnet ()

* Mixnet network backend skeleton ()

* Libp2p stream read/write ()

* Emitting packets from mixclient using libp2p stream ()

* Handle outputs from mixnode using libp2p stream/gossipsub ()

* Refactor poisson ()

* Mix client Poisson emission ()

* Mix node packet handling ()

* Mix Packet / Fragment logic ()

* Move FisherYates to `nomos-utils` ()

* Mixnet topology ()

* Mix client/node unit tests ()

* change multiaddr from tcp to udp with quic-v1 ()

---------

Co-authored-by: Al Liu <scygliu1@gmail.com>
2024-03-12 15:47:35 +09:00
Giacomo Pasini
ccc85904d9
do not use prefix in serialization () 2023-11-07 15:24:49 +01:00
Al Liu
1553f29bd9
Humanize array ser/deser ()
* humanize array ser/deser

* split fns

* use `const-hex`

* fix fmt

* create `nomos-utils` crate

* Human serde committeeid ()

* Human readable serde for CommitteeId

* Deserialize bytes to string if human readable

* Don't allocate if possible in human serde bytes

---------

Co-authored-by: gusto <bacv@users.noreply.github.com>
2023-10-26 23:16:10 +08:00