code: func (ed *Dispatcher) HandleBlock(block *cb.Block, sourceURL string) {
  	logger.Debugf("Handling block event - Block #%d", block.Header.Number)
  
  	if err := ed.updateLastBlockNum(block.Header.Number); err != nil {
  		logger.Error(err.Error())
  		return
  	}
  
  	if ed.updateLastBlockInfoOnly {
  		ed.updateLastBlockInfoOnly = false
  		return
  	}
  
  	logger.Debug("Publishing block event...")
  	ed.publishBlockEvents(block, sourceURL)
  	ed.publishFilteredBlockEvents(toFilteredBlock(block), sourceURL)
  }
docs: // HandleBlock handles a block event