added trailin ,

This commit is contained in:
debris 2016-02-22 10:11:07 +01:00
parent 61e1720d07
commit 8f4c2d98ba
4 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@ pub struct CacheSize {
/// Blooms cache size. /// Blooms cache size.
pub blocks_blooms: usize, pub blocks_blooms: usize,
/// Block receipts size. /// Block receipts size.
pub block_receipts: usize pub block_receipts: usize,
} }
struct BloomIndexer { struct BloomIndexer {
@ -106,7 +106,7 @@ struct ExtrasUpdate {
/// New best block (if it has changed). /// New best block (if it has changed).
new_best: Option<BestBlock>, new_best: Option<BestBlock>,
/// Changed blocks bloom location hashes. /// Changed blocks bloom location hashes.
bloom_hashes: HashSet<H256> bloom_hashes: HashSet<H256>,
} }
impl CacheSize { impl CacheSize {

View File

@ -65,7 +65,7 @@ pub struct ChainFilter<'a, D>
where D: FilterDataSource + 'a where D: FilterDataSource + 'a
{ {
data_source: &'a D, data_source: &'a D,
indexer: Indexer indexer: Indexer,
} }
impl<'a, D> ChainFilter<'a, D> where D: FilterDataSource impl<'a, D> ChainFilter<'a, D> where D: FilterDataSource

View File

@ -21,7 +21,7 @@ use chainfilter::BloomIndex;
/// Simplifies working with bloom indexes. /// Simplifies working with bloom indexes.
pub struct Indexer { pub struct Indexer {
index_size: usize, index_size: usize,
level_sizes: Vec<usize> level_sizes: Vec<usize>,
} }
impl Indexer { impl Indexer {

View File

@ -26,7 +26,7 @@ use ethcore::client::BlockId;
pub enum VariadicValue<T> where T: Deserialize { pub enum VariadicValue<T> where T: Deserialize {
Single(T), Single(T),
Multiple(Vec<T>), Multiple(Vec<T>),
Null Null,
} }
impl<T> Deserialize for VariadicValue<T> where T: Deserialize { impl<T> Deserialize for VariadicValue<T> where T: Deserialize {
@ -54,7 +54,7 @@ pub struct Filter {
#[serde(rename="toBlock")] #[serde(rename="toBlock")]
pub to_block: Option<BlockNumber>, pub to_block: Option<BlockNumber>,
pub address: Option<FilterAddress>, pub address: Option<FilterAddress>,
pub topics: Option<Vec<Topic>> pub topics: Option<Vec<Topic>>,
} }
impl Into<EthFilter> for Filter { impl Into<EthFilter> for Filter {