ergoplatform / ergo

Ergo protocol description & reference client implementation
https://ergoplatform.org/
Creative Commons Zero v1.0 Universal
504 stars 170 forks source link

Regenerate block candidate periodically #2164

Open Alesfatalis opened 5 months ago

Alesfatalis commented 5 months ago

Generate a new block candidate periodically based on old PR from pragmaxim. Generating a new block candidate periodically should reduce confirmation times for transactions since they are considered in current block candidate instead of the next one. Mining solution is checked against current and previous candidate to avoid situation where blocks are missed due to newly generated candidate

All credits to original implementation of @pragmaxim in #1412

closes #1363