added trailin ,
This commit is contained in:
parent
8f4c2d98ba
commit
2be4f2f737
@ -57,7 +57,7 @@ pub struct CacheSize {
|
|||||||
|
|
||||||
struct BloomIndexer {
|
struct BloomIndexer {
|
||||||
index_size: usize,
|
index_size: usize,
|
||||||
levels: u8
|
levels: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BloomIndexer {
|
impl BloomIndexer {
|
||||||
@ -236,7 +236,7 @@ pub struct BlockChain {
|
|||||||
cache_man: RwLock<CacheManager>,
|
cache_man: RwLock<CacheManager>,
|
||||||
|
|
||||||
// blooms indexing
|
// blooms indexing
|
||||||
bloom_indexer: BloomIndexer
|
bloom_indexer: BloomIndexer,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FilterDataSource for BlockChain {
|
impl FilterDataSource for BlockChain {
|
||||||
|
@ -314,7 +314,7 @@ impl Encodable for TransactionAddress {
|
|||||||
/// Contains all block receipts.
|
/// Contains all block receipts.
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct BlockReceipts {
|
pub struct BlockReceipts {
|
||||||
pub receipts: Vec<Receipt>
|
pub receipts: Vec<Receipt>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BlockReceipts {
|
impl BlockReceipts {
|
||||||
|
@ -90,7 +90,7 @@ pub struct LocalizedLogEntry {
|
|||||||
/// Index of transaction within block.
|
/// Index of transaction within block.
|
||||||
pub transaction_index: usize,
|
pub transaction_index: usize,
|
||||||
/// Log position in the block.
|
/// Log position in the block.
|
||||||
pub log_index: usize
|
pub log_index: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Deref for LocalizedLogEntry {
|
impl Deref for LocalizedLogEntry {
|
||||||
|
@ -33,7 +33,7 @@ pub struct Log {
|
|||||||
#[serde(rename="transactionIndex")]
|
#[serde(rename="transactionIndex")]
|
||||||
transaction_index: U256,
|
transaction_index: U256,
|
||||||
#[serde(rename="logIndex")]
|
#[serde(rename="logIndex")]
|
||||||
log_index: U256
|
log_index: U256,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<LocalizedLogEntry> for Log {
|
impl From<LocalizedLogEntry> for Log {
|
||||||
|
Loading…
Reference in New Issue
Block a user