Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,568 Lines • ▼ Show 20 Lines | if (mapMultiArgs.count("-bip9params")) { | ||||
} | } | ||||
} | } | ||||
if (!found) { | if (!found) { | ||||
return InitError( | return InitError( | ||||
strprintf("Invalid deployment (%s)", vDeploymentParams[0])); | strprintf("Invalid deployment (%s)", vDeploymentParams[0])); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
static bool LockDataDirectory(bool probeOnly) { | static bool LockDataDirectory(bool probeOnly) { | ||||
std::string strDataDir = GetDataDir().string(); | std::string strDataDir = GetDataDir().string(); | ||||
// Make sure only a single Bitcoin process is using the data directory. | // Make sure only a single Bitcoin process is using the data directory. | ||||
boost::filesystem::path pathLockFile = GetDataDir() / ".lock"; | boost::filesystem::path pathLockFile = GetDataDir() / ".lock"; | ||||
▲ Show 20 Lines • Show All 606 Lines • Show Last 20 Lines |