aboutsummaryrefslogtreecommitdiff
path: root/src/versionbitsinfo.cpp
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.cpp
parent920c090f63f4990bf0f3b3d1a6d3d8a8bcd14ba0 (diff)
MOVEONLY: Move versionbits info out of versionbits.o
Diffstat (limited to 'src/versionbitsinfo.cpp')
-rw-r--r--src/versionbitsinfo.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/versionbitsinfo.cpp b/src/versionbitsinfo.cpp
new file mode 100644
index 0000000000..ecf3482927
--- /dev/null
+++ b/src/versionbitsinfo.cpp
@@ -0,0 +1,22 @@
+// 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.
+
+#include <versionbitsinfo.h>
+
+#include <consensus/params.h>
+
+const struct VBDeploymentInfo VersionBitsDeploymentInfo[Consensus::MAX_VERSION_BITS_DEPLOYMENTS] = {
+ {
+ /*.name =*/ "testdummy",
+ /*.gbt_force =*/ true,
+ },
+ {
+ /*.name =*/ "csv",
+ /*.gbt_force =*/ true,
+ },
+ {
+ /*.name =*/ "segwit",
+ /*.gbt_force =*/ true,
+ }
+};