aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@chaincode.com>2016-07-05 15:50:48 -0400
committerSuhas Daftuar <sdaftuar@chaincode.com>2016-07-05 19:57:45 -0400
commitc1d61fbd080bcc29589b8d467df98efb7e89d231 (patch)
treeaa9fc656d5f107f80f664ac614f6895cc1faf6ca /src/init.cpp
parent27362dda4d583a43ebf687ae097d2f45ba1c4c32 (diff)
Add warning if -blockminsize is used.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index fdf6301d2a..7f82893286 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -876,6 +876,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (GetBoolArg("-whitelistalwaysrelay", false))
InitWarning(_("Unsupported argument -whitelistalwaysrelay ignored, use -whitelistrelay and/or -whitelistforcerelay."));
+ if (mapArgs.count("-blockminsize"))
+ InitWarning("Unsupported argument -blockminsize ignored.");
+
// Checkmempool and checkblockindex default to true in regtest mode
int ratio = std::min<int>(std::max<int>(GetArg("-checkmempool", chainparams.DefaultConsistencyChecks() ? 1 : 0), 0), 1000000);
if (ratio != 0) {