@@ -39,16 +39,6 @@ use crate::{
3939mod common_message_handler;
4040mod extensions_message_handler;
4141
42- /// Holds state related to a downstream connection's mining channels.
43- ///
44- /// This includes:
45- /// - Whether the downstream requires a standard job (`require_std_job`).
46- /// - A [`GroupChannel`].
47- /// - Active [`ExtendedChannel`]s keyed by channel ID.
48- /// - Active [`StandardChannel`]s keyed by channel ID.
49- /// - Extensions that have been successfully negotiated with this client
50- pub struct DownstreamData { }
51-
5242/// Communication layer for a downstream connection.
5343///
5444/// Provides the messaging primitives for interacting with the
@@ -72,7 +62,6 @@ pub struct DownstreamChannel {
7262/// Represents a downstream client connected to this node.
7363#[ derive( Clone ) ]
7464pub struct Downstream {
75- pub downstream_data : Arc < Mutex < DownstreamData > > ,
7665 downstream_channel : DownstreamChannel ,
7766 pub downstream_id : usize ,
7867 pub requires_standard_jobs : Arc < AtomicBool > ,
@@ -139,11 +128,8 @@ impl Downstream {
139128 connection_token,
140129 } ;
141130
142- let downstream_data = Arc :: new ( Mutex :: new ( DownstreamData { } ) ) ;
143-
144131 Downstream {
145132 downstream_channel,
146- downstream_data,
147133 downstream_id,
148134 requires_standard_jobs : Arc :: new ( AtomicBool :: new ( false ) ) ,
149135 requires_custom_work : Arc :: new ( AtomicBool :: new ( false ) ) ,
0 commit comments