From 8a5130713d68628d9abb2c482d22dcd6b8ce98c9 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Fri, 4 Dec 2020 09:49:56 -0500 Subject: [PATCH] Hush them headers --- src/compat/byteswap.h | 6 +++--- src/compat/endian.h | 6 +++--- src/compat/sanity.h | 6 +++--- src/consensus/consensus.h | 6 +++--- src/consensus/params.h | 6 +++--- src/consensus/validation.h | 6 +++--- src/crypto/common.h | 6 +++--- src/crypto/equihash.h | 6 +++--- src/crypto/hmac_sha256.h | 6 +++--- src/crypto/hmac_sha512.h | 6 +++--- src/crypto/ripemd160.h | 6 +++--- src/crypto/sha1.h | 6 +++--- src/crypto/sha256.h | 6 +++--- src/crypto/sha512.h | 6 +++--- src/policy/fees.h | 6 +++--- src/primitives/block.h | 6 +++--- src/primitives/transaction.h | 6 +++--- src/script/interpreter.h | 6 +++--- src/script/script.h | 6 +++--- src/script/script_error.h | 6 +++--- src/script/serverchecker.h | 6 +++--- src/script/sigcache.h | 6 +++--- src/script/sign.h | 6 +++--- src/script/standard.h | 6 +++--- src/script/zcashconsensus.h | 8 ++++---- src/support/cleanse.h | 6 +++--- src/support/events.h | 6 +++--- src/support/pagelocker.h | 6 +++--- src/test/bignum.h | 6 +++--- src/test/test_bitcoin.h | 4 ++-- src/util/asmap.h | 6 +++--- src/zmq/zmqabstractnotifier.h | 6 +++--- src/zmq/zmqconfig.h | 6 +++--- src/zmq/zmqnotificationinterface.h | 6 +++--- src/zmq/zmqpublishnotifier.h | 6 +++--- 35 files changed, 105 insertions(+), 105 deletions(-) diff --git a/src/compat/byteswap.h b/src/compat/byteswap.h index fcff3f443..b062ce2cb 100644 --- a/src/compat/byteswap.h +++ b/src/compat/byteswap.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_COMPAT_BYTESWAP_H -#define BITCOIN_COMPAT_BYTESWAP_H +#ifndef HUSH_COMPAT_BYTESWAP_H +#define HUSH_COMPAT_BYTESWAP_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -44,4 +44,4 @@ inline uint64_t bswap_64(uint64_t x) } #endif // HAVE_DECL_BSWAP64 -#endif // BITCOIN_COMPAT_BYTESWAP_H +#endif // HUSH_COMPAT_BYTESWAP_H diff --git a/src/compat/endian.h b/src/compat/endian.h index 79cbf5ce8..97cdd4dc6 100644 --- a/src/compat/endian.h +++ b/src/compat/endian.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_COMPAT_ENDIAN_H -#define BITCOIN_COMPAT_ENDIAN_H +#ifndef HUSH_COMPAT_ENDIAN_H +#define HUSH_COMPAT_ENDIAN_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -193,4 +193,4 @@ inline uint64_t le64toh(uint64_t little_endian_64bits) #endif // WORDS_BIGENDIAN -#endif // BITCOIN_COMPAT_ENDIAN_H +#endif // HUSH_COMPAT_ENDIAN_H diff --git a/src/compat/sanity.h b/src/compat/sanity.h index 7b9e0815f..a81aa1644 100644 --- a/src/compat/sanity.h +++ b/src/compat/sanity.h @@ -2,10 +2,10 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_COMPAT_SANITY_H -#define BITCOIN_COMPAT_SANITY_H +#ifndef HUSH_COMPAT_SANITY_H +#define HUSH_COMPAT_SANITY_H bool glibc_sanity_test(); bool glibcxx_sanity_test(); -#endif // BITCOIN_COMPAT_SANITY_H +#endif // HUSH_COMPAT_SANITY_H diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h index f9c9e9650..987cb229c 100644 --- a/src/consensus/consensus.h +++ b/src/consensus/consensus.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CONSENSUS_CONSENSUS_H -#define BITCOIN_CONSENSUS_CONSENSUS_H +#ifndef HUSH_CONSENSUS_CONSENSUS_H +#define HUSH_CONSENSUS_CONSENSUS_H /** The minimum allowed block version (network rule) */ static const int32_t MIN_BLOCK_VERSION = 4; @@ -54,4 +54,4 @@ enum { /** Used as the flags parameter to CheckFinalTx() in non-consensus code */ static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST; -#endif // BITCOIN_CONSENSUS_CONSENSUS_H +#endif // HUSH_CONSENSUS_CONSENSUS_H diff --git a/src/consensus/params.h b/src/consensus/params.h index 4cda50068..1ff7a6f54 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CONSENSUS_PARAMS_H -#define BITCOIN_CONSENSUS_PARAMS_H +#ifndef HUSH_CONSENSUS_PARAMS_H +#define HUSH_CONSENSUS_PARAMS_H #include "uint256.h" @@ -137,4 +137,4 @@ struct Params { }; } // namespace Consensus -#endif // BITCOIN_CONSENSUS_PARAMS_H +#endif // HUSH_CONSENSUS_PARAMS_H diff --git a/src/consensus/validation.h b/src/consensus/validation.h index 1779cdd55..edf38e294 100644 --- a/src/consensus/validation.h +++ b/src/consensus/validation.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CONSENSUS_VALIDATION_H -#define BITCOIN_CONSENSUS_VALIDATION_H +#ifndef HUSH_CONSENSUS_VALIDATION_H +#define HUSH_CONSENSUS_VALIDATION_H #include @@ -93,4 +93,4 @@ public: virtual std::string GetRejectReason() const { return strRejectReason; } }; -#endif // BITCOIN_CONSENSUS_VALIDATION_H +#endif // HUSH_CONSENSUS_VALIDATION_H diff --git a/src/crypto/common.h b/src/crypto/common.h index 14a143a54..aa23d3feb 100644 --- a/src/crypto/common.h +++ b/src/crypto/common.h @@ -4,8 +4,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_COMMON_H -#define BITCOIN_CRYPTO_COMMON_H +#ifndef HUSH_CRYPTO_COMMON_H +#define HUSH_CRYPTO_COMMON_H #if defined(HAVE_CONFIG_H) #include "bitcoin-config.h" @@ -145,4 +145,4 @@ int inline init_and_check_sodium() return 0; } -#endif // BITCOIN_CRYPTO_COMMON_H +#endif // HUSH_CRYPTO_COMMON_H diff --git a/src/crypto/equihash.h b/src/crypto/equihash.h index 3b837a67a..e98a9cb16 100644 --- a/src/crypto/equihash.h +++ b/src/crypto/equihash.h @@ -3,8 +3,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_EQUIHASH_H -#define BITCOIN_EQUIHASH_H +#ifndef HUSH_EQUIHASH_H +#define HUSH_EQUIHASH_H #include "crypto/sha256.h" #include "utilstrencodings.h" @@ -311,4 +311,4 @@ inline bool EhOptimisedSolveUncancellable(unsigned int n, unsigned int k, const throw std::invalid_argument("Unsupported Equihash parameters"); \ } -#endif // BITCOIN_EQUIHASH_H +#endif // HUSH_EQUIHASH_H diff --git a/src/crypto/hmac_sha256.h b/src/crypto/hmac_sha256.h index e04cd50d8..63daebb2a 100644 --- a/src/crypto/hmac_sha256.h +++ b/src/crypto/hmac_sha256.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H -#define BITCOIN_CRYPTO_HMAC_SHA256_H +#ifndef HUSH_CRYPTO_HMAC_SHA256_H +#define HUSH_CRYPTO_HMAC_SHA256_H #include "crypto/sha256.h" @@ -29,4 +29,4 @@ public: void Finalize(unsigned char hash[OUTPUT_SIZE]); }; -#endif // BITCOIN_CRYPTO_HMAC_SHA256_H +#endif // HUSH_CRYPTO_HMAC_SHA256_H diff --git a/src/crypto/hmac_sha512.h b/src/crypto/hmac_sha512.h index 42addab56..661216f29 100644 --- a/src/crypto/hmac_sha512.h +++ b/src/crypto/hmac_sha512.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H -#define BITCOIN_CRYPTO_HMAC_SHA512_H +#ifndef HUSH_CRYPTO_HMAC_SHA512_H +#define HUSH_CRYPTO_HMAC_SHA512_H #include "crypto/sha512.h" @@ -29,4 +29,4 @@ public: void Finalize(unsigned char hash[OUTPUT_SIZE]); }; -#endif // BITCOIN_CRYPTO_HMAC_SHA512_H +#endif // HUSH_CRYPTO_HMAC_SHA512_H diff --git a/src/crypto/ripemd160.h b/src/crypto/ripemd160.h index 0d78371c9..61fd27def 100644 --- a/src/crypto/ripemd160.h +++ b/src/crypto/ripemd160.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_RIPEMD160_H -#define BITCOIN_CRYPTO_RIPEMD160_H +#ifndef HUSH_CRYPTO_RIPEMD160_H +#define HUSH_CRYPTO_RIPEMD160_H #include #include @@ -25,4 +25,4 @@ public: CRIPEMD160& Reset(); }; -#endif // BITCOIN_CRYPTO_RIPEMD160_H +#endif // HUSH_CRYPTO_RIPEMD160_H diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h index 3ed2e13d4..1831d3ea5 100644 --- a/src/crypto/sha1.h +++ b/src/crypto/sha1.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_SHA1_H -#define BITCOIN_CRYPTO_SHA1_H +#ifndef HUSH_CRYPTO_SHA1_H +#define HUSH_CRYPTO_SHA1_H #include #include @@ -25,4 +25,4 @@ public: CSHA1& Reset(); }; -#endif // BITCOIN_CRYPTO_SHA1_H +#endif // HUSH_CRYPTO_SHA1_H diff --git a/src/crypto/sha256.h b/src/crypto/sha256.h index fda7a427e..e4f42a62e 100644 --- a/src/crypto/sha256.h +++ b/src/crypto/sha256.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_SHA256_H -#define BITCOIN_CRYPTO_SHA256_H +#ifndef HUSH_CRYPTO_SHA256_H +#define HUSH_CRYPTO_SHA256_H #include #include @@ -34,4 +34,4 @@ public: */ std::string SHA256AutoDetect(); -#endif // BITCOIN_CRYPTO_SHA256_H +#endif // HUSH_CRYPTO_SHA256_H diff --git a/src/crypto/sha512.h b/src/crypto/sha512.h index f7e2a23e2..8b10b9c51 100644 --- a/src/crypto/sha512.h +++ b/src/crypto/sha512.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_CRYPTO_SHA512_H -#define BITCOIN_CRYPTO_SHA512_H +#ifndef HUSH_CRYPTO_SHA512_H +#define HUSH_CRYPTO_SHA512_H #include #include @@ -25,4 +25,4 @@ public: CSHA512& Reset(); }; -#endif // BITCOIN_CRYPTO_SHA512_H +#endif // HUSH_CRYPTO_SHA512_H diff --git a/src/policy/fees.h b/src/policy/fees.h index 132297116..92652cab5 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_POLICYESTIMATOR_H -#define BITCOIN_POLICYESTIMATOR_H +#ifndef HUSH_POLICYESTIMATOR_H +#define HUSH_POLICYESTIMATOR_H #include "amount.h" #include "uint256.h" @@ -293,4 +293,4 @@ private: CFeeRate feeLikely, feeUnlikely; double priLikely, priUnlikely; }; -#endif /*BITCOIN_POLICYESTIMATOR_H */ +#endif /*HUSH_POLICYESTIMATOR_H */ diff --git a/src/primitives/block.h b/src/primitives/block.h index 009805700..e56905be3 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_PRIMITIVES_BLOCK_H -#define BITCOIN_PRIMITIVES_BLOCK_H +#ifndef HUSH_PRIMITIVES_BLOCK_H +#define HUSH_PRIMITIVES_BLOCK_H #include "primitives/transaction.h" //#include "primitives/nonce.h" @@ -279,4 +279,4 @@ struct CBlockLocator } }; -#endif // BITCOIN_PRIMITIVES_BLOCK_H +#endif // HUSH_PRIMITIVES_BLOCK_H diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 7ffa7dfe8..9268005dd 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_PRIMITIVES_TRANSACTION_H -#define BITCOIN_PRIMITIVES_TRANSACTION_H +#ifndef HUSH_PRIMITIVES_TRANSACTION_H +#define HUSH_PRIMITIVES_TRANSACTION_H #include "amount.h" #include "random.h" @@ -826,4 +826,4 @@ struct CMutableTransaction uint256 GetHash() const; }; -#endif // BITCOIN_PRIMITIVES_TRANSACTION_H +#endif // HUSH_PRIMITIVES_TRANSACTION_H diff --git a/src/script/interpreter.h b/src/script/interpreter.h index a7f11ca40..e7cf38cb0 100644 --- a/src/script/interpreter.h +++ b/src/script/interpreter.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_INTERPRETER_H -#define BITCOIN_SCRIPT_INTERPRETER_H +#ifndef HUSH_SCRIPT_INTERPRETER_H +#define HUSH_SCRIPT_INTERPRETER_H #include "script_error.h" #include "primitives/transaction.h" @@ -204,4 +204,4 @@ bool VerifyScript( const BaseSignatureChecker& checker, uint32_t consensusBranchId, ScriptError* serror = NULL); -#endif // BITCOIN_SCRIPT_INTERPRETER_H +#endif // HUSH_SCRIPT_INTERPRETER_H diff --git a/src/script/script.h b/src/script/script.h index 9e69d4e16..1b804d4c1 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_SCRIPT_H -#define BITCOIN_SCRIPT_SCRIPT_H +#ifndef HUSH_SCRIPT_SCRIPT_H +#define HUSH_SCRIPT_SCRIPT_H #include "crypto/common.h" #include "prevector.h" @@ -631,4 +631,4 @@ public: } }; -#endif // BITCOIN_SCRIPT_SCRIPT_H +#endif // HUSH_SCRIPT_SCRIPT_H diff --git a/src/script/script_error.h b/src/script/script_error.h index db6341c4f..2219544b0 100644 --- a/src/script/script_error.h +++ b/src/script/script_error.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_SCRIPT_ERROR_H -#define BITCOIN_SCRIPT_SCRIPT_ERROR_H +#ifndef HUSH_SCRIPT_SCRIPT_ERROR_H +#define HUSH_SCRIPT_SCRIPT_ERROR_H typedef enum ScriptError_t { @@ -78,4 +78,4 @@ typedef enum ScriptError_t const char* ScriptErrorString(const ScriptError error); -#endif // BITCOIN_SCRIPT_SCRIPT_ERROR_H +#endif // HUSH_SCRIPT_SCRIPT_ERROR_H diff --git a/src/script/serverchecker.h b/src/script/serverchecker.h index 960551b8d..a541247b2 100644 --- a/src/script/serverchecker.h +++ b/src/script/serverchecker.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_SERVERCHECKER_H -#define BITCOIN_SCRIPT_SERVERCHECKER_H +#ifndef HUSH_SCRIPT_SERVERCHECKER_H +#define HUSH_SCRIPT_SERVERCHECKER_H #include "script/interpreter.h" @@ -40,4 +40,4 @@ public: int CheckEvalCondition(const CC *cond) const; }; -#endif // BITCOIN_SCRIPT_SERVERCHECKER_H +#endif // HUSH_SCRIPT_SERVERCHECKER_H diff --git a/src/script/sigcache.h b/src/script/sigcache.h index 07896ef9e..92406fabb 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_SIGCACHE_H -#define BITCOIN_SCRIPT_SIGCACHE_H +#ifndef HUSH_SCRIPT_SIGCACHE_H +#define HUSH_SCRIPT_SIGCACHE_H #include "script/interpreter.h" @@ -38,4 +38,4 @@ public: bool VerifySignature(const std::vector& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const; }; -#endif // BITCOIN_SCRIPT_SIGCACHE_H +#endif // HUSH_SCRIPT_SIGCACHE_H diff --git a/src/script/sign.h b/src/script/sign.h index 7c5d2896e..190d23d35 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_SIGN_H -#define BITCOIN_SCRIPT_SIGN_H +#ifndef HUSH_SCRIPT_SIGN_H +#define HUSH_SCRIPT_SIGN_H #include "script/interpreter.h" @@ -120,4 +120,4 @@ SignatureData CombineSignatures( SignatureData DataFromTransaction(const CMutableTransaction& tx, unsigned int nIn); void UpdateTransaction(CMutableTransaction& tx, unsigned int nIn, const SignatureData& data); -#endif // BITCOIN_SCRIPT_SIGN_H +#endif // HUSH_SCRIPT_SIGN_H diff --git a/src/script/standard.h b/src/script/standard.h index 53f82e35a..d9c462630 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCRIPT_STANDARD_H -#define BITCOIN_SCRIPT_STANDARD_H +#ifndef HUSH_SCRIPT_STANDARD_H +#define HUSH_SCRIPT_STANDARD_H #include "script/interpreter.h" #include "uint256.h" @@ -174,4 +174,4 @@ bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std:: CScript GetScriptForDestination(const CTxDestination& dest); CScript GetScriptForMultisig(int nRequired, const std::vector& keys); -#endif // BITCOIN_SCRIPT_STANDARD_H +#endif // HUSH_SCRIPT_STANDARD_H diff --git a/src/script/zcashconsensus.h b/src/script/zcashconsensus.h index fb6823495..0ccccd047 100644 --- a/src/script/zcashconsensus.h +++ b/src/script/zcashconsensus.h @@ -18,12 +18,12 @@ * * ******************************************************************************/ -#ifndef BITCOIN_ZCASHCONSENSUS_H -#define BITCOIN_ZCASHCONSENSUS_H +#ifndef HUSH_ZCASHCONSENSUS_H +#define HUSH_ZCASHCONSENSUS_H #include -#if defined(BUILD_BITCOIN_INTERNAL) && defined(HAVE_CONFIG_H) +#if defined(BUILD_HUSH_INTERNAL) && defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #if defined(_WIN32) #if defined(DLL_EXPORT) @@ -82,4 +82,4 @@ EXPORT_SYMBOL unsigned int zcashconsensus_version(); #undef EXPORT_SYMBOL -#endif // BITCOIN_ZCASHCONSENSUS_H +#endif // HUSH_ZCASHCONSENSUS_H diff --git a/src/support/cleanse.h b/src/support/cleanse.h index de5682d6a..dc60b3cf6 100644 --- a/src/support/cleanse.h +++ b/src/support/cleanse.h @@ -3,8 +3,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_SUPPORT_CLEANSE_H -#define BITCOIN_SUPPORT_CLEANSE_H +#ifndef HUSH_SUPPORT_CLEANSE_H +#define HUSH_SUPPORT_CLEANSE_H #include @@ -12,4 +12,4 @@ * operation will not be optimized out by the compiler. */ void memory_cleanse(void *ptr, size_t len); -#endif // BITCOIN_SUPPORT_CLEANSE_H +#endif // HUSH_SUPPORT_CLEANSE_H diff --git a/src/support/events.h b/src/support/events.h index 037588588..0027b5665 100644 --- a/src/support/events.h +++ b/src/support/events.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_SUPPORT_EVENTS_H -#define BITCOIN_SUPPORT_EVENTS_H +#ifndef HUSH_SUPPORT_EVENTS_H +#define HUSH_SUPPORT_EVENTS_H #include #include @@ -53,4 +53,4 @@ raii_evhttp_connection obtain_evhttp_connection_base(struct event_base* base, st return result; } -#endif // BITCOIN_SUPPORT_EVENTS_H +#endif // HUSH_SUPPORT_EVENTS_H diff --git a/src/support/pagelocker.h b/src/support/pagelocker.h index 980e62f37..851854869 100644 --- a/src/support/pagelocker.h +++ b/src/support/pagelocker.h @@ -3,8 +3,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_SUPPORT_PAGELOCKER_H -#define BITCOIN_SUPPORT_PAGELOCKER_H +#ifndef HUSH_SUPPORT_PAGELOCKER_H +#define HUSH_SUPPORT_PAGELOCKER_H #include "support/cleanse.h" @@ -175,4 +175,4 @@ void UnlockObject(const T& t) LockedPageManager::Instance().UnlockRange((void*)(&t), sizeof(T)); } -#endif // BITCOIN_SUPPORT_PAGELOCKER_H +#endif // HUSH_SUPPORT_PAGELOCKER_H diff --git a/src/test/bignum.h b/src/test/bignum.h index 0616b1764..d0bb99483 100644 --- a/src/test/bignum.h +++ b/src/test/bignum.h @@ -3,8 +3,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_TEST_BIGNUM_H -#define BITCOIN_TEST_BIGNUM_H +#ifndef HUSH_TEST_BIGNUM_H +#define HUSH_TEST_BIGNUM_H #include #include @@ -190,4 +190,4 @@ inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(a.bn inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(a.bn, b.bn) < 0); } inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(a.bn, b.bn) > 0); } -#endif // BITCOIN_TEST_BIGNUM_H +#endif // HUSH_TEST_BIGNUM_H diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index ae528d682..d80ab5165 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -1,5 +1,5 @@ -#ifndef BITCOIN_TEST_TEST_BITCOIN_H -#define BITCOIN_TEST_TEST_BITCOIN_H +#ifndef HUSH_TEST_TEST_HUSH_H +#define HUSH_TEST_TEST_HUSH_H #include "consensus/upgrades.h" #include "pubkey.h" diff --git a/src/util/asmap.h b/src/util/asmap.h index 9a66140af..470cfbebd 100644 --- a/src/util/asmap.h +++ b/src/util/asmap.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_UTIL_ASMAP_H -#define BITCOIN_UTIL_ASMAP_H +#ifndef HUSH_UTIL_ASMAP_H +#define HUSH_UTIL_ASMAP_H #include #include @@ -12,4 +12,4 @@ uint32_t Interpret(const std::vector &asmap, const std::vector &ip); bool SanityCheckASMap(const std::vector& asmap, int bits); -#endif // BITCOIN_UTIL_ASMAP_H +#endif // HUSH_UTIL_ASMAP_H diff --git a/src/zmq/zmqabstractnotifier.h b/src/zmq/zmqabstractnotifier.h index ee061c879..d9d3cb0de 100644 --- a/src/zmq/zmqabstractnotifier.h +++ b/src/zmq/zmqabstractnotifier.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H -#define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H +#ifndef HUSH_ZMQ_ZMQABSTRACTNOTIFIER_H +#define HUSH_ZMQ_ZMQABSTRACTNOTIFIER_H #include "zmqconfig.h" @@ -42,4 +42,4 @@ protected: std::string address; }; -#endif // BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H +#endif // HUSH_ZMQ_ZMQABSTRACTNOTIFIER_H diff --git a/src/zmq/zmqconfig.h b/src/zmq/zmqconfig.h index 860fd71c0..e561b0e7b 100644 --- a/src/zmq/zmqconfig.h +++ b/src/zmq/zmqconfig.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_ZMQ_ZMQCONFIG_H -#define BITCOIN_ZMQ_ZMQCONFIG_H +#ifndef HUSH_ZMQ_ZMQCONFIG_H +#define HUSH_ZMQ_ZMQCONFIG_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -21,4 +21,4 @@ void zmqError(const char *str); -#endif // BITCOIN_ZMQ_ZMQCONFIG_H +#endif // HUSH_ZMQ_ZMQCONFIG_H diff --git a/src/zmq/zmqnotificationinterface.h b/src/zmq/zmqnotificationinterface.h index c5ce396af..14542a983 100644 --- a/src/zmq/zmqnotificationinterface.h +++ b/src/zmq/zmqnotificationinterface.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H -#define BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H +#ifndef HUSH_ZMQ_ZMQNOTIFICATIONINTERFACE_H +#define HUSH_ZMQ_ZMQNOTIFICATIONINTERFACE_H #include "validationinterface.h" #include "consensus/validation.h" @@ -36,4 +36,4 @@ private: std::list notifiers; }; -#endif // BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H +#endif // HUSH_ZMQ_ZMQNOTIFICATIONINTERFACE_H diff --git a/src/zmq/zmqpublishnotifier.h b/src/zmq/zmqpublishnotifier.h index 6e5fd3717..d60276187 100644 --- a/src/zmq/zmqpublishnotifier.h +++ b/src/zmq/zmqpublishnotifier.h @@ -2,8 +2,8 @@ // Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H -#define BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H +#ifndef HUSH_ZMQ_ZMQPUBLISHNOTIFIER_H +#define HUSH_ZMQ_ZMQPUBLISHNOTIFIER_H #include "zmqabstractnotifier.h" @@ -58,4 +58,4 @@ public: bool NotifyBlock(const CBlock &block); }; -#endif // BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H +#endif // HUSH_ZMQ_ZMQPUBLISHNOTIFIER_H