Versions in this module Expand all Collapse all v1 v1.9.8 Jun 28, 2023 Changes in this version + const MaxDelay + const MaxWindows + const WindowDuration + type MockWindower struct + func NewMockWindower(ctrl *gomock.Controller) *MockWindower + func (m *MockWindower) Delay(arg0 context.Context, arg1, arg2 uint64, arg3 ids.NodeID) (time.Duration, error) + func (m *MockWindower) EXPECT() *MockWindowerMockRecorder + func (m *MockWindower) Proposers(arg0 context.Context, arg1, arg2 uint64) ([]ids.NodeID, error) + type MockWindowerMockRecorder struct + func (mr *MockWindowerMockRecorder) Delay(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockWindowerMockRecorder) Proposers(arg0, arg1, arg2 interface{}) *gomock.Call + type Windower interface + Delay func(ctx context.Context, chainHeight, pChainHeight uint64, validatorID ids.NodeID) (time.Duration, error) + Proposers func(ctx context.Context, chainHeight, pChainHeight uint64) ([]ids.NodeID, error) + func New(state validators.State, subnetID, chainID ids.ID) Windower v1.9.8-rc.9 Jun 28, 2023