aboutsummaryrefslogtreecommitdiff
path: root/src/deploymentinfo.h
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2021-03-11 12:17:22 +1000
committerAnthony Towns <aj@erisian.com.au>2021-06-30 08:19:12 +1000
commitea68b3a5729f5d240e968388c4f88acffeb27228 (patch)
tree0507e4cdd0e73ea4f24b9bf66628e28b01592922 /src/deploymentinfo.h
parentc64b2c6a0f79369624ae96b2e3d579d50aae4de6 (diff)
downloadbitcoin-ea68b3a5729f5d240e968388c4f88acffeb27228.tar.xz
[move-only] Rename versionbitsinfo to deploymentinfo
Diffstat (limited to 'src/deploymentinfo.h')
-rw-r--r--src/deploymentinfo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/deploymentinfo.h b/src/deploymentinfo.h
new file mode 100644
index 0000000000..4c68856eac
--- /dev/null
+++ b/src/deploymentinfo.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_DEPLOYMENTINFO_H
+#define BITCOIN_DEPLOYMENTINFO_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_DEPLOYMENTINFO_H