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

Add threshold optional to RPC unopened and ledger #2014

Merged

Conversation

guilhermelawless
Copy link
Contributor

RPCs ledger and unopened

Suggested by @renesq , this is an alternative to pagination for lower powered nodes who want information about the ledger (and helps the scalability of this command in the future).

In both cases, the optional count is still honored.

Documentation update needed.

@cryptocode cryptocode added rpc nonbreaking change documentation This item indicates the need for or supplies updated or expanded documentation labels May 22, 2019
@renesq
Copy link

renesq commented May 22, 2019

Wondering if we should incorporate the pending balance into this filter's consideration when pending balances are requested. The decision tree would look a bit different then.

@zhyatt zhyatt requested review from wezrule and cryptocode May 23, 2019 14:40
@cryptocode
Copy link
Contributor

After discussions with @guilhermelawless, we ended up deciding this PR should be updated to include @renesq's idea

@zhyatt zhyatt added this to the V19.0 milestone May 30, 2019
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, pending rebase

@cryptocode cryptocode merged commit 7484ac9 into nanocurrency:master Jun 3, 2019
guilhermelawless pushed a commit to guilhermelawless/nano-docs that referenced this pull request Jun 3, 2019
zhyatt pushed a commit to nanocurrency/nano-docs that referenced this pull request Jun 4, 2019
argakiig pushed a commit that referenced this pull request Jun 11, 2019
* Add threshold optional to RPC unopened and ledger

* For RPC ledger, if pending is requested, then threshold applies to balance+pending
@zhyatt zhyatt removed the documentation This item indicates the need for or supplies updated or expanded documentation label Jul 11, 2019
@zhyatt zhyatt added rpc Changes related to Remote Procedure Calls and removed rpc nonbreaking change labels Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rpc Changes related to Remote Procedure Calls
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants