Returns the credit an output contributes if it belongs to the wallet.
Declared in <wallet/receive.h>
CAmount
OutputGetCredit(
CWallet const& wallet,
CTxOut const& txout);
The credited amount, or zero if the output is not owned.
| Name | Description |
|---|---|
| wallet | The wallet to check ownership against. |
| txout | The output to evaluate. |