Skip to content

Conversation

@jkczyz
Copy link
Contributor

@jkczyz jkczyz commented Feb 10, 2020

Refactor logic for setting initial_routing_sync feature bit, moving it from PeerManager to Router. This eases an upcoming refactoring of peer_handler.rs and moves the logic to a more appropriate place since the router would know best as to whether a full sync is needed.

PeerManager determines whether the initial_routing_sync feature bit
should be set when sending Init messages to peers. Move this to the
Router as it is better able to determine if a full sync is needed.
@jkczyz jkczyz changed the title 2020 02 initial routing sync Refactor logic for setting initial_routing_sync feature bit Feb 10, 2020
@TheBlueMatt TheBlueMatt merged commit b7f4f76 into lightningdevkit:master Feb 10, 2020
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