feat(net): introduce PeersInfo trait (#860)

This commit is contained in:
Matthias Seitz
2023-01-13 12:04:39 +01:00
committed by GitHub
parent 513df631e3
commit 3f9e7a080a
6 changed files with 20 additions and 8 deletions

View File

@ -14,7 +14,7 @@ use reth_interfaces::{
};
use reth_net_common::ban_list::BanList;
use reth_network::{NetworkConfig, NetworkEvent, NetworkManager, PeersConfig};
use reth_network_api::NetworkInfo;
use reth_network_api::{NetworkInfo, PeersInfo};
use reth_primitives::{HeadersDirection, NodeRecord, PeerId};
use reth_provider::test_utils::NoopProvider;
use reth_transaction_pool::test_utils::testing_pool;