mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
f456edb07e
* Merge #13311: Don't edit Chainparams after initialization 6fa901fb47 Don't edit Chainparams after initialization (Jorge Timón) 980b38f8a1 MOVEONLY: Move versionbits info out of versionbits.o (Jorge Timón) Pull request description: This encapsulates the "-vbparams" option, which is only meant for regtest, directly on CRegTestParams. This is a refactor and doesn't change functionality. Related to https://github.com/bitcoin/bitcoin/pull/8994 Tree-SHA512: 79771d729a63a720e743a9c77d5e2d80369f072d66202a43c1304e83a7d0ef7c6103d4968a03aea9666cc89a7203c618da972124a677b38cfe62ddaeb28f9f5d * Resolve Merge with #13311 * Incorporated review changes * Apply suggestions from code review * Update src/chainparams.cpp * Update src/chainparams.cpp Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: MarcoFalke <falke.marco@gmail.com> Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com>
20 lines
628 B
C
20 lines
628 B
C
// 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_VERSIONBITSINFO_H
|
|
#define BITCOIN_VERSIONBITSINFO_H
|
|
|
|
struct VBDeploymentInfo {
|
|
/** Deployment name */
|
|
const char *name;
|
|
/** Whether GBT clients can safely ignore this rule in simplified usage */
|
|
bool gbt_force;
|
|
/** Whether to check current MN protocol or not */
|
|
bool check_mn_protocol;
|
|
};
|
|
|
|
extern const struct VBDeploymentInfo VersionBitsDeploymentInfo[];
|
|
|
|
#endif // BITCOIN_VERSIONBITSINFO_H
|