code: func (kern *Kernel) PrivValidator(validator crypto.Address) (tmTypes.PrivValidator, error) {
  	val, err := keys.AddressableSigner(kern.keyClient, validator)
  	if err != nil {
  		return nil, fmt.Errorf("could not get validator addressable from keys client: %v", err)
  	}
  	signer, err := keys.AddressableSigner(kern.keyClient, val.GetAddress())
  	if err != nil {
  		return nil, err
  	}
  	return tendermint.NewPrivValidatorMemory(val, signer), nil
  }
docs: // Generates an in-memory Tendermint PrivValidator (suitable for passing to LoadTendermintFromConfig)