mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
e4c7f383ce
## Issue being fixed or feature implemented During implementation #5469 (master node hard-fork) I noticed that some parts of `CChainParams` are deprecated and can be removed. ## What was done? 1. removed methods from `CChainParams` that have no implementation at all: - UpdateSubsidyAndDiffParams - UpdateLLMQChainLocks - UpdateLLMQTestParams - UpdateLLMQDevnetParams 2. removed method `BIP9CheckMasternodesUpgraded` from `CChainParams` and a flag `check_mn_protocol` from `versionbitsinfo`. (to follow-up dashpay/dash#2594) ## How Has This Been Tested? Run functional/unit tests. ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
18 lines
545 B
C
18 lines
545 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;
|
|
};
|
|
|
|
extern const struct VBDeploymentInfo VersionBitsDeploymentInfo[];
|
|
|
|
#endif // BITCOIN_VERSIONBITSINFO_H
|