Skip to content

Conversation

majecty
Copy link
Contributor

@majecty majecty commented Oct 18, 2019

This PR fixes #1815, #1816, and #1817

@majecty majecty requested a review from foriequal0 October 18, 2019 08:21
@majecty majecty force-pushed the f/view branch 2 times, most recently from 1754b09 to 49ea602 Compare October 22, 2019 06:43
foriequal0
foriequal0 previously approved these changes Oct 22, 2019
When the data structure of data that is saved in the KVDB is changed,
CodeChain should migrate the data. To identify the stored data
structure, we need to keep a version number. This commit adds code to
save and load a version number. To make the DB easier to manage, this
code saves versions in the same column with the same prefix.
…lock

Tendermint worker's last_confirmed_view is used for two purposes. One
is the previous height's finalized view, and the other one is the
current height's finalized view. This commit is part of splitting the
last_confirmed_view variable.
Tendermint worker's last_confirmed_view is used for two purposes. One
is the previous height's finalized view, and the other one is the
current height's finalized view. This commit is part of splitting the
last_confirmed_view variable.
author_view: view when the block was created.
finalized_view: view when the block was finalized.
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.

Versioning Tendermint Backup

2 participants