Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Net plugin sync - 2.0.x #8229

Merged
merged 26 commits into from Dec 3, 2019
Merged

Net plugin sync - 2.0.x #8229

merged 26 commits into from Dec 3, 2019

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Nov 19, 2019

Change Description

  • Fix issue with getting in infinite loop while processing handshake
  • Guard against overflow of handshake generation count
  • Fix problem with self connection logic
  • Better handling of sync/head-catchup transition.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
plugins/net_plugin/net_plugin.cpp Outdated Show resolved Hide resolved
try {
const controller& cc = chain_plug->chain();
on_fork = on_fork || cc.get_block_id_for_num( msg_head_num ) != msg_head_id;
} catch( ... ) {}
Copy link
Contributor

Choose a reason for hiding this comment

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

set on_fork = true in catch

@heifner heifner merged commit efc01d8 into release/2.0.x Dec 3, 2019
@heifner heifner deleted the net-plugin-sync-2.0 branch December 3, 2019 17:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants