Bitcoin Forum
September 27, 2018, 11:26:00 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How can i find usable coin balance from main.cpp then use as a Bool ?  (Read 472 times)
mammix2
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000



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.
1538090760
Hero Member
*
Offline Offline

Posts: 1538090760

View Profile Personal Message (Offline)

Ignore
1538090760
Reply with quote  #2

1538090760
Report to moderator
1538090760
Hero Member
*
Offline Offline

Posts: 1538090760

View Profile Personal Message (Offline)

Ignore
1538090760
Reply with quote  #2

1538090760
Report to moderator
1538090760
Hero Member
*
Offline Offline

Posts: 1538090760

View Profile Personal Message (Offline)

Ignore
1538090760
Reply with quote  #2

1538090760
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538090760
Hero Member
*
Offline Offline

Posts: 1538090760

View Profile Personal Message (Offline)

Ignore
1538090760
Reply with quote  #2

1538090760
Report to moderator
1538090760
Hero Member
*
Offline Offline

Posts: 1538090760

View Profile Personal Message (Offline)

Ignore
1538090760
Reply with quote  #2

1538090760
Report to moderator
YarkoL
Legendary
*
Offline Offline

Activity: 993
Merit: 1000



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!