Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove needless find() in p2p #1091

Merged
merged 1 commit into from
Jun 26, 2018
Merged

remove needless find() in p2p #1091

merged 1 commit into from
Jun 26, 2018

Conversation

jmjatlanta
Copy link
Contributor

Fixes #1090

find() was being called 3 times on 2 different collections, when 1 call on each would suffice.

@oxarbitrage oxarbitrage self-requested a review June 25, 2018 17:58
Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

nice work, code do the same with reduced find calls as promised. replaying good in mainnet.

@abitmore
Copy link
Member

@oxarbitrage code related to p2p should not affect replay at all. We need to test re-syncing.

@abitmore
Copy link
Member

BTW I guess the idumps are temporary code for debugging only.

@oxarbitrage
Copy link
Member

@oxarbitrage code related to p2p should not affect replay at all. We need to test re-syncing.

yes, actually i did re-syncing, used the wrong word. didn't made full resync but around 1/4 when testing this.
thanks.

@abitmore abitmore merged commit 4613b96 into develop Jun 26, 2018
nanomobile pushed a commit to nanomobile/bitshares-core that referenced this pull request Jul 1, 2018
@abitmore abitmore deleted the jmj_issue_1090 branch July 21, 2018 21:19
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