@@ -121,7 +121,7 @@ where
121121 self . download_full_block ( hash) ;
122122 } else {
123123 trace ! (
124- target: "consensus::engine " ,
124+ target: "engine::download " ,
125125 ?hash,
126126 ?count,
127127 "start downloading full block range."
@@ -152,7 +152,7 @@ where
152152 } ) ;
153153
154154 trace ! (
155- target: "consensus:: engine::sync " ,
155+ target: "engine::download " ,
156156 ?hash,
157157 "Start downloading full block"
158158 ) ;
@@ -213,7 +213,7 @@ where
213213 for idx in ( 0 ..self . inflight_full_block_requests . len ( ) ) . rev ( ) {
214214 let mut request = self . inflight_full_block_requests . swap_remove ( idx) ;
215215 if let Poll :: Ready ( block) = request. poll_unpin ( cx) {
216- trace ! ( target: "consensus::engine " , block=?block. num_hash( ) , "Received single full block, buffering" ) ;
216+ trace ! ( target: "engine::download " , block=?block. num_hash( ) , "Received single full block, buffering" ) ;
217217 self . set_buffered_blocks . push ( Reverse ( block. into ( ) ) ) ;
218218 } else {
219219 // still pending
@@ -225,7 +225,7 @@ where
225225 for idx in ( 0 ..self . inflight_block_range_requests . len ( ) ) . rev ( ) {
226226 let mut request = self . inflight_block_range_requests . swap_remove ( idx) ;
227227 if let Poll :: Ready ( blocks) = request. poll_unpin ( cx) {
228- trace ! ( target: "consensus::engine " , len=?blocks. len( ) , first=?blocks. first( ) . map( |b| b. num_hash( ) ) , last=?blocks. last( ) . map( |b| b. num_hash( ) ) , "Received full block range, buffering" ) ;
228+ trace ! ( target: "engine::download " , len=?blocks. len( ) , first=?blocks. first( ) . map( |b| b. num_hash( ) ) , last=?blocks. last( ) . map( |b| b. num_hash( ) ) , "Received full block range, buffering" ) ;
229229 self . set_buffered_blocks . extend (
230230 blocks
231231 . into_iter ( )
0 commit comments