aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-04-27 12:25:13 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-04-27 14:39:27 -0700
commitb297426c9670fa83a12096f9db5666c15e1bb806 (patch)
tree8f2a561a4c7e7bab59750330c3af8288bcf161bd /src/validation.h
parenta550f6e415fd8aec8c45d4704712a408c37ecd18 (diff)
Add -stopatheight for benchmarking
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index c0f9b6d513..24ebf238df 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -145,6 +145,9 @@ static const int MAX_UNCONNECTING_HEADERS = 10;
static const bool DEFAULT_PEERBLOOMFILTERS = true;
+/** Default for -stopatheight */
+static const int DEFAULT_STOPATHEIGHT = 0;
+
struct BlockHasher
{
size_t operator()(const uint256& hash) const { return hash.GetCheapHash(); }