Add the config option to forge batch when the coordinator we are not the auction winner and reach the slot deadline

This commit is contained in:
Danilo Pantani
2021-03-04 13:55:06 -03:00
parent 6bf8584a82
commit d361abb8cd
6 changed files with 43 additions and 29 deletions

View File

@@ -101,6 +101,9 @@ type Coordinator struct {
// to 0s, the coordinator will continuously forge even if the batches
// are empty.
ForgeNoTxsDelay Duration `validate:"-"`
// MustForgeAtSlotDeadline enables the coordinator to forge slots if
// the empty slots reach the slot deadline.
MustForgeAtSlotDeadline bool
// SyncRetryInterval is the waiting interval between calls to the main
// handler of a synced block after an error
SyncRetryInterval Duration `validate:"required"`