Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶ added in v0.10.4
type Default struct {
// contains filtered or unexported fields
}
func NewScheduler ¶
func (*Default) Reschedule ¶ added in v0.10.4
func (a *Default) Reschedule()
type DisabledScheduler ¶ added in v0.8.0
type DisabledScheduler struct { }
func (DisabledScheduler) Emits ¶ added in v0.8.0
func (d DisabledScheduler) Emits() []Emit
func (DisabledScheduler) Mine ¶ added in v0.8.0
func (d DisabledScheduler) Mine() chan Emit
func (DisabledScheduler) Reschedule ¶ added in v0.8.0
func (d DisabledScheduler) Reschedule()
type MinerConsensusImpl ¶ added in v0.5.0
type MinerConsensusImpl struct {
// contains filtered or unexported fields
}
func NewMinerConsensus ¶ added in v0.5.0
func NewMinerConsensus(c connectedCount, atLeastConnectedPeers int) MinerConsensusImpl
func (MinerConsensusImpl) IsMiningAllowed ¶ added in v0.5.0
func (a MinerConsensusImpl) IsMiningAllowed() bool
type StubConsensus ¶ added in v0.5.0
type StubConsensus struct { }
func (StubConsensus) IsMiningAllowed ¶ added in v0.5.0
func (s StubConsensus) IsMiningAllowed() bool
Click to show internal directories.
Click to hide internal directories.