aboutsummaryrefslogtreecommitdiff
path: root/src/versionbitsinfo.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2018-06-16 22:33:42 +0200
committerJorge Timón <jtimon@jtimon.cc>2018-09-23 22:55:11 +0200
commit980b38f8a12130d2761d0f748db750165cfed025 (patch)
treef5eb758ca0fb57d70fc3606c85a60d20ae057951 /src/versionbitsinfo.h
parent920c090f63f4990bf0f3b3d1a6d3d8a8bcd14ba0 (diff)
MOVEONLY: Move versionbits info out of versionbits.o
Diffstat (limited to 'src/versionbitsinfo.h')
-rw-r--r--src/versionbitsinfo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/versionbitsinfo.h b/src/versionbitsinfo.h
new file mode 100644
index 0000000000..a7822bc747
--- /dev/null
+++ b/src/versionbitsinfo.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2016-2018 The Bitcoin Core developers
+// Distributed under the MIT software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#ifndef BITCOIN_VERSIONBITSINFO_H
+#define BITCOIN_VERSIONBITSINFO_H
+
+struct VBDeploymentInfo {
+ /** Deployment name */
+ const char *name;
+ /** Whether GBT clients can safely ignore this rule in simplified usage */
+ bool gbt_force;
+};
+
+extern const struct VBDeploymentInfo VersionBitsDeploymentInfo[];
+
+#endif // BITCOIN_VERSIONBITSINFO_H