validation: Mark g_chainman DEPRECATED

This commit is contained in:
MarcoFalke 2020-04-18 09:15:49 -04:00
parent fa1d97b256
commit fab6b9d18f
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -873,6 +873,7 @@ public:
void Reset();
};
/** DEPRECATED! Please use node.chainman instead. May only be used in validation.cpp internally */
extern ChainstateManager g_chainman GUARDED_BY(::cs_main);
/** @returns the most-work valid chainstate. */