1
0
mirror of synced 2025-02-11 23:27:42 +00:00

10 Commits

Author SHA1 Message Date
Youngjoon Lee
9dda7c79b5
clippy: remove empty lines under comment documents (#927) 2024-12-02 23:30:44 +09:00
Youngjoon Lee
d923328744
Mix: Use Sphinx instead of mock (#924) 2024-11-29 00:07:08 +09:00
Youngjoon Lee
7b1772a84c
Mix: Re-define max_payload_size parameter (#923) 2024-11-28 11:34:32 +09:00
Youngjoon Lee
0ff16ef5f2
Mix: Packet header encryption (#897)
* Mix: Packet header encryption

* modularization

* apply feedbacks

* use itertools::chain! instead of concat_bytes

* use explicit RoutingFlag type in error

* define size of layered encryption data as const

* remove MixMessage::Settings

* Use proper size for drop message

* remove TODOs
2024-11-28 10:36:14 +09:00
Youngjoon Lee
7b984a4e29
Just use priv/pubkey as Node ID in the mock mix message encoding (#912)
* Just use priv/pubkey as Node ID in the mock mix message encoding

* do not convert private key to public key in mix service
2024-11-08 10:14:34 +09:00
Youngjoon Lee
c84a29db31
Use public keys for the mock mix message encoding (#905)
* add node IDs in message

* integrate

* handle variable-lenght messages in nomos-mix-network

* add trait MixMessage

* make tests work

* clippy happy

* remove println!

* remove unnecssary dependency

* remove unnecessary trait bounds

* remove leftover
2024-11-06 10:49:38 +09:00
Youngjoon Lee
0c0aae0712
Mix: Packet algorithms (#859)
* add keyset

* add packet

* add comments

* add comments

* use functions in sphinx
2024-10-29 17:51:52 +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
83d9ef7738
Mix: Integrate mix service to the system (#824)
* Mix: remove all of the previous mixnet stuff

* Mix: Add mix service

* Integrate mix service to the node

* Add mock mix service for DA integration tests

* clippy happy

* use explicit function name and add TODOs

* remove the redundant use of tokio::sync::broadcast channel in mix adapter

* add mix service to nomos-executor binary

* removed mock mix backend and related adapters

Use the real mix backend for DA integration tests

* fix compile error generated when merging master

* rename all `MixNetwork*` to `Mix*` for further changes

* use explicit name for adapters

* Mix: Perform broadcasting within the mix service (#829)

* rename relay variables properly
2024-10-21 18:12:47 +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