[WIP] added event headers, concurrent requests from connected peers and wip sync mechanisms

This commit is contained in:
dasman
2025-05-12 14:15:15 +03:00
parent 9fa1476a0a
commit fe4717097e
17 changed files with 766 additions and 203 deletions

View File

@@ -25,7 +25,7 @@ use darkfi::net::transport::{Dialer, Listener};
#[test]
fn tcp_transport() {
let executor = LocalExecutor::new();
let url = Url::parse("tcp://127.0.0.1:5432").unwrap();
let url = Url::parse("tcp://127.0.0.1:54321").unwrap();
smol::block_on(executor.run(async {
let listener = Listener::new(url.clone(), None).await.unwrap().listen().await.unwrap();