wallet::WalletDatabase::m_refcount

Counts the number of active database users to be sure that the database is not closed while someone is using it

Synopsis

Declared in <wallet/db.h>

std::atomic<int> m_refcount = {0};