Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mammix2 on May 14, 2015, 03:47:45 PM



Title: How can i find usable coin balance from main.cpp then use as a Bool ?
Post by: mammix2 on May 14, 2015, 03:47:45 PM
Hi

Can someone explain if there is a simple method to finding the Available balance within main.cpp and then use it as a condition?
I'm using a much older version of bitcoin core 0.8.6 & trying to get my head around how to use this as a bool condition for some graphical tweaks.


Title: Re: How can i find usable coin balance from main.cpp then use as a Bool ?
Post by: YarkoL on May 15, 2015, 09:39:36 AM
Hi

Can someone explain if there is a simple method to finding the Available balance within main.cpp and then use it as a condition?


 pwalletMain->GetBalance()