lbrycrd/src/rpc
Russell Yanofsky 190bf62be1 scripted-diff: Small locking rename
Call sync.h primitives "locks" and "mutexes" instead of "blocks" and "waitable
critical sections" to match current coding conventions and c++11 standard
names.

This PR does not rename the "CCriticalSection" class (though this could be done
as a followup) because it is used everywhere and would swamp the other changes
in this PR. Plain mutexes should mostly be preferred instead of recursive
mutexes in new code anyway.

-BEGIN VERIFY SCRIPT-
set -x
set -e
ren() { git grep -l $1 | xargs sed -i s/$1/$2/; }
ren CCriticalBlock           UniqueLock
ren CWaitableCriticalSection Mutex
ren CConditionVariable       std::condition_variable
ren cs_GenesisWait           g_genesis_wait_mutex
ren condvar_GenesisWait      g_genesis_wait_cv
perl -0777 -pi -e 's/.*typedef.*condition_variable.*\n\n?//g' src/sync.h
-END VERIFY SCRIPT-
2018-08-31 10:00:38 -04:00
..
blockchain.cpp scripted-diff: Small locking rename 2018-08-31 10:00:38 -04:00
blockchain.h Replace median fee rate with feerate percentiles 2018-08-11 15:00:17 -04:00
client.cpp [wallet] Remove wallet account RPCs 2018-08-27 10:45:01 -04:00
client.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
mining.cpp Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection 2018-08-31 16:00:38 +02:00
mining.h scripted-diff: Replace #include "" with #include <> (ryanofsky) 2017-11-16 08:23:01 +13:00
misc.cpp Merge #13891: [RPC] Remove getinfo deprecation warning 2018-08-15 17:10:43 +02:00
net.cpp Report minfeefilter value in getpeerinfo rpc 2018-08-27 21:13:15 +10:00
protocol.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
protocol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
rawtransaction.cpp Merge #13723: PSBT key path cleanups 2018-08-28 16:25:04 +02:00
rawtransaction.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
register.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
server.cpp Removes the Boost case_conv.hpp dependency. 2018-08-28 18:42:53 +02:00
server.h Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00
util.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
util.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00