Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions snow/engine/common/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ import "fmt"
type Message uint32

const (
// PendingTxs notifies a consensus engine that
// its VM has pending transactions
// (i.e. it would like to add a new block/vertex to consensus)
// PendingTxs notifies a consensus engine that its VM has pending
// transactions.
//
// The consensus engine must eventually call BuildBlock at least once after
// receiving this message. If the consensus engine receives multiple
// PendingTxs messages between calls to BuildBlock, the engine may only call
// BuildBlock once.
PendingTxs Message = iota + 1

// StateSyncDone notifies the state syncer engine that the VM has finishing
Expand Down