Bitcoin Forum
May 08, 2024, 03:45:45 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
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715183145
Hero Member
*
Offline Offline

Posts: 1715183145

View Profile Personal Message (Offline)

Ignore
1715183145
Reply with quote  #2

1715183145
Report to moderator
1715183145
Hero Member
*
Offline Offline

Posts: 1715183145

View Profile Personal Message (Offline)

Ignore
1715183145
Reply with quote  #2

1715183145
Report to moderator
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!