aboutsummaryrefslogtreecommitdiff
path: root/src/deploymentinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/deploymentinfo.h')
-rw-r--r--src/deploymentinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/deploymentinfo.h b/src/deploymentinfo.h
index 8b909dedb4..72ba297ea0 100644
--- a/src/deploymentinfo.h
+++ b/src/deploymentinfo.h
@@ -7,6 +7,7 @@
#include <consensus/params.h>
+#include <optional>
#include <string>
struct VBDeploymentInfo {
@@ -26,4 +27,6 @@ inline std::string DeploymentName(Consensus::DeploymentPos pos)
return VersionBitsDeploymentInfo[pos].name;
}
+std::optional<Consensus::BuriedDeployment> GetBuriedDeployment(const std::string_view deployment_name);
+
#endif // BITCOIN_DEPLOYMENTINFO_H