Bitcoin Forum
July 11, 2024, 10:22:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can i find usable coin balance from main.cpp then use as a Bool ?  (Read 534 times)
mammix2 (OP)
Legendary
*
Offline Offline

Activity: 1302
Merit: 1004



View Profile
May 14, 2015, 03:47:45 PM
 #1

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.

1HfpFYxBUpQ941mKd4DEjsyA22HN4Kerzu
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1013


View Profile
May 15, 2015, 09:39:36 AM
 #2

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()

“God does not play dice"
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!