Bitcoin Forum
May 23, 2024, 03:29:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Difference between GetCredit() and GetAvailableCredit() functions in CWalletTx ?  (Read 755 times)
marseille (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500



View Profile
June 20, 2014, 07:32:44 PM
 #1

I am novice in bitcoin code and just start to looking and testing some code.

Any expert can shed some lights on the difference between GetCredit() and GetAvailableCredit() functions in CWalletTx class?

In my tests sometimes the coins are available in an address but GetAvailableCredit() does not show it (while GetCredit() does), so I am a bit confused... Is GetAvailableCredit() excludes coins in stake or some other situations (which are these situations)?
marseille (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500



View Profile
June 22, 2014, 11:07:17 PM
 #2

I am novice in bitcoin code and just start to looking and testing some code.

Any expert can shed some lights on the difference between GetCredit() and GetAvailableCredit() functions in CWalletTx class?

In my tests sometimes the coins are available in an address but GetAvailableCredit() does not show it (while GetCredit() does), so I am a bit confused... Is GetAvailableCredit() excludes coins in stake or some other situations (which are these situations)?

anyone have some clue?
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!