aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 211d1b32f..bf11cf361 100644
--- a/src/main.h
+++ b/src/main.h
@@ -928,6 +928,12 @@ public:
}
return false;
}
+
+ // base block version without auxpow chain
+ int GetBaseVersion() const
+ {
+ return nVersion & BLOCK_VERSION_BASE_MASK;
+ }
};