aboutsummaryrefslogtreecommitdiff
path: root/src/versionbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/versionbits.h')
-rw-r--r--src/versionbits.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/versionbits.h b/src/versionbits.h
index 4ede920803..c18a8d1176 100644
--- a/src/versionbits.h
+++ b/src/versionbits.h
@@ -96,4 +96,9 @@ public:
void Clear();
};
+/**
+ * Determine what nVersion a new block should use.
+ */
+int32_t ComputeBlockVersion(const CBlockIndex* pindexPrev, const Consensus::Params& params);
+
#endif // BITCOIN_VERSIONBITS_H