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

BalanceSummary: what does "Immature" means? #56

Open
bazooka70 opened this issue Feb 27, 2018 · 3 comments
Open

BalanceSummary: what does "Immature" means? #56

bazooka70 opened this issue Feb 27, 2018 · 3 comments

Comments

@bazooka70
Copy link

With QBitNinjaClient() we can call the GetBalanceSummary which returns BalanceSummary.
one of the fields is Immature. what exactly does this field means? should I use it in the final balance calculation?

Also, should I call balanceSummary.CalculateSpendable(); to get the balance summary before accessing the different fields (Spendable, UnConfirmed, Confirmed, Immature)

@NicolasDorier
Copy link
Contributor

Immature is for coins mined by miners that can't be spent for now.

@NicolasDorier
Copy link
Contributor

CalculateSpendable should be called by the server not by the client, I should have make this private or just removed it.

@bazooka70
Copy link
Author

Thanks @NicolasDorier . So in a standard client app Immature should be ignored? I mean what is the formula to display the current balance (including unconfirmed) and the unconfirmed BTC (could be positive or negative). something like blockcypher.com shows.

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

No branches or pull requests

2 participants