added trailin ,
This commit is contained in:
@@ -52,7 +52,7 @@ pub struct CacheSize {
|
||||
/// Blooms cache size.
|
||||
pub blocks_blooms: usize,
|
||||
/// Block receipts size.
|
||||
pub block_receipts: usize
|
||||
pub block_receipts: usize,
|
||||
}
|
||||
|
||||
struct BloomIndexer {
|
||||
@@ -106,7 +106,7 @@ struct ExtrasUpdate {
|
||||
/// New best block (if it has changed).
|
||||
new_best: Option<BestBlock>,
|
||||
/// Changed blocks bloom location hashes.
|
||||
bloom_hashes: HashSet<H256>
|
||||
bloom_hashes: HashSet<H256>,
|
||||
}
|
||||
|
||||
impl CacheSize {
|
||||
|
||||
@@ -65,7 +65,7 @@ pub struct ChainFilter<'a, D>
|
||||
where D: FilterDataSource + 'a
|
||||
{
|
||||
data_source: &'a D,
|
||||
indexer: Indexer
|
||||
indexer: Indexer,
|
||||
}
|
||||
|
||||
impl<'a, D> ChainFilter<'a, D> where D: FilterDataSource
|
||||
|
||||
@@ -21,7 +21,7 @@ use chainfilter::BloomIndex;
|
||||
/// Simplifies working with bloom indexes.
|
||||
pub struct Indexer {
|
||||
index_size: usize,
|
||||
level_sizes: Vec<usize>
|
||||
level_sizes: Vec<usize>,
|
||||
}
|
||||
|
||||
impl Indexer {
|
||||
|
||||
Reference in New Issue
Block a user