mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
Fix formatting
This commit is contained in:
parent
70743c9a10
commit
1a2bd66454
@ -77,7 +77,10 @@ impl Parser {
|
||||
|
||||
pub fn start(mut self) -> Receiver<Result<Vec<Vec<Row>>>> {
|
||||
info!("indexing {} blk*.dat files", self.files.len());
|
||||
debug!("{} blocks are already indexed", self.indexed_blockhashes.len());
|
||||
debug!(
|
||||
"{} blocks are already indexed",
|
||||
self.indexed_blockhashes.len()
|
||||
);
|
||||
let chan = SyncChannel::new(1);
|
||||
let tx = chan.sender();
|
||||
let parser = parse_files(self.files.split_off(0), self.duration.clone(), self.magic);
|
||||
|
@ -193,7 +193,11 @@ impl Tracker {
|
||||
.getmempooltxids()
|
||||
.chain_err(|| "failed to update mempool from daemon")?;
|
||||
let old_txids = HashSet::from_iter(self.items.keys().cloned());
|
||||
trace!("{} transactions in mempool (previosly {})", new_txids.len(), old_txids.len());
|
||||
trace!(
|
||||
"{} transactions in mempool (previosly {})",
|
||||
new_txids.len(),
|
||||
old_txids.len()
|
||||
);
|
||||
timer.observe_duration();
|
||||
|
||||
let timer = self.stats.start_timer("add");
|
||||
|
Loading…
Reference in New Issue
Block a user