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

Enhancement Request: Update Ledger RPC action to show unopened accounts with pending balance #1166

Closed
Srayman opened this issue Sep 9, 2018 · 2 comments · Fixed by #1727
Closed
Assignees
Projects
Milestone

Comments

@Srayman
Copy link
Contributor

Srayman commented Sep 9, 2018

Description of bug:
When using the RPC action "ledger" it appears to not show unopened accounts. Is it possible to enhance the action to return all accounts including those that do not have frontier blocks? Or create another action to return all accounts with a pending balance that are not opened yet?

Steps to reproduce the issue:

  1. Parsing through all 560k+ accounts from the ledger action results in a total about 2 million NANO less than the available supply. Best guess is these are made up of unopened accounts since I was able to verify that an unopened account without a frontier block does not show up from the ledger action.
  2. Running the action "account_balance" on an unopened account returns the correct pending balance.

Describe the results you received:
Expected to see the total balance+pending from accounts returned by the "ledger" action to match the available supply. Results of all accounts from "ledger" is 131262162524572716751492490483419331982.

Describe the results you expected:
Expected to see the total of balance+pending from the "ledger" action to match the available supply of 133248289196499221154116917710445381553

If it doesn't make sense to update the "ledger" action to show unopened accounts then could another action be added that shows all accounts that are unopened with a pending balance?

@Srayman Srayman changed the title Enhancement Request: Update Ledger RPC action to show unopened accounts Enhancement Request: Update Ledger RPC action to show unopened accounts with pending balance Sep 10, 2018
@rkeene rkeene added this to the V19.0 milestone Sep 10, 2018
@bghrn
Copy link

bghrn commented Jan 9, 2019

I have the same problem, my coins are pending in unopened account, can you help me to take back my coins? I will share my coins whoever help me, thank you in advance.

@SergiySW
Copy link
Contributor

Closed with #1727 (v19)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
V19
CP0 (2019-02-27)
Development

Successfully merging a pull request may close this issue.

5 participants