code: func (lc *LightChain) addTrustedCheckpoint(cp *params.TrustedCheckpoint) {
  	if lc.odr.ChtIndexer() != nil {
  		StoreChtRoot(lc.chainDb, cp.SectionIndex, cp.SectionHead, cp.CHTRoot)
  		lc.odr.ChtIndexer().AddCheckpoint(cp.SectionIndex, cp.SectionHead)
  	}
  	if lc.odr.BloomTrieIndexer() != nil {
  		StoreBloomTrieRoot(lc.chainDb, cp.SectionIndex, cp.SectionHead, cp.BloomRoot)
  		lc.odr.BloomTrieIndexer().AddCheckpoint(cp.SectionIndex, cp.SectionHead)
  	}
  	if lc.odr.BloomIndexer() != nil {
  		lc.odr.BloomIndexer().AddCheckpoint(cp.SectionIndex, cp.SectionHead)
  	}
  	log.Info("Added trusted checkpoint", "chain", cp.Name, "block", (cp.SectionIndex+1)*lc.indexerConfig.ChtSize-1, "hash", cp.SectionHead)
  }
docs: // addTrustedCheckpoint adds a trusted checkpoint to the blockchain