mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
network: don't log re-discovered addresses (#6881)
* network: move LruHashSet to network crate utils * network: don't log re-discovered external addresses * Update client/network/src/utils.rs Co-authored-by: mattrutherford <44339188+mattrutherford@users.noreply.github.com> Co-authored-by: mattrutherford <44339188+mattrutherford@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ use crate::{
|
||||
chain::{Client, FinalityProofProvider},
|
||||
config::{BoxFinalityProofRequestBuilder, ProtocolId, TransactionPool, TransactionImportFuture, TransactionImport},
|
||||
error,
|
||||
utils::interval
|
||||
utils::{interval, LruHashSet},
|
||||
};
|
||||
|
||||
use bytes::{Bytes, BytesMut};
|
||||
@@ -60,11 +60,9 @@ use std::fmt::Write;
|
||||
use std::{cmp, io, num::NonZeroUsize, pin::Pin, task::Poll, time};
|
||||
use log::{log, Level, trace, debug, warn, error};
|
||||
use sc_client_api::{ChangesProof, StorageProof};
|
||||
use util::LruHashSet;
|
||||
use wasm_timer::Instant;
|
||||
|
||||
mod generic_proto;
|
||||
mod util;
|
||||
|
||||
pub mod message;
|
||||
pub mod event;
|
||||
|
||||
Reference in New Issue
Block a user