Documentation ¶
Index ¶
- type Bus
- type HaltBlocks
- func (hb *HaltBlocks) AddHaltBlock(height uint64, pubkey types.Pubkey)
- func (hb *HaltBlocks) Commit() error
- func (hb *HaltBlocks) Delete(height uint64)
- func (hb *HaltBlocks) Export(state *types.AppState)
- func (hb *HaltBlocks) GetHaltBlocks(height uint64) *Model
- func (hb *HaltBlocks) GetOrNew(height uint64) *Model
- func (hb *HaltBlocks) IsHaltExists(height uint64, pubkey types.Pubkey) bool
- type Item
- type Model
- type RHalts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func NewBus ¶
func NewBus(halts *HaltBlocks) *Bus
type HaltBlocks ¶
type HaltBlocks struct {
// contains filtered or unexported fields
}
func (*HaltBlocks) AddHaltBlock ¶
func (hb *HaltBlocks) AddHaltBlock(height uint64, pubkey types.Pubkey)
func (*HaltBlocks) Commit ¶
func (hb *HaltBlocks) Commit() error
func (*HaltBlocks) Delete ¶
func (hb *HaltBlocks) Delete(height uint64)
func (*HaltBlocks) Export ¶
func (hb *HaltBlocks) Export(state *types.AppState)
func (*HaltBlocks) GetHaltBlocks ¶
func (hb *HaltBlocks) GetHaltBlocks(height uint64) *Model
func (*HaltBlocks) GetOrNew ¶
func (hb *HaltBlocks) GetOrNew(height uint64) *Model
func (*HaltBlocks) IsHaltExists ¶
func (hb *HaltBlocks) IsHaltExists(height uint64, pubkey types.Pubkey) bool
Click to show internal directories.
Click to hide internal directories.