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

Remove redundant work from net plugin #7786

Merged
merged 5 commits into from
Aug 27, 2019
Merged

Remove redundant work from net plugin #7786

merged 5 commits into from
Aug 27, 2019

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Aug 22, 2019

Change Description

  • No need to process transactions from accept_transaction next as the transactions are signaled via transaction_ack and processed there. See net_plugin_impl::transaction_ack.
  • No need to update cached transactions block_num if they are expired as they will be purged from the local cache on next cache purge and we should not get them again from the network.
  • Add log of accepted connections.
  • When receiving a go_away message, do not attempt to reconnect immediately. This restores old net_plugin behavior for go_away messages.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@heifner heifner merged commit e42b9ea into develop Aug 27, 2019
@heifner heifner deleted the opt-net-plugin branch August 27, 2019 12:24
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.

2 participants