Documentation ¶
Index ¶
- func Run(epoch uint64, proverID uint64, pubSubs *p2p.PubSubs, ...) error
- func RunLocal(pubSubs *p2p.PubSubs, handleProjectProvers HandleProjectProvers, ...)
- type ContractProject
- type ContractProvers
- type HandleProjectProvers
- type LatestProjects
- type ProjectEpochOffsets
- type ProjectIDs
- type ScheduledProject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(epoch uint64, proverID uint64, pubSubs *p2p.PubSubs, handleProjectProvers HandleProjectProvers, chainHead <-chan uint64, contractProject ContractProject, contractProvers ContractProvers, projectOffsets *ProjectEpochOffsets) error
func RunLocal ¶ added in v0.10.1
func RunLocal(pubSubs *p2p.PubSubs, handleProjectProvers HandleProjectProvers, projectIDs ProjectIDs)
Types ¶
type ContractProject ¶ added in v0.10.1
type ContractProvers ¶ added in v0.10.1
type HandleProjectProvers ¶
type LatestProjects ¶ added in v0.10.1
type ProjectEpochOffsets ¶ added in v0.10.3
type ProjectEpochOffsets struct {
// contains filtered or unexported fields
}
func NewProjectEpochOffsets ¶ added in v0.10.3
func NewProjectEpochOffsets(epoch uint64, latestProjects LatestProjects, projectNotification <-chan uint64) *ProjectEpochOffsets
func (*ProjectEpochOffsets) Projects ¶ added in v0.10.3
func (pe *ProjectEpochOffsets) Projects(blockNumber uint64) []*ScheduledProject
type ProjectIDs ¶ added in v0.10.1
type ProjectIDs func() []uint64
type ScheduledProject ¶ added in v0.10.3
Click to show internal directories.
Click to hide internal directories.