message: versionbits: Use dedicated lock instead of cs_main
diff: @@ -1465,9 +1465,8 @@ static bool IsScriptWitnessEnabled(const Consensus::Params& params)
  return params.SegwitHeight != std::numeric_limits<int>::max();
  }
  -static unsigned int GetBlockScriptFlags(const CBlockIndex* pindex, const Consensus::Params& consensusparams) EXCLUSIVE_LOCKS_REQUIRED(cs_main) {
  - AssertLockHeld(cs_main);
  -
  +static unsigned int GetBlockScriptFlags(const CBlockIndex* pindex, const Consensus::Params& consensusparams)
  +{
  unsigned int flags = SCRIPT_VERIFY_NONE;
  // BIP16 didn't become active until Apr 1 2012 (on mainnet, and
  