Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityTracker ¶
type ActivityTracker struct { Events *activitytracker.Events // contains filtered or unexported fields }
ActivityTracker is a sybil protection module for tracking activity of committee members.
func NewActivityTracker ¶
func NewActivityTracker(apiProvider iotago.APIProvider) *ActivityTracker
func (*ActivityTracker) MarkSeatActive ¶
func (*ActivityTracker) OnlineCommittee ¶
func (a *ActivityTracker) OnlineCommittee() ds.Set[account.SeatIndex]
OnlineCommittee returns the set of validators selected to be part of the committee that has been seen recently.
Click to show internal directories.
Click to hide internal directories.