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

Updating include_only_confirmed defaults on applicable RPCs #551

Merged
merged 4 commits into from
Jul 26, 2021

Conversation

zhyatt
Copy link
Contributor

@zhyatt zhyatt commented Jul 22, 2021

Closes #527

Might still need adjustment to include_active parameter details, but can also be done in separate PR.

@zhyatt zhyatt requested a review from dsiganos July 22, 2021 19:00
@@ -457,7 +455,7 @@ Boolean, false by default. Additionally sorts each account's blocks by their amo
**Optional "include_only_confirmed"**

_version 19.0+_
Boolean, false by default. Only returns blocks which have their confirmation height set or are undergoing confirmation height processing.
Boolean, true by default. Only returns blocks which have their confirmation height set or are undergoing confirmation height processing. If false, unconfirmed blocks will also be returned.
Copy link
Contributor

Choose a reason for hiding this comment

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

It is true by default, from v22 onwards only.

Copy link
Contributor Author

@zhyatt zhyatt Jul 23, 2021

Choose a reason for hiding this comment

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

Updated in all locations that appeared to exist in V19 and default updated in V22

@zhyatt zhyatt requested a review from dsiganos July 23, 2021 16:36
@zhyatt zhyatt merged commit 9689b9d into master Jul 26, 2021
@zhyatt zhyatt deleted the include-confirmed branch July 26, 2021 17:33
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.

Default include only confirmed data for RPC supporting it
2 participants