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

[GRPH-114] Check the attacker/buggy client before updating items ids #149

Merged
merged 1 commit into from
Nov 11, 2019

Conversation

gladcow
Copy link

@gladcow gladcow commented Sep 24, 2019

The peer is an attacker or buggy, which means the item_hashes_received is
not correct.

Move the check before updating items ids to save some time in this case.

Resolves issue #148
Backport of the Bitshares PR bitshares/bitshares-core#1007

The peer is an attacker or buggy, which means the item_hashes_received is
not correct.

Move the check before updating items ids to save some time in this case.
@bobinson
Copy link

@gladcow : Can we provide some unit test cases ?

@gladcow gladcow changed the title {GRPH-114] Check the attacker/buggy client before updating items ids [WIP][GRPH-114] Check the attacker/buggy client before updating items ids Sep 26, 2019
@bobinson bobinson added this to the v0.2 milestone Nov 8, 2019
Copy link

@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.

good, thank you.

@gladcow gladcow changed the title [WIP][GRPH-114] Check the attacker/buggy client before updating items ids [GRPH-114] Check the attacker/buggy client before updating items ids Nov 11, 2019
@oxarbitrage oxarbitrage merged commit fccd856 into develop Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants