diff --git a/src/addressindex.h b/src/addressindex.h index b39f36c12..f3b1f5118 100644 --- a/src/addressindex.h +++ b/src/addressindex.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_ADDRESSINDEX_H -#define BITCOIN_ADDRESSINDEX_H +#ifndef HUSH_ADDRESSINDEX_H +#define HUSH_ADDRESSINDEX_H #include "uint256.h" #include "amount.h" @@ -80,4 +80,4 @@ struct CMempoolAddressDeltaKeyCompare } }; -#endif // BITCOIN_ADDRESSINDEX_H +#endif // HUSH_ADDRESSINDEX_H diff --git a/src/addrman.h b/src/addrman.h index 752abb27c..92051abd1 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_ADDRMAN_H -#define BITCOIN_ADDRMAN_H +#ifndef HUSH_ADDRMAN_H +#define HUSH_ADDRMAN_H #include "netbase.h" #include "protocol.h" @@ -645,4 +645,4 @@ public: }; -#endif // BITCOIN_ADDRMAN_H +#endif // HUSH_ADDRMAN_H diff --git a/src/alert.h b/src/alert.h index 9f10d3781..c1a103c3f 100644 --- a/src/alert.h +++ b/src/alert.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_ALERT_H -#define BITCOIN_ALERT_H +#ifndef HUSH_ALERT_H +#define HUSH_ALERT_H #include "serialize.h" #include "sync.h" @@ -125,4 +125,4 @@ public: static CAlert getAlertByHash(const uint256 &hash); }; -#endif // BITCOIN_ALERT_H +#endif // HUSH_ALERT_H diff --git a/src/alertkeys.h b/src/alertkeys.h index 1c4bcbc2c..f76f9b87e 100644 --- a/src/alertkeys.h +++ b/src/alertkeys.h @@ -14,8 +14,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_ALERTKEYS_H -#define BITCOIN_ALERTKEYS_H +#ifndef HUSH_ALERTKEYS_H +#define HUSH_ALERTKEYS_H // REMINDER: DO NOT COMMIT YOUR PRIVATE KEYS TO THE GIT REPOSITORY, lulz diff --git a/src/amount.h b/src/amount.h index 56eecf78f..e1d66ba96 100644 --- a/src/amount.h +++ b/src/amount.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_AMOUNT_H -#define BITCOIN_AMOUNT_H +#ifndef HUSH_AMOUNT_H +#define HUSH_AMOUNT_H #include "serialize.h" @@ -79,4 +79,4 @@ public: } }; -#endif // BITCOIN_AMOUNT_H +#endif // HUSH_AMOUNT_H diff --git a/src/arith_uint256.h b/src/arith_uint256.h index 437b95c74..dd62241cf 100644 --- a/src/arith_uint256.h +++ b/src/arith_uint256.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_ARITH_UINT256_H -#define BITCOIN_ARITH_UINT256_H +#ifndef HUSH_ARITH_UINT256_H +#define HUSH_ARITH_UINT256_H #include #include @@ -303,4 +303,4 @@ public: uint256 ArithToUint256(const arith_uint256 &); arith_uint256 UintToArith256(const uint256 &); -#endif // BITCOIN_ARITH_UINT256_H +#endif // HUSH_ARITH_UINT256_H diff --git a/src/base58.h b/src/base58.h index 48badc597..6fa3f457f 100644 --- a/src/base58.h +++ b/src/base58.h @@ -26,8 +26,8 @@ * - E-mail usually won't line-break if there's no punctuation to break at. * - Double-clicking selects the whole string as one word if it's all alphanumeric. */ -#ifndef BITCOIN_BASE58_H -#define BITCOIN_BASE58_H +#ifndef HUSH_BASE58_H +#define HUSH_BASE58_H #include "chainparams.h" #include "key.h" @@ -224,4 +224,4 @@ public: typedef CBitcoinExtKeyBase CBitcoinExtKey; typedef CBitcoinExtKeyBase CBitcoinExtPubKey; -#endif // BITCOIN_BASE58_H +#endif // HUSH_BASE58_H diff --git a/src/bech32.h b/src/bech32.h index 081fd2f46..a4751aef0 100644 --- a/src/bech32.h +++ b/src/bech32.h @@ -10,8 +10,8 @@ // // For more information, see BIP 173. -#ifndef BITCOIN_BECH32_H -#define BITCOIN_BECH32_H +#ifndef HUSH_BECH32_H +#define HUSH_BECH32_H #include #include @@ -28,4 +28,4 @@ std::pair> Decode(const std::string& str); } // namespace bech32 -#endif // BITCOIN_BECH32_H +#endif // HUSH_BECH32_H diff --git a/src/bloom.h b/src/bloom.h index 69e507943..22f3bd396 100644 --- a/src/bloom.h +++ b/src/bloom.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_BLOOM_H -#define BITCOIN_BLOOM_H +#ifndef HUSH_BLOOM_H +#define HUSH_BLOOM_H #include "serialize.h" @@ -150,4 +150,4 @@ private: }; -#endif // BITCOIN_BLOOM_H +#endif // HUSH_BLOOM_H diff --git a/src/chain.h b/src/chain.h index f6b6fa11f..3ecc2776e 100644 --- a/src/chain.h +++ b/src/chain.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CHAIN_H -#define BITCOIN_CHAIN_H +#ifndef HUSH_CHAIN_H +#define HUSH_CHAIN_H class CChainPower; @@ -777,4 +777,4 @@ public: const CBlockIndex *FindFork(const CBlockIndex *pindex) const; }; -#endif // BITCOIN_CHAIN_H +#endif // HUSH_CHAIN_H diff --git a/src/chainparams.h b/src/chainparams.h index d56f8d095..f8275ca53 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CHAINPARAMS_H -#define BITCOIN_CHAINPARAMS_H +#ifndef HUSH_CHAINPARAMS_H +#define HUSH_CHAINPARAMS_H #include "chainparamsbase.h" #include "consensus/params.h" @@ -182,4 +182,4 @@ bool SelectParamsFromCommandLine(); */ void UpdateNetworkUpgradeParameters(Consensus::UpgradeIndex idx, int nActivationHeight); -#endif // BITCOIN_CHAINPARAMS_H +#endif // HUSH_CHAINPARAMS_H diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 88e928e14..9379e95b4 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CHAINPARAMSBASE_H -#define BITCOIN_CHAINPARAMSBASE_H +#ifndef HUSH_CHAINPARAMSBASE_H +#define HUSH_CHAINPARAMSBASE_H #include #include @@ -75,4 +75,4 @@ bool SelectBaseParamsFromCommandLine(); */ bool AreBaseParamsConfigured(); -#endif // BITCOIN_CHAINPARAMSBASE_H +#endif // HUSH_CHAINPARAMSBASE_H diff --git a/src/chainparamsseeds.h b/src/chainparamsseeds.h index e3dac3ca6..5d539bbb7 100644 --- a/src/chainparamsseeds.h +++ b/src/chainparamsseeds.h @@ -13,8 +13,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CHAINPARAMSSEEDS_H -#define BITCOIN_CHAINPARAMSSEEDS_H +#ifndef HUSH_CHAINPARAMSSEEDS_H +#define HUSH_CHAINPARAMSSEEDS_H /** * List of fixed seed nodes for the bitcoin network * AUTOGENERATED by contrib/seeds/generate-seeds.py @@ -33,4 +33,4 @@ static SeedSpec6 pnSeed6_main[] = { static SeedSpec6 pnSeed6_test[] = { }; -#endif // BITCOIN_CHAINPARAMSSEEDS_H +#endif // HUSH_CHAINPARAMSSEEDS_H diff --git a/src/checkpoints.h b/src/checkpoints.h index d25db20b4..87cd869b8 100644 --- a/src/checkpoints.h +++ b/src/checkpoints.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CHECKPOINTS_H -#define BITCOIN_CHECKPOINTS_H +#ifndef HUSH_CHECKPOINTS_H +#define HUSH_CHECKPOINTS_H #include "uint256.h" #include "chainparams.h" @@ -57,4 +57,4 @@ double GuessVerificationProgress(const CChainParams::CCheckpointData& data, CBlo } //namespace Checkpoints -#endif // BITCOIN_CHECKPOINTS_H +#endif // HUSH_CHECKPOINTS_H diff --git a/src/checkqueue.h b/src/checkqueue.h index 0480d2cb3..deff2e63a 100644 --- a/src/checkqueue.h +++ b/src/checkqueue.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CHECKQUEUE_H -#define BITCOIN_CHECKQUEUE_H +#ifndef HUSH_CHECKQUEUE_H +#define HUSH_CHECKQUEUE_H #include #include @@ -228,4 +228,4 @@ public: } }; -#endif // BITCOIN_CHECKQUEUE_H +#endif // HUSH_CHECKQUEUE_H diff --git a/src/clientversion.h b/src/clientversion.h index 0a066c7ec..e277e0fd2 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CLIENTVERSION_H -#define BITCOIN_CLIENTVERSION_H +#ifndef HUSH_CLIENTVERSION_H +#define HUSH_CLIENTVERSION_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -86,4 +86,4 @@ std::string FormatSubVersion(const std::string& name, int nClientVersion, const #endif // WINDRES_PREPROC -#endif // BITCOIN_CLIENTVERSION_H +#endif // HUSH_CLIENTVERSION_H diff --git a/src/coincontrol.h b/src/coincontrol.h index 24228d529..952ea2de2 100644 --- a/src/coincontrol.h +++ b/src/coincontrol.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_COINCONTROL_H -#define BITCOIN_COINCONTROL_H +#ifndef HUSH_COINCONTROL_H +#define HUSH_COINCONTROL_H #include "primitives/transaction.h" @@ -78,4 +78,4 @@ private: std::set setSelected; }; -#endif // BITCOIN_COINCONTROL_H +#endif // HUSH_COINCONTROL_H diff --git a/src/coins.h b/src/coins.h index 1c735336c..d5503d4ba 100644 --- a/src/coins.h +++ b/src/coins.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_COINS_H -#define BITCOIN_COINS_H +#ifndef HUSH_COINS_H +#define HUSH_COINS_H #define KOMODO_ENABLE_INTEREST //enabling this is a hardfork, activate with new RR method @@ -604,4 +604,4 @@ private: ); }; -#endif // BITCOIN_COINS_H +#endif // HUSH_COINS_H diff --git a/src/compat.h b/src/compat.h index 25f81eccd..61ac03dd4 100644 --- a/src/compat.h +++ b/src/compat.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_COMPAT_H -#define BITCOIN_COMPAT_H +#ifndef HUSH_COMPAT_H +#define HUSH_COMPAT_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -116,4 +116,4 @@ bool static inline IsSelectableSocket(SOCKET s) { #endif } -#endif // BITCOIN_COMPAT_H +#endif // HUSH_COMPAT_H diff --git a/src/compressor.h b/src/compressor.h index d1b4e9fda..5c6bc4381 100644 --- a/src/compressor.h +++ b/src/compressor.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_COMPRESSOR_H -#define BITCOIN_COMPRESSOR_H +#ifndef HUSH_COMPRESSOR_H +#define HUSH_COMPRESSOR_H #include "primitives/transaction.h" #include "script/script.h" @@ -133,4 +133,4 @@ public: } }; -#endif // BITCOIN_COMPRESSOR_H +#endif // HUSH_COMPRESSOR_H diff --git a/src/core_io.h b/src/core_io.h index 51c7c2a28..cc4445b9a 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_CORE_IO_H -#define BITCOIN_CORE_IO_H +#ifndef HUSH_CORE_IO_H +#define HUSH_CORE_IO_H #include #include @@ -44,4 +44,4 @@ extern std::string EncodeHexTx(const CTransaction& tx); extern void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex); extern void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry); -#endif // BITCOIN_CORE_IO_H +#endif // HUSH_CORE_IO_H diff --git a/src/core_memusage.h b/src/core_memusage.h index bf3ccfaaa..eca1d823b 100644 --- a/src/core_memusage.h +++ b/src/core_memusage.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_CORE_MEMUSAGE_H -#define BITCOIN_CORE_MEMUSAGE_H +#ifndef HUSH_CORE_MEMUSAGE_H +#define HUSH_CORE_MEMUSAGE_H #include "primitives/transaction.h" #include "primitives/block.h" @@ -59,4 +59,4 @@ static inline size_t RecursiveDynamicUsage(const CBlockLocator& locator) { return memusage::DynamicUsage(locator.vHave); } -#endif // BITCOIN_CORE_MEMUSAGE_H +#endif // HUSH_CORE_MEMUSAGE_H diff --git a/src/dbwrapper.h b/src/dbwrapper.h index dedd4fbe1..fb5514340 100644 --- a/src/dbwrapper.h +++ b/src/dbwrapper.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_DBWRAPPER_H -#define BITCOIN_DBWRAPPER_H +#ifndef HUSH_DBWRAPPER_H +#define HUSH_DBWRAPPER_H #include "clientversion.h" #include "serialize.h" @@ -276,5 +276,5 @@ public: bool IsEmpty(); }; -#endif // BITCOIN_DBWRAPPER_H +#endif // HUSH_DBWRAPPER_H diff --git a/src/hash.h b/src/hash.h index 3e912f051..675429512 100644 --- a/src/hash.h +++ b/src/hash.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_HASH_H -#define BITCOIN_HASH_H +#ifndef HUSH_HASH_H +#define HUSH_HASH_H #include "crypto/ripemd160.h" #include "crypto/sha256.h" @@ -234,4 +234,4 @@ unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector #include diff --git a/src/httpserver.h b/src/httpserver.h index f805dcb79..41456ba6d 100644 --- a/src/httpserver.h +++ b/src/httpserver.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_HTTPSERVER_H -#define BITCOIN_HTTPSERVER_H +#ifndef HUSH_HTTPSERVER_H +#define HUSH_HTTPSERVER_H #include #include @@ -152,4 +152,4 @@ private: struct event* ev; }; -#endif // BITCOIN_HTTPSERVER_H +#endif // HUSH_HTTPSERVER_H diff --git a/src/init.h b/src/init.h index 7c273a47f..333b8cafa 100644 --- a/src/init.h +++ b/src/init.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_INIT_H -#define BITCOIN_INIT_H +#ifndef HUSH_INIT_H +#define HUSH_INIT_H #include @@ -49,4 +49,4 @@ enum HelpMessageMode { /** Help for options shared between UI and daemon (for -help) */ std::string HelpMessage(HelpMessageMode mode); -#endif // BITCOIN_INIT_H +#endif // HUSH_INIT_H diff --git a/src/key.h b/src/key.h index 508438daf..fe242f8f5 100644 --- a/src/key.h +++ b/src/key.h @@ -20,8 +20,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_KEY_H -#define BITCOIN_KEY_H +#ifndef HUSH_KEY_H +#define HUSH_KEY_H #include "pubkey.h" #include "serialize.h" @@ -220,4 +220,4 @@ void ECC_Stop(void); /** Check that required EC support is available at runtime. */ bool ECC_InitSanityCheck(void); -#endif // BITCOIN_KEY_H +#endif // HUSH_KEY_H diff --git a/src/key_io.h b/src/key_io.h index ff73f88cb..4ca7aa3de 100644 --- a/src/key_io.h +++ b/src/key_io.h @@ -5,8 +5,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_KEYIO_H -#define BITCOIN_KEYIO_H +#ifndef HUSH_KEYIO_H +#define HUSH_KEYIO_H #include #include @@ -42,4 +42,4 @@ libzcash::ViewingKey DecodeViewingKey(const std::string& str); std::string EncodeSpendingKey(const libzcash::SpendingKey& zkey); libzcash::SpendingKey DecodeSpendingKey(const std::string& str); -#endif // BITCOIN_KEYIO_H +#endif // HUSH_KEYIO_H diff --git a/src/keystore.h b/src/keystore.h index 9c6d07856..a1971b9c8 100644 --- a/src/keystore.h +++ b/src/keystore.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_KEYSTORE_H -#define BITCOIN_KEYSTORE_H +#ifndef HUSH_KEYSTORE_H +#define HUSH_KEYSTORE_H #include "key.h" #include "pubkey.h" @@ -245,4 +245,4 @@ typedef std::map > > Crypt //! Sapling typedef std::map > CryptedSaplingSpendingKeyMap; -#endif // BITCOIN_KEYSTORE_H +#endif // HUSH_KEYSTORE_H diff --git a/src/limitedmap.h b/src/limitedmap.h index 5af7dcd4e..b1b521c86 100644 --- a/src/limitedmap.h +++ b/src/limitedmap.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_LIMITEDMAP_H -#define BITCOIN_LIMITEDMAP_H +#ifndef HUSH_LIMITEDMAP_H +#define HUSH_LIMITEDMAP_H #include #include @@ -91,4 +91,4 @@ public: } }; -#endif // BITCOIN_LIMITEDMAP_H +#endif // HUSH_LIMITEDMAP_H diff --git a/src/main.h b/src/main.h index 4b9efa1e5..f11e88053 100644 --- a/src/main.h +++ b/src/main.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_MAIN_H -#define BITCOIN_MAIN_H +#ifndef HUSH_MAIN_H +#define HUSH_MAIN_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -953,4 +953,4 @@ std::pair>, uint64_t> DrainRecent void SetChainNotifiedSequence(uint64_t recentlyConflictedSequence); bool ChainIsFullyNotified(); -#endif // BITCOIN_MAIN_H +#endif // HUSH_MAIN_H diff --git a/src/memusage.h b/src/memusage.h index 052ddc278..9f97828df 100644 --- a/src/memusage.h +++ b/src/memusage.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_MEMUSAGE_H -#define BITCOIN_MEMUSAGE_H +#ifndef HUSH_MEMUSAGE_H +#define HUSH_MEMUSAGE_H #include diff --git a/src/merkleblock.h b/src/merkleblock.h index cb0165108..1fe1683b9 100644 --- a/src/merkleblock.h +++ b/src/merkleblock.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_MERKLEBLOCK_H -#define BITCOIN_MERKLEBLOCK_H +#ifndef HUSH_MERKLEBLOCK_H +#define HUSH_MERKLEBLOCK_H #include "serialize.h" #include "uint256.h" @@ -168,4 +168,4 @@ public: } }; -#endif // BITCOIN_MERKLEBLOCK_H +#endif // HUSH_MERKLEBLOCK_H diff --git a/src/miner.h b/src/miner.h index 36e0b3fbd..876a57f61 100644 --- a/src/miner.h +++ b/src/miner.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_MINER_H -#define BITCOIN_MINER_H +#ifndef HUSH_MINER_H +#define HUSH_MINER_H #include "primitives/block.h" @@ -66,4 +66,4 @@ void GenerateBitcoins(bool fGenerate, int nThreads); void UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev); -#endif // BITCOIN_MINER_H +#endif // HUSH_MINER_H diff --git a/src/mruset.h b/src/mruset.h index bab4d18bd..e59c4f14c 100644 --- a/src/mruset.h +++ b/src/mruset.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_MRUSET_H -#define BITCOIN_MRUSET_H +#ifndef HUSH_MRUSET_H +#define HUSH_MRUSET_H #include #include @@ -77,4 +77,4 @@ public: size_type max_size() const { return nMaxSize; } }; -#endif // BITCOIN_MRUSET_H +#endif // HUSH_MRUSET_H diff --git a/src/net.h b/src/net.h index 72a13a7e9..fc42c9de2 100644 --- a/src/net.h +++ b/src/net.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_NET_H -#define BITCOIN_NET_H +#ifndef HUSH_NET_H +#define HUSH_NET_H #include "bloom.h" #include "compat.h" @@ -720,4 +720,4 @@ public: bool Read(CAddrMan& addr); }; -#endif // BITCOIN_NET_H +#endif // HUSH_NET_H diff --git a/src/netbase.h b/src/netbase.h index 303c8ae8a..2c7259794 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_NETBASE_H -#define BITCOIN_NETBASE_H +#ifndef HUSH_NETBASE_H +#define HUSH_NETBASE_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -240,4 +240,4 @@ struct timeval MillisToTimeval(int64_t nTimeout); bool SanityCheckASMap(const std::vector& asmap); -#endif // BITCOIN_NETBASE_H +#endif // HUSH_NETBASE_H diff --git a/src/noui.h b/src/noui.h index 9b9cfb60c..8086533b4 100644 --- a/src/noui.h +++ b/src/noui.h @@ -17,9 +17,9 @@ * * ******************************************************************************/ -#ifndef BITCOIN_NOUI_H -#define BITCOIN_NOUI_H +#ifndef HUSH_NOUI_H +#define HUSH_NOUI_H extern void noui_connect(); -#endif // BITCOIN_NOUI_H +#endif // HUSH_NOUI_H diff --git a/src/pow.h b/src/pow.h index a3787c7d5..82e763ee5 100644 --- a/src/pow.h +++ b/src/pow.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_POW_H -#define BITCOIN_POW_H +#ifndef HUSH_POW_H +#define HUSH_POW_H #include "chain.h" #include "consensus/params.h" @@ -47,4 +47,4 @@ CChainPower GetBlockProof(const CBlockIndex& block); /** Return the time it would take to redo the work difference between from and to, assuming the current hashrate corresponds to the difficulty at tip, in seconds. */ int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockIndex& tip, const Consensus::Params&); -#endif // BITCOIN_POW_H +#endif // HUSH_POW_H diff --git a/src/prevector.h b/src/prevector.h index aad4c2717..36066eca2 100644 --- a/src/prevector.h +++ b/src/prevector.h @@ -1,5 +1,5 @@ -#ifndef _BITCOIN_PREVECTOR_H_ -#define _BITCOIN_PREVECTOR_H_ +#ifndef _HUSH_PREVECTOR_H_ +#define _HUSH_PREVECTOR_H_ #include diff --git a/src/pubkey.h b/src/pubkey.h index 80eac2682..842c54026 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_PUBKEY_H -#define BITCOIN_PUBKEY_H +#ifndef HUSH_PUBKEY_H +#define HUSH_PUBKEY_H #include "hash.h" #include "serialize.h" @@ -266,4 +266,4 @@ public: ~ECCVerifyHandle(); }; -#endif // BITCOIN_PUBKEY_H +#endif // HUSH_PUBKEY_H diff --git a/src/random.h b/src/random.h index b781f8541..c51f05b5d 100644 --- a/src/random.h +++ b/src/random.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_RANDOM_H -#define BITCOIN_RANDOM_H +#ifndef HUSH_RANDOM_H +#define HUSH_RANDOM_H #include "uint256.h" @@ -86,4 +86,4 @@ static inline uint32_t insecure_rand(void) return (insecure_rand_Rw << 16) + insecure_rand_Rz; } -#endif // BITCOIN_RANDOM_H +#endif // HUSH_RANDOM_H diff --git a/src/reverselock.h b/src/reverselock.h index e5581e33e..e57dbca59 100644 --- a/src/reverselock.h +++ b/src/reverselock.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_REVERSELOCK_H -#define BITCOIN_REVERSELOCK_H +#ifndef HUSH_REVERSELOCK_H +#define HUSH_REVERSELOCK_H /** * An RAII-style reverse lock. Unlocks on construction and locks on destruction. @@ -46,4 +46,4 @@ private: Lock templock; }; -#endif // BITCOIN_REVERSELOCK_H +#endif // HUSH_REVERSELOCK_H diff --git a/src/scheduler.h b/src/scheduler.h index 8d87654c6..173f23211 100644 --- a/src/scheduler.h +++ b/src/scheduler.h @@ -17,8 +17,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SCHEDULER_H -#define BITCOIN_SCHEDULER_H +#ifndef HUSH_SCHEDULER_H +#define HUSH_SCHEDULER_H // // NOTE: diff --git a/src/serialize.h b/src/serialize.h index 274b6bd47..880373b7e 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -19,8 +19,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SERIALIZE_H -#define BITCOIN_SERIALIZE_H +#ifndef HUSH_SERIALIZE_H +#define HUSH_SERIALIZE_H #include "compat/endian.h" @@ -1117,4 +1117,4 @@ size_t GetSerializeSize(const S& s, const T& t) return (CSizeComputer(s.GetType(), s.GetVersion()) << t).size(); } -#endif // BITCOIN_SERIALIZE_H +#endif // HUSH_SERIALIZE_H diff --git a/src/spentindex.h b/src/spentindex.h index 762b7d4c4..24f266eae 100644 --- a/src/spentindex.h +++ b/src/spentindex.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_SPENTINDEX_H -#define BITCOIN_SPENTINDEX_H +#ifndef HUSH_SPENTINDEX_H +#define HUSH_SPENTINDEX_H #include "uint256.h" #include "amount.h" @@ -95,4 +95,4 @@ struct CSpentIndexKeyCompare } }; -#endif // BITCOIN_SPENTINDEX_H \ No newline at end of file +#endif // HUSH_SPENTINDEX_H \ No newline at end of file diff --git a/src/streams.h b/src/streams.h index 52c20c554..5c22c9bbc 100644 --- a/src/streams.h +++ b/src/streams.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_STREAMS_H -#define BITCOIN_STREAMS_H +#ifndef HUSH_STREAMS_H +#define HUSH_STREAMS_H #include "support/allocators/zeroafterfree.h" #include "serialize.h" @@ -670,4 +670,4 @@ public: } }; -#endif // BITCOIN_STREAMS_H +#endif // HUSH_STREAMS_H diff --git a/src/sync.h b/src/sync.h index 85ee18a14..bdda6d166 100644 --- a/src/sync.h +++ b/src/sync.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_SYNC_H -#define BITCOIN_SYNC_H +#ifndef HUSH_SYNC_H +#define HUSH_SYNC_H #include "threadsafety.h" @@ -293,4 +293,4 @@ public: } }; -#endif // BITCOIN_SYNC_H +#endif // HUSH_SYNC_H diff --git a/src/threadsafety.h b/src/threadsafety.h index ce7e61ef8..58f75ea69 100644 --- a/src/threadsafety.h +++ b/src/threadsafety.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_THREADSAFETY_H -#define BITCOIN_THREADSAFETY_H +#ifndef HUSH_THREADSAFETY_H +#define HUSH_THREADSAFETY_H #ifdef __clang__ // TL;DR Add GUARDED_BY(mutex) to member variables. The others are @@ -52,4 +52,4 @@ #define NO_THREAD_SAFETY_ANALYSIS #endif // __GNUC__ -#endif // BITCOIN_THREADSAFETY_H +#endif // HUSH_THREADSAFETY_H diff --git a/src/timedata.h b/src/timedata.h index 5794b93cf..0c2ed5e72 100644 --- a/src/timedata.h +++ b/src/timedata.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_TIMEDATA_H -#define BITCOIN_TIMEDATA_H +#ifndef HUSH_TIMEDATA_H +#define HUSH_TIMEDATA_H #include #include @@ -36,4 +36,4 @@ public: extern CTimeWarning timeWarning; -#endif // BITCOIN_TIMEDATA_H +#endif // HUSH_TIMEDATA_H diff --git a/src/torcontrol.h b/src/torcontrol.h index 927bdf712..a0d0009a2 100644 --- a/src/torcontrol.h +++ b/src/torcontrol.h @@ -6,8 +6,8 @@ /** * Functionality for communicating with Tor. */ -#ifndef BITCOIN_TORCONTROL_H -#define BITCOIN_TORCONTROL_H +#ifndef HUSH_TORCONTROL_H +#define HUSH_TORCONTROL_H #include "scheduler.h" @@ -18,4 +18,4 @@ void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler); void InterruptTorControl(); void StopTorControl(); -#endif /* BITCOIN_TORCONTROL_H */ +#endif /* HUSH_TORCONTROL_H */ diff --git a/src/ui_interface.h b/src/ui_interface.h index 06e37c9b5..94ed742fa 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.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_UI_INTERFACE_H -#define BITCOIN_UI_INTERFACE_H +#ifndef HUSH_UI_INTERFACE_H +#define HUSH_UI_INTERFACE_H #include #include @@ -105,4 +105,4 @@ public: extern CClientUIInterface uiInterface; -#endif // BITCOIN_UI_INTERFACE_H +#endif // HUSH_UI_INTERFACE_H diff --git a/src/uint256.h b/src/uint256.h index cfd80f4b9..927314962 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -18,8 +18,8 @@ * * ******************************************************************************/ -#ifndef BITCOIN_UINT256_H -#define BITCOIN_UINT256_H +#ifndef HUSH_UINT256_H +#define HUSH_UINT256_H #include #include @@ -174,4 +174,4 @@ inline uint256 uint256S(const std::string& str) return rv; } -#endif // BITCOIN_UINT256_H +#endif // HUSH_UINT256_H diff --git a/src/undo.h b/src/undo.h index a7216f85e..01cb325ad 100644 --- a/src/undo.h +++ b/src/undo.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_UNDO_H -#define BITCOIN_UNDO_H +#ifndef HUSH_UNDO_H +#define HUSH_UNDO_H #include "compressor.h" #include "primitives/transaction.h" @@ -78,4 +78,4 @@ public: } }; -#endif // BITCOIN_UNDO_H +#endif // HUSH_UNDO_H diff --git a/src/util.h b/src/util.h index 7d63ae506..d1e8eaa40 100644 --- a/src/util.h +++ b/src/util.h @@ -23,8 +23,8 @@ * Server/client environment: argument handling, config file parsing, * logging, thread wrappers */ -#ifndef BITCOIN_UTIL_H -#define BITCOIN_UTIL_H +#ifndef HUSH_UTIL_H +#define HUSH_UTIL_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" @@ -295,4 +295,4 @@ void SplitStr(const std::string& strVal, std::vector &outVals); #define HUSH_SMART_CHAIN_MAXLEN 65 -#endif // BITCOIN_UTIL_H +#endif // HUSH_UTIL_H diff --git a/src/utilmoneystr.h b/src/utilmoneystr.h index 0c9c93796..bc3bce2b3 100644 --- a/src/utilmoneystr.h +++ b/src/utilmoneystr.h @@ -6,8 +6,8 @@ /** * Money parsing/formatting utilities. */ -#ifndef BITCOIN_UTILMONEYSTR_H -#define BITCOIN_UTILMONEYSTR_H +#ifndef HUSH_UTILMONEYSTR_H +#define HUSH_UTILMONEYSTR_H #include #include @@ -18,4 +18,4 @@ std::string FormatMoney(const CAmount& n); bool ParseMoney(const std::string& str, CAmount& nRet); bool ParseMoney(const char* pszIn, CAmount& nRet); -#endif // BITCOIN_UTILMONEYSTR_H +#endif // HUSH_UTILMONEYSTR_H diff --git a/src/utilstrencodings.h b/src/utilstrencodings.h index a9bfabb56..fe90b9237 100644 --- a/src/utilstrencodings.h +++ b/src/utilstrencodings.h @@ -6,8 +6,8 @@ /** * Utilities for converting data from/to strings. */ -#ifndef BITCOIN_UTILSTRENCODINGS_H -#define BITCOIN_UTILSTRENCODINGS_H +#ifndef HUSH_UTILSTRENCODINGS_H +#define HUSH_UTILSTRENCODINGS_H #include #include @@ -167,4 +167,4 @@ bool ConvertBits(const O& outfn, I it, I end) { return true; } -#endif // BITCOIN_UTILSTRENCODINGS_H +#endif // HUSH_UTILSTRENCODINGS_H diff --git a/src/utiltime.h b/src/utiltime.h index 4a6127b7c..8c6575844 100644 --- a/src/utiltime.h +++ b/src/utiltime.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_UTILTIME_H -#define BITCOIN_UTILTIME_H +#ifndef HUSH_UTILTIME_H +#define HUSH_UTILTIME_H #include #include @@ -17,4 +17,4 @@ void MilliSleep(int64_t n); std::string DateTimeStrFormat(const char* pszFormat, int64_t nTime); -#endif // BITCOIN_UTILTIME_H +#endif // HUSH_UTILTIME_H diff --git a/src/validationinterface.h b/src/validationinterface.h index 93b40c815..4944e94e7 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.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_VALIDATIONINTERFACE_H -#define BITCOIN_VALIDATIONINTERFACE_H +#ifndef HUSH_VALIDATIONINTERFACE_H +#define HUSH_VALIDATIONINTERFACE_H #include @@ -80,4 +80,4 @@ CMainSignals& GetMainSignals(); void ThreadNotifyWallets(CBlockIndex *pindexLastTip); -#endif // BITCOIN_VALIDATIONINTERFACE_H +#endif // HUSH_VALIDATIONINTERFACE_H