code: func NewManager(db database.DB, enabledIndexes []Indexer) *Manager {
  	return &Manager{
  		db:             db,
  		enabledIndexes: enabledIndexes,
  	}
  }
docs: // NewManager returns a new index manager with the provided indexes enabled.
  //
  // The manager returned satisfies the blockchain.IndexManager interface and thus
  // cleanly plugs into the normal blockchain processing path.