From 8e07b838e183b30238e139772042d670e09fdb37 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sun, 10 Sep 2023 22:53:47 +0200 Subject: [PATCH] fix(network): make facade members public (#285) --- pallas-network/src/facades.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pallas-network/src/facades.rs b/pallas-network/src/facades.rs index ace6140..3d77cae 100644 --- a/pallas-network/src/facades.rs +++ b/pallas-network/src/facades.rs @@ -30,10 +30,10 @@ pub enum Error { /// Client of N2N Ouroboros pub struct PeerClient { - plexer_handle: JoinHandle>, + pub plexer_handle: JoinHandle>, pub handshake: handshake::Confirmation, - chainsync: chainsync::N2NClient, - blockfetch: blockfetch::Client, + pub chainsync: chainsync::N2NClient, + pub blockfetch: blockfetch::Client, } impl PeerClient { @@ -87,10 +87,10 @@ impl PeerClient { /// Server of N2N Ouroboros pub struct PeerServer { - plexer_handle: JoinHandle>, + pub plexer_handle: JoinHandle>, pub version: (VersionNumber, n2n::VersionData), - chainsync: chainsync::N2NServer, - blockfetch: blockfetch::Server, + pub chainsync: chainsync::N2NServer, + pub blockfetch: blockfetch::Server, } impl PeerServer { @@ -144,10 +144,10 @@ impl PeerServer { /// Client of N2C Ouroboros pub struct NodeClient { - plexer_handle: JoinHandle>, + pub plexer_handle: JoinHandle>, pub handshake: handshake::Confirmation, - chainsync: chainsync::N2CClient, - statequery: localstate::ClientV10, + pub chainsync: chainsync::N2CClient, + pub statequery: localstate::ClientV10, } impl NodeClient { @@ -244,9 +244,9 @@ impl NodeClient { /// Server of N2C Ouroboros pub struct NodeServer { - plexer_handle: JoinHandle>, + pub plexer_handle: JoinHandle>, pub version: (VersionNumber, n2c::VersionData), - chainsync: chainsync::N2CServer, + pub chainsync: chainsync::N2CServer, // statequery: localstate::Server, }