init.cpp:1635 prints mapBlockIndex.size() without cs_main. This is technically a race (though it is rather inconsequential). At some point someone should fix this so tsan stops complaining.
{
        CleanKey();
    }
};
/** Keystore which keeps the private keys encrypted.
 * It derives from the basic key store, which is used if no encryption is active.
 */
class CCryptoKeyStore : public CBasicKeyStore
{
private:
    CKeyingMaterial vMasterKey;
    
    
    bool fUseCrypto;
    
    bool fDecryptionThoroughlyChecked;
protected:
    bool SetCrypted();
    
    bool EncryptKeys(CKeyingMaterial& vMasterKeyIn);
    bool Unlock(const CKeyingMaterial& vMasterKeyIn);
    CryptedKeyMap mapCryptedKeys;
public:
    CCryptoKeyStore() : fUseCrypto(false), fDecryptionThoroughlyChecked(false)
    {
    }
    bool IsCrypted() const