Add LRU cache for execution blocks

This commit is contained in:
Paul Hauner
2021-09-27 17:42:43 +10:00
parent b6909b824d
commit c1b0093d9e
4 changed files with 28 additions and 3 deletions

View File

@@ -102,7 +102,6 @@ pub enum BlockByNumberQuery<'a> {
#[serde(rename_all = "camelCase")]
pub struct ExecutionBlock {
pub block_hash: Hash256,
pub block_number: u64,
pub parent_hash: Hash256,
pub total_difficulty: Uint256,
}