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

Fixes account_history RPC to include receive blocks when filtering accounts. #2244

Merged

Conversation

Srayman
Copy link
Contributor

@Srayman Srayman commented Aug 24, 2019

Previously receive blocks were filtered out as it was comparing link hash instead of link as account.

Also added test case for receive blocks in addition to existing send block test case.

…ve blocks were filtered out as it was comparing link hash instead of link as account. Also added test case for receive blocks
Copy link
Contributor

@cryptocode cryptocode left a comment

Choose a reason for hiding this comment

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

LGTM. Marking as potentially breaking as some client may depend on old behaviour of receives being filtered (even if it's wrong). Add documentation tag if https://docs.nano.org/commands/rpc-protocol/#account_history needs an update.

@guilhermelawless guilhermelawless added the documentation This item indicates the need for or supplies updated or expanded documentation label Aug 24, 2019
@guilhermelawless
Copy link
Contributor

Added documentation tag, @Srayman could you add an accompanying PR to nano-docs, with a link to this one?

Copy link
Contributor

@SergiySW SergiySW left a comment

Choose a reason for hiding this comment

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

LGTM

@guilhermelawless guilhermelawless merged commit 102f8ab into nanocurrency:master Aug 25, 2019
@zhyatt zhyatt added rpc Changes related to Remote Procedure Calls interface Change to node APIs (separate label) which impacts the interface, integrations impacted. and removed api 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
bug documentation This item indicates the need for or supplies updated or expanded documentation interface Change to node APIs (separate label) which impacts the interface, integrations impacted. rpc Changes related to Remote Procedure Calls
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants