https://travis-ci.org/github/MarcoFalke/btc_nightly/jobs/680655419#L412
/**
 * A CWallet maintains a set of transactions and balances, and provides the ability to create new transactions.
 */
class CWallet final : public WalletStorage, public interfaces::Chain::Notifications
{
private:
    CKeyingMaterial vMasterKey GUARDED_BY(cs_wallet);
    bool Unlock(const CKeyingMaterial& vMasterKeyIn, bool accept_no_keys = false);
    std::atomic<bool> fAbortRescan{false};
    std::atomic<bool> fScanningWallet{false}; 
    std::atomic<int64_t> m_scanning_start{0};
    std::atomic<double> m_scanning_progress{0};
    std::mutex mutexScanning;
    friend class WalletRescanReserver;
    
    int nWalletVersion GUARDED_BY(cs_wallet){FEATURE_BASE};
    
    int nWalletMaxVersion GUARDED_BY(cs_wallet) = FEATURE_BASE;
    int64_t nNextResend = 0;
    int64_t nLastResend = 0;
    bool fBroadcastTransactions = false;
    
    std::atomic<int64_t> m_best_block_time {0};
    /**
     * Used to keep track of spent outpoints, and