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

Fix history ids #873

Merged
merged 3 commits into from
Apr 25, 2018
Merged

Fix history ids #873

merged 3 commits into from
Apr 25, 2018

Conversation

pmconrad
Copy link
Contributor

Fixes #585

The first time we need to skip an operation_history ID we use create/remove, this will store the previous "next_id" in undo_database. For subsequent operations we still use use_next_id for better performance.

@abitmore abitmore self-requested a review April 24, 2018 21:39
Copy link
Member

@abitmore abitmore left a comment

Choose a reason for hiding this comment

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

Looks good to me. Not sure how big it will affect performance though.

@abitmore abitmore added this to the 201805 - Non-Consensus-Changing Release milestone Apr 24, 2018
@abitmore
Copy link
Member

Question: since the bug is affecting 3rd-party businesses especially exchanges that integrated/listed BTS and/or other BitShares assets, should we tag a hotfix release for this?

Copy link
Member

@abitmore abitmore left a comment

Choose a reason for hiding this comment

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

Please update is_first to false in create_oho() as well.

@abitmore abitmore merged commit 97f9b2e into bitshares:develop Apr 25, 2018
@pmconrad pmconrad deleted the 585_fix_history_ids branch June 22, 2018 13:22
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.

2 participants