Commit 33d47a8
committed
Fix to receive peer requests from just connected nodes
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.1 parent c2d078f commit 33d47a8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments