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 querying pending confirmation height in various operations #2156

Merged

Conversation

wezrule
Copy link
Contributor

@wezrule wezrule commented Jul 16, 2019

During the development of the confirmation height processor (at that time) it was quite slow, so anyone calling block_confirm would have seen inconsistent results from block_info which would state that a block was unconfirmed. It is decided that any block pending confirmation or currently undergoing it would show up as confirmed as well. But this leads to other inconsistencies as blocks below it may not be seen as confirmed but this was seen as acceptable at the time. Now after many performance improvements since then, and that in v19 most nodes upgrading to v20 will have synced cemented counts anyway this restriction has been removed so a block will only show as confirmed in RPCs if all blocks below it are also marked as confirmed.

@wezrule wezrule added universe This item indicates the need for or supplies changes caused by external factors rpc semantics change labels Jul 16, 2019
@wezrule wezrule added this to the V20.0 milestone Jul 16, 2019
@wezrule wezrule self-assigned this Jul 16, 2019
@cryptocode cryptocode added the documentation This item indicates the need for or supplies updated or expanded documentation label Jul 16, 2019
@wezrule wezrule added awaiting response and removed universe This item indicates the need for or supplies changes caused by external factors labels Jul 16, 2019
@zhyatt
Copy link
Collaborator

zhyatt commented Jul 16, 2019

As discussed in our meeting we are holding off on merging this until closer to RC period.

@wezrule wezrule merged commit f414159 into nanocurrency:master Sep 29, 2019
@wezrule wezrule deleted the remove_querying_pending_confirmations branch September 29, 2019 10:50
@zhyatt zhyatt added rpc Changes related to Remote Procedure Calls semantic Change to node APIs (separate label) which impacts interpretation of data, integrations impacted. and removed rpc semantics change labels Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response documentation This item indicates the need for or supplies updated or expanded documentation rpc Changes related to Remote Procedure Calls semantic Change to node APIs (separate label) which impacts interpretation of data, integrations impacted.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants