Skip to content

Conversation

@foriequal0
Copy link
Contributor

@foriequal0 foriequal0 commented Dec 4, 2019

Related issue: #144
Depends on: #1916

Start from: Add term_params to Metadata

@foriequal0
Copy link
Contributor Author

This branch will sit on top of commits that remains after the separation of #1910

@sgkim126
Copy link
Contributor

sgkim126 commented Dec 6, 2019

I think there are too many commits in this PR and we still have changes to complete the snapshot sync.
How about merging the code cleanups and refactorings that doesn't change the behavior first?

`on_open_block` is called when the block is created, before
processing any transactions included in the block.
@foriequal0 foriequal0 force-pushed the snapshot branch 2 times, most recently from bf0d9ef to 246eca5 Compare December 9, 2019 09:06
remagpie and others added 15 commits December 10, 2019 12:11
Tendermint worker skips some process for the genesis block since
it doesn't have a parent, and this should be applied to the
bootstrap header too.
All `self.header_downloaders.keys()` are in `connected_nodes`, and
`self.header_downloaders` keep tracks of nodes which have sent at least
one peer status out of connected nodes.
The following commit will prohibit the node sending peer requests before
it finishes to snapshot sync, so it can send peer requests before share
peer status.
So this changes make the node accept requests from the node who didn't
send any peer status.
Also make tendermint::Worker::send_snapshot_notify use only block number
CurrentValidators represent the list of validators for the current
block. Its value is the same as the NextValidators of the previous
block's state.
@majecty
Copy link
Contributor

majecty commented Dec 17, 2019

@remagpie What is the current status of this PR?
What should I do?

@remagpie
Copy link
Contributor

remagpie commented Dec 17, 2019

This is a draft PR for merging snapshot sync into the master branch.
We just have to merge it when we're satisfied with the implementation.
We still have some issues to solve, so we have to leave it for now.

@sgkim126
Copy link
Contributor

@majecty Should we keep this issue while we move the development of snapshot sync to Foundry?

@majecty
Copy link
Contributor

majecty commented Feb 14, 2020

Let's close this PR.

@majecty majecty closed this Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Do not merge (for mergify.io) experimental

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants