Documentation ¶
Index ¶
Constants ¶
View Source
const MaxMessagePropagationTime = 60 * time.Second
MaxMessagePropagationTime is the maximum time we're expecting a message to take to propagate across the network. We wait double this before allowing a validator to start.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LastActionManager ¶
type LastActionManager interface { NewTip(row *chainindex.BlockRow, block *primitives.Block, state state.State, receipts []*primitives.EpochReceipt) ShouldRun(val [48]byte) bool GetNonce() uint64 RegisterAction(b [48]byte, at time.Time, nonce uint64) }
LastActionManager is an interface for lastActionManager
func NewLastActionManager ¶
func NewLastActionManager(h host.Host, ch chain.Blockchain) (LastActionManager, error)
NewLastActionManager creates a new last action manager.
Click to show internal directories.
Click to hide internal directories.