mirror of
https://github.com/nspcc-dev/dbft.git
synced 2026-03-01 04:28:38 +00:00
Block persist time is not updated for blocks received from the network #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Jun 16, 2020).
Originally assigned to: @fyrchik on GitHub.
The only place where
d.blockPersistTimeis updated is incheckCommit, so for blocks that we're approving it works as expected, but if we're to receive an already signed block from the network thisblockPersistTimeis not updated which for the case when we're a Primary for the next block leads to wrong (zero) timer setting inInitializeConsensusand subsequent PrepareRequest send before expected (15s) timer expiration.This is what happened on the testnet with block 4408186.