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

[PORT]Fix for unchecked load in received_transactions/blocks #5222

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

wanderingbort
Copy link
Contributor

This is a port to develop of #5202 so that it can be included in candidate builds.

The two vectors (received_transactions and received_blocks) in the net_plugin were being improperly pruned when multiple connections managed to create entries leading to unchecked memory and processing growth.  Additionally, lookups were always done by ID so, refactoring to a multimap instead of a vector of named "pair" types reduces the load of scanning for those transactions/blocks
@wanderingbort wanderingbort requested review from heifner and removed request for heifner August 14, 2018 14:38
@heifner heifner merged commit ddc93ea into develop Aug 14, 2018
@heifner heifner deleted the bugfix/received_trx_block_load branch August 14, 2018 14:41
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.

3 participants