mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: rename Block*Provider for Block*Reader (#3385)
This commit is contained in:
@ -20,7 +20,7 @@ use reth_primitives::{
|
||||
BlockBody, BlockHash, BlockHashOrNumber, BlockNumber, ChainSpec, Header, SealedBlock,
|
||||
SealedHeader, H256, U256,
|
||||
};
|
||||
use reth_provider::{BlockProviderIdExt, CanonStateNotificationSender};
|
||||
use reth_provider::{BlockReaderIdExt, CanonStateNotificationSender};
|
||||
use reth_transaction_pool::TransactionPool;
|
||||
use std::{collections::HashMap, sync::Arc};
|
||||
use tokio::sync::{mpsc::UnboundedSender, RwLock, RwLockReadGuard, RwLockWriteGuard};
|
||||
@ -90,7 +90,7 @@ pub struct AutoSealBuilder<Client, Pool> {
|
||||
|
||||
impl<Client, Pool: TransactionPool> AutoSealBuilder<Client, Pool>
|
||||
where
|
||||
Client: BlockProviderIdExt,
|
||||
Client: BlockReaderIdExt,
|
||||
{
|
||||
/// Creates a new builder instance to configure all parts.
|
||||
pub fn new(
|
||||
|
||||
Reference in New Issue
Block a user