Skip to content

Conversation

@foriequal0
Copy link
Contributor

@foriequal0 foriequal0 commented Dec 4, 2019

Depends on: Depends on: #1914

As described in the issue here(#1884), Snapshot should be taken at the next block of the term closing block.

@foriequal0 foriequal0 force-pushed the feature/td-era-snapshot branch from 87fbf80 to e1688e2 Compare December 4, 2019 09:32
@foriequal0 foriequal0 force-pushed the feature/td-era-snapshot branch from f13fd95 to c4500dd Compare December 5, 2019 04:34
Copy link
Contributor

@sgkim126 sgkim126 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does make tendermint::Worker::send_snapshot_notify use only block number mean?

@foriequal0
Copy link
Contributor Author

foriequal0 commented Dec 5, 2019

What does make tendermint::Worker::send_snapshot_notify use only block number mean?

The previous implementation required the current header, the parent header, and the grandparent header. @remagpie pointed out that the block number would be sufficient to implement it, without reading previous headers.

@remagpie remagpie merged commit bf23b15 into CodeChain-io:snapshot Dec 6, 2019
@foriequal0 foriequal0 deleted the feature/td-era-snapshot branch December 6, 2019 03:18
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.

3 participants