https://travis-ci.org/github/MarcoFalke/btc_nightly/jobs/680655419#L412
const uint256& GetHash() const { return tx->GetHash(); }
    bool IsCoinBase() const { return tx->IsCoinBase(); }
    bool IsImmatureCoinBase() const;
    
    
    
    CWalletTx(CWalletTx const &) = delete;
    void operator=(CWalletTx const &x) = delete;
};
class COutput
{
public:
    const CWalletTx *tx;
    int i;
    int nDepth;
    
    int nInputBytes;
    
    bool fSpendable;
    
    bool fSolvable;
    
    bool use_max_sig;
    /**
     * Whether this output is considered safe to spend. Unconfirmed transactions
     * from outside keys and unconfirmed replacement transactions are considered
     * unsafe and will not be used to fund new spending transactions.
     */
    bool fSafe;
    COutput(const CWalletTx *txIn, int iIn, int nDepthIn, bool fSpendableIn, bool fSolvableIn, bool fSafeIn, bool use_max_sig_in = false)