Documentation ¶
Index ¶
- type SlotTracker
- func (s *SlotTracker) EvictSlot(slotToEvict iotago.SlotIndex)
- func (s *SlotTracker) TrackVotes(slot iotago.SlotIndex, voterID iotago.AccountID, cutoffIndex iotago.SlotIndex) (prevLatestSlot iotago.SlotIndex, latestSlot iotago.SlotIndex, updated bool)
- func (s *SlotTracker) Voters(slot iotago.SlotIndex) []iotago.AccountID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlotTracker ¶
type SlotTracker struct {
// contains filtered or unexported fields
}
func NewSlotTracker ¶
func NewSlotTracker() *SlotTracker
func (*SlotTracker) EvictSlot ¶
func (s *SlotTracker) EvictSlot(slotToEvict iotago.SlotIndex)
func (*SlotTracker) TrackVotes ¶
Click to show internal directories.
Click to hide internal directories.