Documentation ¶
Index ¶
- type MultiView
- func (multiView *MultiView) AddView(view View) bool
- func (multiView *MultiView) GetAllViewsWithBFS() []View
- func (multiView *MultiView) GetBestView() View
- func (multiView *MultiView) GetFinalView() View
- func (multiView *MultiView) GetViewByHash(hash common.Hash) View
- func (multiView *MultiView) Reset()
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiView ¶
type MultiView struct {
// contains filtered or unexported fields
}
func NewMultiView ¶
func NewMultiView() *MultiView
func (*MultiView) GetAllViewsWithBFS ¶
func (*MultiView) GetBestView ¶
func (*MultiView) GetFinalView ¶
type View ¶
type View interface { GetHash() *common.Hash GetPreviousHash() *common.Hash GetHeight() uint64 GetCommittee() []incognitokey.CommitteePublicKey GetProposerByTimeSlot(ts int64, version int) incognitokey.CommitteePublicKey GetBlock() common.BlockInterface }
Click to show internal directories.
Click to hide internal directories.