Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: marseille on June 20, 2014, 07:32:44 PM



Title: Difference between GetCredit() and GetAvailableCredit() functions in CWalletTx ?
Post by: marseille on June 20, 2014, 07:32:44 PM
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)?


Title: Re: Difference between GetCredit() and GetAvailableCredit() functions in CWalletTx ?
Post by: marseille on June 22, 2014, 11:07:17 PM
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?