File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ bitcell-crypto = { path = "../bitcell-crypto" }
1212bitcell-consensus = { path = " ../bitcell-consensus" }
1313serde.workspace = true
1414thiserror.workspace = true
15- tokio = { version = " 1" , features = [" full" ] }
15+ tokio.workspace = true
16+ libp2p.workspace = true
17+ tracing.workspace = true
18+ async-trait.workspace = true
1619
1720[dev-dependencies ]
1821proptest.workspace = true
22+ tokio-test = " 0.4"
Original file line number Diff line number Diff line change 11//! P2P networking layer
22//!
3- //! Handles peer discovery, message propagation, and block relay.
4- //! v0.1 provides message structures; full libp2p integration in v0.2.
3+ //! Handles peer discovery, message propagation, and block relay using libp2p.
54
65pub mod messages;
76pub mod peer;
@@ -18,6 +17,9 @@ pub enum Error {
1817
1918 #[ error( "Peer error: {0}" ) ]
2019 Peer ( String ) ,
20+
21+ #[ error( "Transport error: {0}" ) ]
22+ Transport ( String ) ,
2123}
2224
2325#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments