pub trait BlockAccessListsClient: DownloadClient {
type Output: Future<Output = PeerRequestResult<BlockAccessLists>> + Send + Sync + Unpin;
// Required method
fn get_block_access_lists_with_priority(
&self,
hashes: Vec<B256>,
priority: Priority,
) -> Self::Output;
// Provided method
fn get_block_access_lists(&self, hashes: Vec<B256>) -> Self::Output { ... }
}Expand description
A client capable of downloading block access lists.
Required Associated Types§
Required Methods§
Sourcefn get_block_access_lists_with_priority(
&self,
hashes: Vec<B256>,
priority: Priority,
) -> Self::Output
fn get_block_access_lists_with_priority( &self, hashes: Vec<B256>, priority: Priority, ) -> Self::Output
Fetches the block access lists for given hashes with priority
Provided Methods§
Sourcefn get_block_access_lists(&self, hashes: Vec<B256>) -> Self::Output
fn get_block_access_lists(&self, hashes: Vec<B256>) -> Self::Output
Fetches the block access lists for given hashes.