Bitcoin Forum
May 06, 2024, 07:49:57 PM *
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 533 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
1715024997
Hero Member
*
Offline Offline

Posts: 1715024997

View Profile Personal Message (Offline)

Ignore
1715024997
Reply with quote  #2

1715024997
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715024997
Hero Member
*
Offline Offline

Posts: 1715024997

View Profile Personal Message (Offline)

Ignore
1715024997
Reply with quote  #2

1715024997
Report to moderator
1715024997
Hero Member
*
Offline Offline

Posts: 1715024997

View Profile Personal Message (Offline)

Ignore
1715024997
Reply with quote  #2

1715024997
Report to moderator
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1012


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!