diff --git a/domain_service/struct.DomainParams.html b/domain_service/struct.DomainParams.html
index 7409dbf939..6e014bf0c1 100644
--- a/domain_service/struct.DomainParams.html
+++ b/domain_service/struct.DomainParams.html
@@ -6,10 +6,10 @@
pub consensus_client: Arc<CClient>,
pub consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>,
pub select_chain: SC,
- pub operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS>,
+ pub operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS>,
pub gossip_message_sink: GossipMessageSink,
pub provider: Provider,
-}
§domain_id: DomainId
§domain_config: DomainConfiguration<AccountId>
§domain_created_at: NumberFor<CBlock>
use crate::behavior::persistent_parameters::{
append_p2p_suffix, remove_p2p_suffix, NetworkingParametersRegistry, PeerAddressRemovedEvent,
PEERS_ADDRESSES_BATCH_SIZE,
@@ -1479,6 +1498,7 @@
use futures::channel::mpsc;
use futures::future::Fuse;
use futures::{FutureExt, StreamExt};
+use libp2p::autonat::Event as AutonatEvent;
use libp2p::core::{address_translation, ConnectedPoint};
use libp2p::gossipsub::{Event as GossipsubEvent, TopicHash};
use libp2p::identify::Event as IdentifyEvent;
@@ -1874,6 +1894,9 @@
SwarmEvent::Behaviour(Event::SpecialConnectedPeers(event)) => {
self.handle_special_connected_peers_event(event).await;
}
+ SwarmEvent::Behaviour(Event::Autonat(event)) => {
+ self.handle_autonat_event(event).await;
+ }
SwarmEvent::NewListenAddr { address, .. } => {
let shared = match self.shared_weak.upgrade() {
Some(shared) => shared,
@@ -2561,6 +2584,21 @@
}
}
+ async fn handle_autonat_event(&mut self, event: AutonatEvent) {
+ trace!(?event, "Autonat event received.");
+ if let Some(autonat) = self.swarm.behaviour().autonat.as_ref() {
+ debug!(
+ public_address=?autonat.public_address(),
+ confidence=%autonat.confidence(),
+ "Current public address confidence."
+ );
+ }
+
+ if let AutonatEvent::StatusChanged { old, new } = event {
+ info!(?old, ?new, "Public address status changed.")
+ }
+ }
+
fn handle_command(&mut self, command: Command) {
match command {
Command::GetValue {
diff --git a/subspace_farmer/single_disk_farm/enum.BackgroundTaskError.html b/subspace_farmer/single_disk_farm/enum.BackgroundTaskError.html
index 72d8dd9052..ced2ae48ba 100644
--- a/subspace_farmer/single_disk_farm/enum.BackgroundTaskError.html
+++ b/subspace_farmer/single_disk_farm/enum.BackgroundTaskError.html
@@ -4,7 +4,7 @@
}
Expand description
Errors that happen in background tasks
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Failed to submit solutions response
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Failed to subscribe to archived segments
Low-level plotting error
-
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Cache size has zero capacity, this is not supported
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
The lower-level source of this error, if any.
Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access
)
Provides type based access to context intended for error reports.
Read more
Converts to this type from the input type.
Converts to this type from the input type.