| 52 | bool fSafe; |
| 53 | |
| 54 | COutput(const CWallet& wallet, const CWalletTx& wtx, int iIn, int nDepthIn, bool fSpendableIn, bool fSolvableIn, bool fSafeIn, bool use_max_sig_in = false) |
| 55 | { |
| 56 | tx = &wtx; i = iIn; nDepth = nDepthIn; fSpendable = fSpendableIn; fSolvable = fSolvableIn; fSafe = fSafeIn; nInputBytes = -1; use_max_sig = use_max_sig_in; |
| 57 | // If known and signable by the given wallet, compute nInputBytes |
| 58 | // Failure will keep this value -1 |
| 59 | if (fSpendable) { |
| 60 | nInputBytes = GetTxSpendSize(wallet, wtx, i, use_max_sig); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | std::string ToString(const CWallet& wallet) const; |
| 65 |
nothing calls this directly
no test coverage detected