Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ModuleName defines the module name ModuleName = "downtime" // StoreKey is the default store key for the module. StoreKey = ModuleName )
Variables ¶
View Source
var ( LastBlockTimeKey = []byte{0x01} DowntimeHeightKey = []byte{0x02} DowntimeHeightGarbageKey = []byte{0x03} )
Functions ¶
func GetDowntimeKey ¶
GetDowntimeKey returns the downtime storage key given the height.
func ParseDowntimeKey ¶
ParseDowntimeKey returns the downtime height given the key.
func RegisterInterfaces ¶
func RegisterInterfaces(_ codectypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.