diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-03 21:53:07 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-04-03 21:53:27 -0700 |
commit | 4a6c0e3dcfdca98270cb96b73db4c3d4446dba50 (patch) | |
tree | 144d60525f085531ef71883d6d3a25f680d405db /src/validation.h | |
parent | 45dd13503918e75a45ce33eb5c934b998790fdc8 (diff) | |
download | bitcoin-4a6c0e3dcfdca98270cb96b73db4c3d4446dba50.tar.xz |
Modernize best block mutex/cv/hash variable naming
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/validation.h b/src/validation.h index b51ad9fc76..12f11d80d4 100644 --- a/src/validation.h +++ b/src/validation.h @@ -164,9 +164,9 @@ extern BlockMap& mapBlockIndex; extern uint64_t nLastBlockTx; extern uint64_t nLastBlockWeight; extern const std::string strMessageMagic; -extern CWaitableCriticalSection csBestBlock; -extern CConditionVariable cvBlockChange; -extern uint256 hashBestBlock; +extern CWaitableCriticalSection g_best_block_mutex; +extern CConditionVariable g_best_block_cv; +extern uint256 g_best_block; extern std::atomic_bool fImporting; extern std::atomic_bool fReindex; extern int nScriptCheckThreads; |