1
0
mirror of synced 2025-01-11 08:15:48 +00:00
Daniel Sanchez 5f0707c276
Da: Network dispersal (#688)
* Fix reading messages state machine

* Improve waker on behaviour

* Rename test

* First sketch

* Implement replication

* Refactor protocols names

* Clippy happy

* expose behaviour

* Return dummy on outbound for validator behaviour

* Implement behaviour, lacks streams handling

* Cleanup

* Implement stream handling

* Add some documentation and comments

* Clippy fixes after rebase

* Move all neighbours to test_utils module

* Executor only outgoing streams

* First assault at testing behaviours

* Add debug instead of traces

* Added more logs

* Bullshitting tests

* Fix outstream handling, offers hook to send new peer streams

* Fix blob dispersal handling

* Refactor test, use new api

* Imports cleanup

* Working test

* Add docs

* Non overlapping test port
2024-08-12 09:12:08 +02:00

30 lines
818 B
TOML

[package]
name = "nomos-da-network-core"
version = "0.1.0"
edition = "2021"
[dependencies]
libp2p = { version = "0.53" }
libp2p-stream = "0.1.0-alpha"
futures = "0.3"
tracing = "0.1"
indexmap = "2.2"
subnetworks-assignations = { path = "../subnetworks-assignations" }
nomos-da-messages = { path = "../messages" }
kzgrs-backend = { path = "../../kzgrs-backend" }
tracing-subscriber = "0.3.18"
void = "1.0.2"
either = "1.13.0"
log = "0.4"
serde = "1.0"
bincode = "1.3"
tokio = { version = "1.39" }
tokio-stream = "0.1"
thiserror = "1.0"
[dev-dependencies]
tokio = { version = "1.39", features = ["macros", "rt-multi-thread", "time"] }
libp2p = { version = "0.53", features = ["ed25519", "ping", "macros", "tokio", "quic", "tcp", "yamux", "noise"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }