aboutsummaryrefslogtreecommitdiff
path: root/src/versionbits.h
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-04-01 18:30:17 -0400
committerMarcoFalke <[email protected]>2018-04-01 18:30:21 -0400
commit0c5f67b8e5d9a502c6d321c5e0696bc3e9b4690d (patch)
tree157e9d84196abfbdb59270e3829e6b0cb4c4bde2 /src/versionbits.h
parentMerge #12719: tests: Add note about test suite naming convention in developer... (diff)
parentAdd lint-include-guards.sh which checks include guard consistency (diff)
downloaddiscoin-0c5f67b8e5d9a502c6d321c5e0696bc3e9b4690d.tar.xz
discoin-0c5f67b8e5d9a502c6d321c5e0696bc3e9b4690d.zip
Merge #12757: Clarify include guard naming convention
3bcc0059b8 Add lint-include-guards.sh which checks include guard consistency (practicalswift) 8fd6af89a0 Fix missing or inconsistent include guards (practicalswift) 8af65d96f4 Document include guard convention (practicalswift) Pull request description: * **Documentation**: Document include guard convention * **Fix**: Fix missing or inconsistent include guards * **Regression test**: Add `lint-include-guards.sh` which checks include guard consistency Tree-SHA512: 8171878f60fd08ccbea943a11e835195750592abb9d7ab74eaa4265ae7fac523b1da9d31ca13d6ab73dd596e49986bfb7593c696e5f39567c93e610165bc2acc
Diffstat (limited to 'src/versionbits.h')
-rw-r--r--src/versionbits.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/versionbits.h b/src/versionbits.h
index 65cf308c7..8962a6505 100644
--- a/src/versionbits.h
+++ b/src/versionbits.h
@@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#ifndef BITCOIN_CONSENSUS_VERSIONBITS
-#define BITCOIN_CONSENSUS_VERSIONBITS
+#ifndef BITCOIN_VERSIONBITS_H
+#define BITCOIN_VERSIONBITS_H
#include <chain.h>
#include <map>
@@ -77,4 +77,4 @@ BIP9Stats VersionBitsStatistics(const CBlockIndex* pindexPrev, const Consensus::
int VersionBitsStateSinceHeight(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache);
uint32_t VersionBitsMask(const Consensus::Params& params, Consensus::DeploymentPos pos);
-#endif
+#endif // BITCOIN_VERSIONBITS_H