updated ExtrasUpdate function

This commit is contained in:
debris 2016-02-27 10:21:44 +01:00
parent 01f69ca80c
commit 7b3613e1f0

View File

@ -8,14 +8,14 @@ use extras::{BlockDetails, BlockReceipts, TransactionAddress, BlocksBlooms};
pub struct ExtrasUpdate { pub struct ExtrasUpdate {
/// Block info. /// Block info.
pub info: BlockInfo, pub info: BlockInfo,
/// Numbers of blocks to update in block hashes cache. /// Modified block hashes.
pub block_hashes: HashMap<BlockNumber, H256>, pub block_hashes: HashMap<BlockNumber, H256>,
/// Hashes of blocks to update in block details cache. /// Modified block details.
pub block_details: HashMap<H256, BlockDetails>, pub block_details: HashMap<H256, BlockDetails>,
/// Hashes of receipts to update in block receipts cache. /// Modified block receipts.
pub block_receipts: HashMap<H256, BlockReceipts>, pub block_receipts: HashMap<H256, BlockReceipts>,
/// Hashes of transactions to update in transactions addresses cache. /// Modified transaction addresses.
pub transactions_addresses: HashMap<H256, TransactionAddress>, pub transactions_addresses: HashMap<H256, TransactionAddress>,
/// Changed blocks bloom location hashes. /// Modified blocks blooms.
pub blocks_blooms: HashMap<H256, BlocksBlooms>, pub blocks_blooms: HashMap<H256, BlocksBlooms>,
} }