mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Add the option to force or not a forgeBatch at the beginning of the slot
This commit is contained in:
@@ -104,6 +104,11 @@ type Coordinator struct {
|
||||
// MustForgeAtSlotDeadline enables the coordinator to forge slots if
|
||||
// the empty slots reach the slot deadline.
|
||||
MustForgeAtSlotDeadline bool
|
||||
// IgnoreSlotCommitment IgnoreSlotCommitment disables forcing the
|
||||
// coordinator to forge a slot immediately when the slot is not
|
||||
// committed. If set to false, the coordinator will immediately forge
|
||||
// a batch at the beginning of a slot if it's the slot winner.
|
||||
IgnoreSlotCommitment bool
|
||||
// SyncRetryInterval is the waiting interval between calls to the main
|
||||
// handler of a synced block after an error
|
||||
SyncRetryInterval Duration `validate:"required"`
|
||||
|
||||
Reference in New Issue
Block a user