Skip to content

Commit

Permalink
Merge pull request #276 from commerceblock/fix/list-deadlock
Browse files Browse the repository at this point in the history
Lock cs_main on policy list load
  • Loading branch information
Nikos Kostoulas authored Feb 17, 2020
2 parents 24e5a20 + ae5fb36 commit ef16ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 14)
define(_CLIENT_VERSION_REVISION, 1)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 10)
define(_CLIENT_VERSION_BUILD, 1)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2017)
define(_COPYRIGHT_YEAR, 2020)
define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Ocean Core]])
AC_INIT([Ocean Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION._CLIENT_VERSION_BUILD],[https://github.com/commerceblock/ocean/issues],[ocean])
Expand Down
3 changes: 2 additions & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ std::string LicenseInfo()
const std::string URL_SOURCE_CODE = "<https://github.com/commerceblock/ocean>";
const std::string URL_WEBSITE = "<https://www.commerceblock.com>";

return CopyrightHolders(strprintf(_("Copyright (C) %i-%i"), 2015, COPYRIGHT_YEAR) + " ") + "\n" +
return CopyrightHolders(strprintf(_("Copyright (C) %i-%i"), 2018, COPYRIGHT_YEAR) + " ") + "\n" +
"\n" +
strprintf(_("Please contribute if you find %s useful. "
"Visit %s for further information about the software."),
Expand Down Expand Up @@ -1732,6 +1732,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
}

if(chainActive.Height() > 1) {
LOCK(cs_main);
LogPrintf("Loading Policy Lists:\n");
nStart = GetTimeMillis();
if (fRequireFreezelistCheck) {
Expand Down

0 comments on commit ef16ab2

Please sign in to comment.