Documentation ¶
Index ¶
- type Bus
- type FrozenFunds
- func (f *FrozenFunds) AddFund(height uint64, address types.Address, pubkey types.Pubkey, candidateId uint32, ...)
- func (f *FrozenFunds) Commit() error
- func (f *FrozenFunds) Delete(height uint64)
- func (f *FrozenFunds) Export(state *types.AppState, height uint64)
- func (f *FrozenFunds) GetFrozenFunds(height uint64) *Model
- func (f *FrozenFunds) GetOrNew(height uint64) *Model
- func (f *FrozenFunds) PunishFrozenFundsWithID(fromHeight uint64, toHeight uint64, candidateID uint32)
- type Item
- type Model
- type RFrozenFunds
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(frozenfunds *FrozenFunds) *Bus
type FrozenFunds ¶
type FrozenFunds struct {
// contains filtered or unexported fields
}
func NewFrozenFunds ¶
func (*FrozenFunds) Commit ¶
func (f *FrozenFunds) Commit() error
func (*FrozenFunds) Delete ¶
func (f *FrozenFunds) Delete(height uint64)
func (*FrozenFunds) GetFrozenFunds ¶
func (f *FrozenFunds) GetFrozenFunds(height uint64) *Model
func (*FrozenFunds) GetOrNew ¶
func (f *FrozenFunds) GetOrNew(height uint64) *Model
func (*FrozenFunds) PunishFrozenFundsWithID ¶ added in v1.2.0
func (f *FrozenFunds) PunishFrozenFundsWithID(fromHeight uint64, toHeight uint64, candidateID uint32)
Click to show internal directories.
Click to hide internal directories.