File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ BITCOIN_CORE_H = \
145
145
core_memusage.h \
146
146
cuckoocache.h \
147
147
dbwrapper.h \
148
+ deploymentinfo.h \
148
149
deploymentstatus.h \
149
150
external_signer.h \
150
151
flatfile.h \
@@ -273,7 +274,6 @@ BITCOIN_CORE_H = \
273
274
validation.h \
274
275
validationinterface.h \
275
276
versionbits.h \
276
- versionbitsinfo.h \
277
277
wallet/bdb.h \
278
278
wallet/coincontrol.h \
279
279
wallet/coinselection.h \
@@ -542,6 +542,7 @@ libbitcoin_common_a_SOURCES = \
542
542
compressor.cpp \
543
543
core_read.cpp \
544
544
core_write.cpp \
545
+ deploymentinfo.cpp \
545
546
external_signer.cpp \
546
547
init/common.cpp \
547
548
key.cpp \
@@ -563,7 +564,6 @@ libbitcoin_common_a_SOURCES = \
563
564
script/sign.cpp \
564
565
script/signingprovider.cpp \
565
566
script/standard.cpp \
566
- versionbitsinfo.cpp \
567
567
warnings.cpp \
568
568
$(BITCOIN_CORE_H )
569
569
Original file line number Diff line number Diff line change 7
7
8
8
#include < chainparamsseeds.h>
9
9
#include < consensus/merkle.h>
10
+ #include < deploymentinfo.h>
10
11
#include < hash.h> // for signet block challenge hash
11
12
#include < util/system.h>
12
- #include < versionbitsinfo.h>
13
13
14
14
#include < assert.h>
15
15
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ enum DeploymentPos : uint16_t
26
26
{
27
27
DEPLOYMENT_TESTDUMMY,
28
28
DEPLOYMENT_TAPROOT, // Deployment of Schnorr/Taproot (BIPs 340-342)
29
- // NOTE: Also add new deployments to VersionBitsDeploymentInfo in versionbits .cpp
29
+ // NOTE: Also add new deployments to VersionBitsDeploymentInfo in deploymentinfo .cpp
30
30
MAX_VERSION_BITS_DEPLOYMENTS
31
31
};
32
32
constexpr bool ValidDeployment (DeploymentPos dep) { return DEPLOYMENT_TESTDUMMY <= dep && dep <= DEPLOYMENT_TAPROOT; }
Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
- #include < versionbitsinfo .h>
5
+ #include < deploymentinfo .h>
6
6
7
7
#include < consensus/params.h>
8
8
Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
- #ifndef BITCOIN_VERSIONBITSINFO_H
6
- #define BITCOIN_VERSIONBITSINFO_H
5
+ #ifndef BITCOIN_DEPLOYMENTINFO_H
6
+ #define BITCOIN_DEPLOYMENTINFO_H
7
7
8
8
struct VBDeploymentInfo {
9
9
/** Deployment name */
@@ -14,4 +14,4 @@ struct VBDeploymentInfo {
14
14
15
15
extern const struct VBDeploymentInfo VersionBitsDeploymentInfo [];
16
16
17
- #endif // BITCOIN_VERSIONBITSINFO_H
17
+ #endif // BITCOIN_DEPLOYMENTINFO_H
Original file line number Diff line number Diff line change 10
10
#include < consensus/params.h>
11
11
#include < consensus/validation.h>
12
12
#include < core_io.h>
13
+ #include < deploymentinfo.h>
13
14
#include < deploymentstatus.h>
14
15
#include < key_io.h>
15
16
#include < miner.h>
35
36
#include < util/translation.h>
36
37
#include < validation.h>
37
38
#include < validationinterface.h>
38
- #include < versionbitsinfo.h>
39
39
#include < warnings.h>
40
40
41
41
#include < memory>
You can’t perform that action at this time.
0 commit comments