diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-04-20 17:10:13 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-05-21 01:23:23 +1000 |
commit | bba87c0553780eacf0317fbfec7330ea27aa02f8 (patch) | |
tree | 61fcec9f73e23a29c1d0d465572afdb5e9e8867d /src/validation.h | |
parent | a559509a0b8cade27199740212d7b589f71a0e3b (diff) | |
download | bitcoin-bba87c0553780eacf0317fbfec7330ea27aa02f8.tar.xz |
scripted-diff: Convert global Mutexes to GlobalMutexes
-BEGIN VERIFY SCRIPT-
sed -i -E -e '/^([a-z]+ )?Mutex [a-z]/ s/Mutex/GlobalMutex/' $(git grep -lE '^([a-z]+ )?Mutex [a-z]')
-END VERIFY SCRIPT-
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 04745a6e36..1b80d0ccf4 100644 --- a/src/validation.h +++ b/src/validation.h @@ -114,7 +114,7 @@ enum class SynchronizationState { }; extern RecursiveMutex cs_main; -extern Mutex g_best_block_mutex; +extern GlobalMutex g_best_block_mutex; extern std::condition_variable g_best_block_cv; /** Used to notify getblocktemplate RPC of new tips. */ extern uint256 g_best_block; |