Finish mapping Libp2p to the P2p trait API

This commit is contained in:
Luke Parker
2025-01-08 19:39:09 -05:00
parent b2bd5d3a44
commit ce83b41712
5 changed files with 222 additions and 28 deletions

View File

@@ -11,7 +11,7 @@ use futures_util::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
use libp2p::request_response::{
self, Codec as CodecTrait, Event as GenericEvent, Config, Behaviour, ProtocolSupport,
};
pub use request_response::Message;
pub use request_response::{RequestId, Message};
use serai_cosign::SignedCosign;