Documentation
¶
Index ¶
- Constants
- func KeyGuardian(address btypes.Address) []byte
- func KeyGuardiansSubspace() []byte
- type Mapper
- func (mapper Mapper) AddGuardian(guardian types.Guardian)
- func (mapper *Mapper) Copy() mapper.IMapper
- func (mapper Mapper) DeleteGuardian(address btypes.Address)
- func (mapper Mapper) GetGuardian(address btypes.Address) (guardian types.Guardian, exists bool)
- func (mapper Mapper) GuardiansIterator() store.Iterator
- func (mapper Mapper) NeedHalt(height uint64) bool
- func (mapper Mapper) SetHalt(halt string)
Constants ¶
View Source
const (
MapperName = "guardian"
)
Variables ¶
This section is empty.
Functions ¶
func KeyGuardian ¶
func KeyGuardiansSubspace ¶
func KeyGuardiansSubspace() []byte
Types ¶
type Mapper ¶
type Mapper struct {
*mapper.BaseMapper
}
func (Mapper) AddGuardian ¶
func (Mapper) DeleteGuardian ¶
func (Mapper) GetGuardian ¶
func (Mapper) GuardiansIterator ¶
Click to show internal directories.
Click to hide internal directories.