diff options
| author | Jorge Timón <[email protected]> | 2018-06-16 22:33:42 +0200 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2018-09-23 22:55:11 +0200 |
| commit | 980b38f8a12130d2761d0f748db750165cfed025 (patch) | |
| tree | f5eb758ca0fb57d70fc3606c85a60d20ae057951 /src/versionbitsinfo.cpp | |
| parent | Merge #14287: tests: Use MakeUnique to construct objects owned by unique_ptrs (diff) | |
| download | discoin-980b38f8a12130d2761d0f748db750165cfed025.tar.xz discoin-980b38f8a12130d2761d0f748db750165cfed025.zip | |
MOVEONLY: Move versionbits info out of versionbits.o
Diffstat (limited to 'src/versionbitsinfo.cpp')
| -rw-r--r-- | src/versionbitsinfo.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/versionbitsinfo.cpp b/src/versionbitsinfo.cpp new file mode 100644 index 000000000..ecf348292 --- /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, + } +}; |