Skip to content

Maintain correct block time after restarting #195

@tzdybal

Description

@tzdybal

Current implementation of AggregationLoop produce a block as soon as it starts. This ensures that when starting a chain, genesis will be generated ASAP.

In case the app is restarted, next block will be produced immediately. This is not desirable (as aggregator can restart node faster than block time).

First produced block should use block time and time of last block creation to calculate the wait before producing a block.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions