Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PruneExpiredConsensusStates ¶
func PruneExpiredConsensusStates(ctx sdk.Context, cdc codec.BinaryCodec, clientKeeper ClientKeeper) (int, error)
PruneExpiredConsensusStates prunes all expired tendermint consensus states. This function may optionally be called during in-place store migrations. The ibc store key must be provided.
Types ¶
type ClientKeeper ¶
type ClientKeeper interface {
	GetClientState(ctx sdk.Context, clientID string) (exported.ClientState, bool)
	IterateClientStates(ctx sdk.Context, prefix []byte, cb func(string, exported.ClientState) bool)
	ClientStore(ctx sdk.Context, clientID string) storetypes.KVStore
	Logger(ctx sdk.Context) log.Logger
}
    ClientKeeper expected account IBC client keeper
 Click to show internal directories. 
   Click to hide internal directories.