MOVEONLY: Move versionbits info out of versionbits.o

This commit is contained in:
Jorge Timón
2018-06-16 22:33:42 +02:00
parent 920c090f63
commit 980b38f8a1
8 changed files with 44 additions and 24 deletions

22
src/versionbitsinfo.cpp Normal file
View File

@@ -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,
}
};