refactor: add Peers trait und decouple rpc from NetworkHandle (#1100)

This commit is contained in:
Matthias Seitz
2023-01-31 19:32:45 +01:00
committed by GitHub
parent 5da6b07d9e
commit 5c32ad01c9
16 changed files with 110 additions and 90 deletions

View File

@ -7,7 +7,7 @@ use reth_interfaces::p2p::{
headers::client::{HeadersClient, HeadersRequest},
};
use reth_network::test_utils::{NetworkEventStream, Testnet};
use reth_network_api::NetworkInfo;
use reth_network_api::{NetworkInfo, Peers};
use reth_primitives::{
Block, Bytes, Header, HeadersDirection, Signature, Transaction, TransactionKind,
TransactionSigned, TxEip2930, H256, U256,