Trace comment on new block inclusion (#100)

This commit is contained in:
rakita
2020-12-02 11:31:11 +01:00
committed by GitHub
parent 51d824fbdc
commit 56131b6d92
26 changed files with 146 additions and 45 deletions

View File

@@ -336,6 +336,7 @@ impl<T: InformantData> Informant<T> {
}
impl ChainNotify for Informant<FullNodeInformantData> {
// t_nb 11.2 Informant. Prints new block inclusiong to console/log.
fn new_blocks(&self, new_blocks: NewBlocks) {
if new_blocks.has_more_blocks_to_import {
return;