Skip to content

Keep previous-set validator keys for fast-sync certificate renewal - #2606

Open
dmshagov wants to merge 1 commit into
ton-blockchain:testnetfrom
dmshagov:keep-prev-validator-key-1
Open

dmshagov wants to merge 1 commit into
ton-blockchain:testnetfrom
dmshagov:keep-prev-validator-key-1

Conversation

@dmshagov

Copy link
Copy Markdown

Fixes #2603

ValidatorEngine::alarm() drops a permanent key 600s into the current round when it is not in the current or next set. Fast-sync still authorizes the previous set until the end of that round, so certificate renewal stops and the key is removed from the keyring.

Treat validator_set_prev_ like validator_set_ and validator_set_next_ in that cleanup. Keys outside all three sets are still deleted after 600s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant