Skip to content

Conversation

@foriequal0
Copy link
Contributor

@foriequal0 foriequal0 commented Dec 4, 2019

Depends on: #1914

@foriequal0 foriequal0 force-pushed the feature/no-status-on-sync branch 3 times, most recently from 909b801 to 6c30fd2 Compare December 4, 2019 10:37
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.
@foriequal0 foriequal0 force-pushed the feature/no-status-on-sync branch from 6c30fd2 to 526a280 Compare December 5, 2019 04:34
@foriequal0
Copy link
Contributor Author

Rebased

@foriequal0 foriequal0 merged commit a5fed51 into CodeChain-io:snapshot Dec 5, 2019
@foriequal0 foriequal0 deleted the feature/no-status-on-sync branch December 5, 2019 09:23
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