code: func (lc *LightChain) postChainEvents(events []interface{}) {
  	for _, event := range events {
  		switch ev := event.(type) {
  		case core.ChainEvent:
  			if lc.CurrentHeader().Hash() == ev.Hash {
  				lc.chainHeadFeed.Send(core.ChainHeadEvent{Block: ev.Block})
  			}
  			lc.chainFeed.Send(ev)
  		case core.ChainSideEvent:
  			lc.chainSideFeed.Send(ev)
  		}
  	}
  }
docs: // postChainEvents iterates over the events generated by a chain insertion and
  // posts them into the event feed.