mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
![Pieter Wuille](/assets/img/avatar_default.png)
Define a versionbits-based activation for the new consensus rules on regtest. No activation or activation mechanism is defined for testnet or mainnet.
18 lines
512 B
C++
18 lines
512 B
C++
// Copyright (c) 2016-2019 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 =*/ "taproot",
|
|
/*.gbt_force =*/ true,
|
|
},
|
|
};
|