diff --git a/src/activemasternode.h b/src/activemasternode.h index f6c84cc92e811..b6968a1663374 100644 --- a/src/activemasternode.h +++ b/src/activemasternode.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef ACTIVEMASTERNODE_H -#define ACTIVEMASTERNODE_H +#ifndef PIVX_ACTIVEMASTERNODE_H +#define PIVX_ACTIVEMASTERNODE_H #include "key.h" #include "evo/deterministicmns.h" @@ -117,4 +117,4 @@ bool GetActiveMasternodeKeys(CTxIn& vin, Optional& key, CBLSSecretKey& bls // Get active masternode BLS operator keys for DMN bool GetActiveDMNKeys(CBLSSecretKey& key, CTxIn& vin); -#endif +#endif // PIVX_ACTIVEMASTERNODE_H diff --git a/src/addrdb.h b/src/addrdb.h index 5a3a9897a6960..70eb0badf960d 100644 --- a/src/addrdb.h +++ b/src/addrdb.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_ADDRDB_H -#define BITCOIN_ADDRDB_H +#ifndef PIVX_ADDRDB_H +#define PIVX_ADDRDB_H #include "fs.h" #include "serialize.h" @@ -94,4 +94,4 @@ class CBanDB bool Read(banmap_t& banSet); }; -#endif //BITCOIN_ADDRDB_H +#endif // PIVX_ADDRDB_H diff --git a/src/addressbook.h b/src/addressbook.h index 37f15b3018568..0da4027212bea 100644 --- a/src/addressbook.h +++ b/src/addressbook.h @@ -50,4 +50,4 @@ namespace AddressBook { } -#endif //PIVX_ADDRESSBOOK_H +#endif // PIVX_ADDRESSBOOK_H diff --git a/src/addrman.h b/src/addrman.h index 0df5669182e36..d6be84b9a7d08 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_ADDRMAN_H -#define BITCOIN_ADDRMAN_H +#ifndef PIVX_ADDRMAN_H +#define PIVX_ADDRMAN_H #if defined(HAVE_CONFIG_H) #include "config/pivx-config.h" @@ -742,4 +742,4 @@ friend class CAddrManTest; }; -#endif // BITCOIN_ADDRMAN_H +#endif // PIVX_ADDRMAN_H diff --git a/src/amount.h b/src/amount.h index 424df7b9f8752..51d60dcd55b5b 100644 --- a/src/amount.h +++ b/src/amount.h @@ -15,4 +15,4 @@ typedef int64_t CAmount; static const CAmount COIN = 100000000; static const CAmount CENT = 1000000; -#endif // PIVX_AMOUNT_H +#endif // PIVX_AMOUNT_H diff --git a/src/arith_uint256.h b/src/arith_uint256.h index 0f14c17f10c3e..7ae8839eae9a7 100644 --- a/src/arith_uint256.h +++ b/src/arith_uint256.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_ARITH_UINT256_H -#define BITCOIN_ARITH_UINT256_H +#ifndef PIVX_ARITH_UINT256_H +#define PIVX_ARITH_UINT256_H #include #include @@ -385,4 +385,4 @@ arith_uint512 UintToArith512(const uint512 &); const arith_uint256 ARITH_UINT256_ZERO = arith_uint256(); const arith_uint256 ARITH_UINT256_ONE = arith_uint256(1); -#endif // BITCOIN_UINT256_H +#endif // PIVX_ARITH_UINT256_H diff --git a/src/attributes.h b/src/attributes.h index 9d5c1d44a04c5..f614e0eb1a805 100644 --- a/src/attributes.h +++ b/src/attributes.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_ATTRIBUTES_H -#define BITCOIN_ATTRIBUTES_H +#ifndef PIVX_ATTRIBUTES_H +#define PIVX_ATTRIBUTES_H #if defined(__has_cpp_attribute) # if __has_cpp_attribute(nodiscard) @@ -29,4 +29,4 @@ # define LIFETIMEBOUND #endif -#endif // BITCOIN_ATTRIBUTES_H +#endif // PIVX_ATTRIBUTES_H diff --git a/src/base58.h b/src/base58.h index 2d7a520bfccf2..b672701c8cd71 100644 --- a/src/base58.h +++ b/src/base58.h @@ -12,8 +12,8 @@ * - E-mail usually won't line-break if there's no punctuation to break at. * - Double-clicking selects the whole number as one word if it's all alphanumeric. */ -#ifndef BITCOIN_BASE58_H -#define BITCOIN_BASE58_H +#ifndef PIVX_BASE58_H +#define PIVX_BASE58_H #include "attributes.h" #include "chainparams.h" @@ -65,4 +65,4 @@ NODISCARD bool DecodeBase58Check(const char* psz, std::vector& vc */ NODISCARD bool DecodeBase58Check(const std::string& str, std::vector& vchRet, int max_ret_len); -#endif // BITCOIN_BASE58_H +#endif // PIVX_BASE58_H diff --git a/src/bech32.h b/src/bech32.h index 79363b75e9538..a4e28d9f300ed 100644 --- a/src/bech32.h +++ b/src/bech32.h @@ -8,8 +8,9 @@ // 6 characters of which are a checksum. // // For more information, see BIP 173. -#ifndef BITCOIN_BECH32_H -#define BITCOIN_BECH32_H + +#ifndef PIVX_BECH32_H +#define PIVX_BECH32_H #include #include @@ -26,4 +27,4 @@ std::pair> Decode(const std::string& str); } // namespace bech32 -#endif // BITCOIN_BECH32_H +#endif // PIVX_BECH32_H diff --git a/src/bench/bench.h b/src/bench/bench.h index 366dc6e6f4f40..cfdf318c01f6e 100644 --- a/src/bench/bench.h +++ b/src/bench/bench.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_BENCH_BENCH_H -#define BITCOIN_BENCH_BENCH_H +#ifndef PIVX_BENCH_BENCH_H +#define PIVX_BENCH_BENCH_H #include #include @@ -138,4 +138,4 @@ class PlotlyPrinter : public Printer #define BENCHMARK(n, num_iters_for_one_second) \ benchmark::BenchRunner BOOST_PP_CAT(bench_, BOOST_PP_CAT(__LINE__, n))(BOOST_PP_STRINGIZE(n), n, (num_iters_for_one_second)); -#endif // BITCOIN_BENCH_BENCH_H +#endif // PIVX_BENCH_BENCH_H diff --git a/src/bench/data.h b/src/bench/data.h index 3e0524fe2856a..b821e9a2f8f54 100644 --- a/src/bench/data.h +++ b/src/bench/data.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_BENCH_DATA_H -#define BITCOIN_BENCH_DATA_H +#ifndef PIVX_BENCH_DATA_H +#define PIVX_BENCH_DATA_H #include #include @@ -16,4 +16,4 @@ extern const std::vector block2680960; } // namespace data } // namespace benchmark -#endif // BITCOIN_BENCH_DATA_H +#endif // PIVX_BENCH_DATA_H diff --git a/src/bench/perf.h b/src/bench/perf.h index 4f7260b3be369..b6f57414a3a37 100644 --- a/src/bench/perf.h +++ b/src/bench/perf.h @@ -3,8 +3,8 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. /** Functions for measurement of CPU cycles */ -#ifndef H_PERF -#define H_PERF +#ifndef PIVX_BENCH_PERF_H +#define PIVX_BENCH_PERF_H #include @@ -34,4 +34,4 @@ uint64_t perf_cpucycles(void); void perf_init(void); void perf_fini(void); -#endif // H_PERF \ No newline at end of file +#endif // PIVX_BENCH_PERF_H \ No newline at end of file diff --git a/src/bip38.h b/src/bip38.h index f1a81c713cdcb..2b0fe29d4f129 100644 --- a/src/bip38.h +++ b/src/bip38.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_BIP38_H -#define BITCOIN_BIP38_H +#ifndef PIVX_BIP38_H +#define PIVX_BIP38_H #include "pubkey.h" #include "uint256.h" @@ -37,4 +37,4 @@ bool BIP38_Decrypt(std::string strPassphrase, std::string strEncryptedKey, uint2 std::string AddressToBip38Hash(const std::string& address); -#endif // BIP38_H +#endif // PIVX_BIP38_H diff --git a/src/blocksignature.h b/src/blocksignature.h index 84b59dbcf8328..9e942e77920e8 100644 --- a/src/blocksignature.h +++ b/src/blocksignature.h @@ -13,4 +13,4 @@ bool SignBlockWithKey(CBlock& block, const CKey& key); bool SignBlock(CBlock& block, const CKeyStore& keystore); bool CheckBlockSignature(const CBlock& block); -#endif //PIVX_BLOCKSIGNATURE_H +#endif // PIVX_BLOCKSIGNATURE_H diff --git a/src/bloom.h b/src/bloom.h index e4e28043adf90..b5eed71dc375b 100644 --- a/src/bloom.h +++ b/src/bloom.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_BLOOM_H -#define BITCOIN_BLOOM_H +#ifndef PIVX_BLOOM_H +#define PIVX_BLOOM_H #include "serialize.h" @@ -131,4 +131,4 @@ class CRollingBloomFilter int nHashFuncs; }; -#endif // BITCOIN_BLOOM_H +#endif // PIVX_BLOOM_H diff --git a/src/bls/bls_batchverifier.h b/src/bls/bls_batchverifier.h index 3a0da09c9b517..471bd33906657 100644 --- a/src/bls/bls_batchverifier.h +++ b/src/bls/bls_batchverifier.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_CRYPTO_BLS_BATCHVERIFIER_H -#define PIVX_CRYPTO_BLS_BATCHVERIFIER_H +#ifndef PIVX_BLS_BLS_BATCHVERIFIER_H +#define PIVX_BLS_BLS_BATCHVERIFIER_H #include "bls_worker.h" @@ -237,4 +237,4 @@ class CBLSBatchVerifier } }; -#endif // PIVX_CRYPTO_BLS_BATCHVERIFIER_H +#endif // PIVX_BLS_BLS_BATCHVERIFIER_H diff --git a/src/bls/bls_ies.h b/src/bls/bls_ies.h index 79a1c8e4f25d7..19cd4dd441df2 100644 --- a/src/bls/bls_ies.h +++ b/src/bls/bls_ies.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_CRYPTO_BLS_IES_H -#define PIVX_CRYPTO_BLS_IES_H +#ifndef PIVX_BLS_BLS_IES_H +#define PIVX_BLS_BLS_IES_H #include "bls/bls_wrapper.h" #include "streams.h" @@ -156,4 +156,4 @@ class CBLSIESMultiRecipientObjects : public CBLSIESMultiRecipientBlobs } }; -#endif // PIVX_CRYPTO_BLS_IES_H +#endif // PIVX_BLS_BLS_IES_H diff --git a/src/bls/bls_worker.h b/src/bls/bls_worker.h index d2362e4c08498..c61034a36b26d 100644 --- a/src/bls/bls_worker.h +++ b/src/bls/bls_worker.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_CRYPTO_BLS_WORKER_H -#define PIVX_CRYPTO_BLS_WORKER_H +#ifndef PIVX_BLS_BLS_WORKER_H +#define PIVX_BLS_BLS_WORKER_H #include "bls/bls_wrapper.h" #include "ctpl_stl.h" @@ -200,4 +200,4 @@ class CBLSWorkerCache } }; -#endif // PIVX_CRYPTO_BLS_WORKER_H +#endif // PIVX_BLS_BLS_WORKER_H diff --git a/src/bls/bls_wrapper.h b/src/bls/bls_wrapper.h index e612a1d43faf1..8c389fd2fd08d 100644 --- a/src/bls/bls_wrapper.h +++ b/src/bls/bls_wrapper.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_CRYPTO_BLS_H -#define PIVX_CRYPTO_BLS_H +#ifndef PIVX_BLS_BLS_WRAPPER_H +#define PIVX_BLS_BLS_WRAPPER_H #include "hash.h" #include "serialize.h" @@ -419,4 +419,4 @@ typedef std::shared_ptr BLSSignatureVectorPtr; bool BLSInit(); -#endif // PIVX_CRYPTO_BLS_H +#endif // PIVX_BLS_BLS_WRAPPER_H diff --git a/src/bls/key_io.h b/src/bls/key_io.h index c6fdf6873b843..1ce583e7527be 100644 --- a/src/bls/key_io.h +++ b/src/bls/key_io.h @@ -21,4 +21,4 @@ namespace bls { } // end bls namespace -#endif //PIVX_BLS_KEY_IO_H +#endif // PIVX_BLS_KEY_IO_H diff --git a/src/budget/budgetdb.h b/src/budget/budgetdb.h index 46be14006682b..6404d0a71e49d 100644 --- a/src/budget/budgetdb.h +++ b/src/budget/budgetdb.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BUDGET_DB_H -#define BUDGET_DB_H +#ifndef PIVX_BUDGET_BUDGETDB_H +#define PIVX_BUDGET_BUDGETDB_H #include "budget/budgetmanager.h" #include "fs.h" @@ -36,4 +36,4 @@ class CBudgetDB ReadResult Read(CBudgetManager& objToLoad, bool fDryRun = false); }; -#endif // BUDGET_DB_H +#endif // PIVX_BUDGET_BUDGETDB_H diff --git a/src/budget/budgetmanager.h b/src/budget/budgetmanager.h index cbd395b2a3ae5..44dd5a30bfa17 100644 --- a/src/budget/budgetmanager.h +++ b/src/budget/budgetmanager.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BUDGET_MANAGER_H -#define BUDGET_MANAGER_H +#ifndef PIVX_BUDGET_BUDGETMANAGER_H +#define PIVX_BUDGET_BUDGETMANAGER_H #include "budget/budgetproposal.h" #include "budget/finalizedbudget.h" @@ -209,4 +209,4 @@ class CBudgetManager : public CValidationInterface extern CBudgetManager g_budgetman; -#endif // BUDGET_MANAGER_H +#endif // PIVX_BUDGET_BUDGETMANAGER_H diff --git a/src/budget/budgetproposal.h b/src/budget/budgetproposal.h index 1766a9e1564d3..dd3e1e98db83b 100644 --- a/src/budget/budgetproposal.h +++ b/src/budget/budgetproposal.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BUDGET_PROPOSAL_H -#define BUDGET_PROPOSAL_H +#ifndef PIVX_BUDGET_BUDGETPROPOSAL_H +#define PIVX_BUDGET_BUDGETPROPOSAL_H #include "budget/budgetvote.h" #include "net.h" @@ -156,4 +156,4 @@ class CBudgetProposal }; -#endif // BUDGET_PROPOSAL_H +#endif // PIVX_BUDGET_BUDGETPROPOSAL_H diff --git a/src/budget/budgetutil.h b/src/budget/budgetutil.h index 13811aae13bca..d575ee164bba2 100644 --- a/src/budget/budgetutil.h +++ b/src/budget/budgetutil.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_BUDGETUTIL_H -#define PIVX_BUDGETUTIL_H +#ifndef PIVX_BUDGET_BUDGETUTIL_H +#define PIVX_BUDGET_BUDGETUTIL_H #include "uint256.h" #include "budget/budgetvote.h" @@ -24,4 +24,4 @@ UniValue mnLocalBudgetVoteInner(bool fLegacyMN, const uint256& budgetHash, bool UniValue mnBudgetVoteInner(CWallet* const pwallet, bool fLegacyMN, const uint256& budgetHash, bool fFinal, const CBudgetVote::VoteDirection& nVote, const Optional& mnAliasFilter); -#endif //PIVX_BUDGETUTIL_H +#endif // PIVX_BUDGET_BUDGETUTIL_H diff --git a/src/budget/budgetvote.h b/src/budget/budgetvote.h index 6414ae0ad327f..c217f3537665f 100644 --- a/src/budget/budgetvote.h +++ b/src/budget/budgetvote.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BUDGET_VOTE_H -#define BUDGET_VOTE_H +#ifndef PIVX_BUDGET_BUDGETVOTE_H +#define PIVX_BUDGET_BUDGETVOTE_H #include "messagesigner.h" #include "primitives/transaction.h" @@ -68,4 +68,4 @@ class CBudgetVote : public CSignedMessage SERIALIZE_METHODS(CBudgetVote, obj) { READWRITE(obj.vin, obj.nProposalHash, Using>(obj.nVote), obj.nTime, obj.vchSig, obj.nMessVersion); } }; -#endif // BUDGET_VOTE_H +#endif // PIVX_BUDGET_BUDGETVOTE_H diff --git a/src/budget/finalizedbudget.h b/src/budget/finalizedbudget.h index dc928c2340f80..f8ba08ebd2611 100644 --- a/src/budget/finalizedbudget.h +++ b/src/budget/finalizedbudget.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef FINALIZED_BUDGET_H -#define FINALIZED_BUDGET_H +#ifndef PIVX_BUDGET_FINALIZEDBUDGET_H +#define PIVX_BUDGET_FINALIZEDBUDGET_H #include "budget/budgetproposal.h" #include "budget/finalizedbudgetvote.h" @@ -166,4 +166,4 @@ class CTxBudgetPayment }; -#endif +#endif // PIVX_BUDGET_FINALIZEDBUDGET_H diff --git a/src/budget/finalizedbudgetvote.h b/src/budget/finalizedbudgetvote.h index fdad71f39071a..d58b9e8dd02fa 100644 --- a/src/budget/finalizedbudgetvote.h +++ b/src/budget/finalizedbudgetvote.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef FINALIZED_BUDGET_VOTE_H -#define FINALIZED_BUDGET_VOTE_H +#ifndef PIVX_BUDGET_FINALIZEDBUDGETVOTE_H +#define PIVX_BUDGET_FINALIZEDBUDGETVOTE_H #include "messagesigner.h" #include "primitives/transaction.h" @@ -51,4 +51,4 @@ class CFinalizedBudgetVote : public CSignedMessage SERIALIZE_METHODS(CFinalizedBudgetVote, obj) { READWRITE(obj.vin, obj.nBudgetHash, obj.nTime, obj.vchSig, obj.nMessVersion); } }; -#endif // FINALIZED_BUDGET_VOTE_H +#endif // PIVX_BUDGET_FINALIZEDBUDGETVOTE_H diff --git a/src/chain.h b/src/chain.h index bdc4e54901e03..d12f7f73632fa 100644 --- a/src/chain.h +++ b/src/chain.h @@ -7,8 +7,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CHAIN_H -#define BITCOIN_CHAIN_H +#ifndef PIVX_CHAIN_H +#define PIVX_CHAIN_H #include "chainparams.h" #include "flatfile.h" @@ -465,4 +465,4 @@ class CChain CBlockIndex* FindEarliestAtLeast(int64_t nTime) const; }; -#endif // BITCOIN_CHAIN_H +#endif // PIVX_CHAIN_H diff --git a/src/chainparams.h b/src/chainparams.h index 0fd25459c7162..18ef2ceccd682 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -5,8 +5,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CHAINPARAMS_H -#define BITCOIN_CHAINPARAMS_H +#ifndef PIVX_CHAINPARAMS_H +#define PIVX_CHAINPARAMS_H #include "chainparamsbase.h" #include "consensus/params.h" @@ -145,4 +145,4 @@ void SelectParams(const std::string& chain); */ void UpdateNetworkUpgradeParameters(Consensus::UpgradeIndex idx, int nActivationHeight); -#endif // BITCOIN_CHAINPARAMS_H +#endif // PIVX_CHAINPARAMS_H diff --git a/src/chainparamsseeds.h b/src/chainparamsseeds.h index e59547eae3bb9..28804bcd03f6a 100644 --- a/src/chainparamsseeds.h +++ b/src/chainparamsseeds.h @@ -1,5 +1,5 @@ -#ifndef BITCOIN_CHAINPARAMSSEEDS_H -#define BITCOIN_CHAINPARAMSSEEDS_H +#ifndef PIVX_CHAINPARAMSSEEDS_H +#define PIVX_CHAINPARAMSSEEDS_H /** * List of fixed seed nodes for the PIVX network * AUTOGENERATED by contrib/seeds/generate-seeds.py @@ -349,4 +349,4 @@ static const uint8_t chainparams_seed_test[] = { 0x04,0x20,0xa0,0x57,0x5a,0x42,0xfd,0xad,0x78,0x23,0x67,0x15,0xd1,0x69,0x52,0x24,0xc1,0xdf,0x2b,0x32,0x6a,0xd4,0x64,0xf2,0xbc,0xed,0xf9,0x7f,0x36,0xc6,0x26,0x02,0xe2,0xf4,0xc9,0x12, 0x04,0x20,0xbf,0x31,0x2d,0xcd,0x4b,0x8e,0x06,0x84,0xef,0xae,0xfb,0x3f,0x7e,0x17,0x41,0x03,0x9c,0xb6,0x12,0xdb,0x87,0x3b,0x1f,0x8e,0xab,0x78,0xd5,0x9a,0x39,0xc6,0x28,0x76,0xc9,0x12, }; -#endif // BITCOIN_CHAINPARAMSSEEDS_H +#endif // PIVX_CHAINPARAMSSEEDS_H diff --git a/src/checkpoints.h b/src/checkpoints.h index 3b884b24b20f7..251f0c085a6ac 100644 --- a/src/checkpoints.h +++ b/src/checkpoints.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CHECKPOINTS_H -#define BITCOIN_CHECKPOINTS_H +#ifndef PIVX_CHECKPOINTS_H +#define PIVX_CHECKPOINTS_H #include "uint256.h" @@ -12,7 +12,7 @@ class CBlockIndex; -/** +/** * Block-chain checkpoints are compiled-in sanity checks. * They are updated every release or three. */ @@ -31,4 +31,4 @@ extern bool fEnabled; } //namespace Checkpoints -#endif // BITCOIN_CHECKPOINTS_H +#endif // PIVX_CHECKPOINTS_H diff --git a/src/checkqueue.h b/src/checkqueue.h index 78f7f1b4d97e2..3e892ef91c382 100644 --- a/src/checkqueue.h +++ b/src/checkqueue.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_CHECKQUEUE_H -#define BITCOIN_CHECKQUEUE_H +#ifndef PIVX_CHECKQUEUE_H +#define PIVX_CHECKQUEUE_H #include #include @@ -206,4 +206,4 @@ class CCheckQueueControl } }; -#endif // BITCOIN_CHECKQUEUE_H +#endif // PIVX_CHECKQUEUE_H diff --git a/src/clientversion.h b/src/clientversion.h index 0a8da0df2fa96..418435404e1d5 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CLIENTVERSION_H -#define BITCOIN_CLIENTVERSION_H +#ifndef PIVX_CLIENTVERSION_H +#define PIVX_CLIENTVERSION_H #if defined(HAVE_CONFIG_H) #include "config/pivx-config.h" @@ -54,4 +54,4 @@ std::string FormatVersionFriendly(); #endif // WINDRES_PREPROC -#endif // BITCOIN_CLIENTVERSION_H +#endif // PIVX_CLIENTVERSION_H diff --git a/src/coincontrol.h b/src/coincontrol.h index 29208b961e4d6..43056b5a37ef1 100644 --- a/src/coincontrol.h +++ b/src/coincontrol.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_COINCONTROL_H -#define BITCOIN_COINCONTROL_H +#ifndef PIVX_COINCONTROL_H +#define PIVX_COINCONTROL_H #include "optional.h" #include "policy/feerate.h" @@ -109,4 +109,4 @@ class CCoinControl std::unordered_set setSelected; }; -#endif // BITCOIN_COINCONTROL_H +#endif // PIVX_COINCONTROL_H diff --git a/src/coins.h b/src/coins.h index f3c7b5f67cffc..8d8ba90113efe 100644 --- a/src/coins.h +++ b/src/coins.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_COINS_H -#define BITCOIN_COINS_H +#ifndef PIVX_COINS_H +#define PIVX_COINS_H #include "compressor.h" #include "consensus/consensus.h" // can be removed once policy/ established @@ -450,4 +450,4 @@ void AddCoins(CCoinsViewCache& cache, const CTransaction& tx, int nHeight, bool //! Utility function to find any unspent output with a given txid. const Coin& AccessByTxid(const CCoinsViewCache& cache, const uint256& txid); -#endif // BITCOIN_COINS_H +#endif // PIVX_COINS_H diff --git a/src/compat.h b/src/compat.h index da8ae5565596e..757d563bed0ea 100644 --- a/src/compat.h +++ b/src/compat.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_COMPAT_H -#define BITCOIN_COMPAT_H +#ifndef PIVX_COMPAT_H +#define PIVX_COMPAT_H #if defined(HAVE_CONFIG_H) #include "config/pivx-config.h" @@ -114,4 +114,4 @@ bool static inline IsSelectableSocket(const SOCKET& s) { #endif } -#endif // BITCOIN_COMPAT_H +#endif // PIVX_COMPAT_H diff --git a/src/compat/byteswap.h b/src/compat/byteswap.h index fca962f8c5e56..21bde45aa09f6 100644 --- a/src/compat/byteswap.h +++ b/src/compat/byteswap.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_COMPAT_BYTESWAP_H -#define BITCOIN_COMPAT_BYTESWAP_H +#ifndef PIVX_COMPAT_BYTESWAP_H +#define PIVX_COMPAT_BYTESWAP_H #if defined(HAVE_CONFIG_H) #include @@ -56,4 +56,4 @@ inline uint64_t bswap_64(uint64_t x) #endif // defined(MAC_OSX) -#endif // BITCOIN_COMPAT_BYTESWAP_H +#endif // PIVX_COMPAT_BYTESWAP_H diff --git a/src/compat/cpuid.h b/src/compat/cpuid.h index 34ef9bb27f553..a74af13670d48 100644 --- a/src/compat/cpuid.h +++ b/src/compat/cpuid.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_COMPAT_CPUID_H -#define BITCOIN_COMPAT_CPUID_H +#ifndef PIVX_COMPAT_CPUID_H +#define PIVX_COMPAT_CPUID_H #if defined(__x86_64__) || defined(__amd64__) || defined(__i386__) #define HAVE_GETCPUID @@ -21,4 +21,4 @@ void static inline GetCPUID(uint32_t leaf, uint32_t subleaf, uint32_t& a, uint32 } #endif // defined(__x86_64__) || defined(__amd64__) || defined(__i386__) -#endif // BITCOIN_COMPAT_CPUID_H +#endif // PIVX_COMPAT_CPUID_H diff --git a/src/compat/endian.h b/src/compat/endian.h index df05e029a6c1b..8116599aed76e 100644 --- a/src/compat/endian.h +++ b/src/compat/endian.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_COMPAT_ENDIAN_H -#define BITCOIN_COMPAT_ENDIAN_H +#ifndef PIVX_COMPAT_ENDIAN_H +#define PIVX_COMPAT_ENDIAN_H #if defined(HAVE_CONFIG_H) #include @@ -238,4 +238,4 @@ inline uint64_t le64toh(uint64_t little_endian_64bits) #endif // WORDS_BIGENDIAN -#endif // BITCOIN_COMPAT_ENDIAN_H +#endif // PIVX_COMPAT_ENDIAN_H diff --git a/src/compat/sanity.h b/src/compat/sanity.h index 909c4f6da82ff..0db8ca70d2d29 100644 --- a/src/compat/sanity.h +++ b/src/compat/sanity.h @@ -2,10 +2,10 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_COMPAT_SANITY_H -#define BITCOIN_COMPAT_SANITY_H +#ifndef PIVX_COMPAT_SANITY_H +#define PIVX_COMPAT_SANITY_H bool glibc_sanity_test(); bool glibcxx_sanity_test(); -#endif // BITCOIN_COMPAT_SANITY_H +#endif // PIVX_COMPAT_SANITY_H diff --git a/src/compressor.h b/src/compressor.h index 598d5a02988ca..be04524cc407f 100644 --- a/src/compressor.h +++ b/src/compressor.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_COMPRESSOR_H -#define BITCOIN_COMPRESSOR_H +#ifndef PIVX_COMPRESSOR_H +#define PIVX_COMPRESSOR_H #include "primitives/transaction.h" #include "script/script.h" @@ -94,4 +94,4 @@ struct TxOutCompression FORMATTER_METHODS(CTxOut, obj) { READWRITE(Using(obj.nValue), Using(obj.scriptPubKey)); } }; -#endif // BITCOIN_COMPRESSOR_H +#endif // PIVX_COMPRESSOR_H diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h index 971a3dc5b861f..f1fddc600169a 100644 --- a/src/consensus/consensus.h +++ b/src/consensus/consensus.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CONSENSUS_CONSENSUS_H -#define BITCOIN_CONSENSUS_CONSENSUS_H +#ifndef PIVX_CONSENSUS_CONSENSUS_H +#define PIVX_CONSENSUS_CONSENSUS_H #include "amount.h" #include @@ -40,4 +40,4 @@ static constexpr unsigned int LOCKTIME_VERIFY_SEQUENCE = (1 << 0); /** Use GetMedianTimePast() instead of nTime for end point timestamp. */ static constexpr unsigned int LOCKTIME_MEDIAN_TIME_PAST = (1 << 1); -#endif // BITCOIN_CONSENSUS_CONSENSUS_H +#endif // PIVX_CONSENSUS_CONSENSUS_H diff --git a/src/consensus/merkle.h b/src/consensus/merkle.h index 65a039de24c76..8a90abfb28087 100644 --- a/src/consensus/merkle.h +++ b/src/consensus/merkle.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_MERKLE -#define BITCOIN_MERKLE +#ifndef PIVX_CONSENSUS_MERKLE_H +#define PIVX_CONSENSUS_MERKLE_H #include #include @@ -29,4 +29,4 @@ uint256 BlockMerkleRoot(const CBlock& block, bool* mutated = nullptr); */ std::vector BlockMerkleBranch(const CBlock& block, uint32_t position); -#endif \ No newline at end of file +#endif // PIVX_CONSENSUS_MERKLE_H \ No newline at end of file diff --git a/src/consensus/params.h b/src/consensus/params.h index 7e89ada6ae197..fb93f00fbb1d1 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CONSENSUS_PARAMS_H -#define BITCOIN_CONSENSUS_PARAMS_H +#ifndef PIVX_CONSENSUS_PARAMS_H +#define PIVX_CONSENSUS_PARAMS_H #include "amount.h" #include "libzerocoin/Params.h" @@ -282,4 +282,4 @@ struct Params { }; } // namespace Consensus -#endif // BITCOIN_CONSENSUS_PARAMS_H +#endif // PIVX_CONSENSUS_PARAMS_H diff --git a/src/consensus/tx_verify.h b/src/consensus/tx_verify.h index 649c15e32b0b5..1a60a943fd79f 100644 --- a/src/consensus/tx_verify.h +++ b/src/consensus/tx_verify.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_TX_VERIFY_H -#define BITCOIN_CONSENSUS_TX_VERIFY_H +#ifndef PIVX_CONSENSUS_TX_VERIFY_H +#define PIVX_CONSENSUS_TX_VERIFY_H #include "chainparams.h" #include "primitives/transaction.h" @@ -45,4 +45,4 @@ unsigned int GetP2SHSigOpCount(const CTransaction& tx, const CCoinsViewCache& ma */ bool IsFinalTx(const CTransactionRef& tx, int nBlockHeight, int64_t nBlockTime = 0); -#endif // BITCOIN_CONSENSUS_TX_VERIFY_H +#endif // PIVX_CONSENSUS_TX_VERIFY_H diff --git a/src/consensus/validation.h b/src/consensus/validation.h index 5ee1037849e4b..8e6469fafbb75 100644 --- a/src/consensus/validation.h +++ b/src/consensus/validation.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CONSENSUS_VALIDATION_H -#define BITCOIN_CONSENSUS_VALIDATION_H +#ifndef PIVX_CONSENSUS_VALIDATION_H +#define PIVX_CONSENSUS_VALIDATION_H #include @@ -96,4 +96,4 @@ class CValidationState int GetDoSScore() const { return nDoS; } }; -#endif // BITCOIN_CONSENSUS_VALIDATION_H +#endif // PIVX_CONSENSUS_VALIDATION_H diff --git a/src/consensus/zerocoin_verify.h b/src/consensus/zerocoin_verify.h index 7f232849fed15..b64beeaa05be6 100644 --- a/src/consensus/zerocoin_verify.h +++ b/src/consensus/zerocoin_verify.h @@ -34,4 +34,4 @@ bool ParseAndValidateZerocoinSpends(const Consensus::Params& consensus, CValidationState& state, std::vector>& vSpendsRet); -#endif //PIVX_CONSENSUS_ZEROCOIN_VERIFY_H +#endif // PIVX_CONSENSUS_ZEROCOIN_VERIFY_H diff --git a/src/core_io.h b/src/core_io.h index 33a7ed5bb3fe1..25765080ff76d 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CORE_IO_H -#define BITCOIN_CORE_IO_H +#ifndef PIVX_CORE_IO_H +#define PIVX_CORE_IO_H #include #include @@ -32,4 +32,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 // PIVX_CORE_IO_H diff --git a/src/crypter.h b/src/crypter.h index ceb1488ac8216..769872e047007 100644 --- a/src/crypter.h +++ b/src/crypter.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CRYPTER_H -#define BITCOIN_CRYPTER_H +#ifndef PIVX_CRYPTER_H +#define PIVX_CRYPTER_H #include "keystore.h" #include "serialize.h" @@ -175,4 +175,4 @@ class CCryptoKeyStore : public CBasicKeyStore boost::signals2::signal NotifyStatusChanged; }; -#endif // BITCOIN_CRYPTER_H +#endif // PIVX_CRYPTER_H diff --git a/src/crypto/aes.h b/src/crypto/aes.h index 8cae357c1287e..3b852c1bedc68 100644 --- a/src/crypto/aes.h +++ b/src/crypto/aes.h @@ -4,8 +4,8 @@ // // C++ wrapper around ctaes, a constant-time AES implementation -#ifndef BITCOIN_CRYPTO_AES_H -#define BITCOIN_CRYPTO_AES_H +#ifndef PIVX_CRYPTO_AES_H +#define PIVX_CRYPTO_AES_H extern "C" { #include "crypto/ctaes/ctaes.h" @@ -115,4 +115,4 @@ class AES128CBCDecrypt unsigned char iv[AES_BLOCKSIZE]; }; -#endif // BITCOIN_CRYPTO_AES_H +#endif // PIVX_CRYPTO_AES_H diff --git a/src/crypto/chacha20.h b/src/crypto/chacha20.h index 5a4674f4a8afe..58f62cbe29666 100644 --- a/src/crypto/chacha20.h +++ b/src/crypto/chacha20.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_CRYPTO_CHACHA20_H -#define BITCOIN_CRYPTO_CHACHA20_H +#ifndef PIVX_CRYPTO_CHACHA20_H +#define PIVX_CRYPTO_CHACHA20_H #include #include @@ -31,4 +31,4 @@ class ChaCha20 void Crypt(const unsigned char* input, unsigned char* output, size_t bytes); }; -#endif // BITCOIN_CRYPTO_CHACHA20_H +#endif // PIVX_CRYPTO_CHACHA20_H diff --git a/src/crypto/common.h b/src/crypto/common.h index 7c4e09939c8d9..277285589cc7b 100644 --- a/src/crypto/common.h +++ b/src/crypto/common.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_CRYPTO_COMMON_H -#define BITCOIN_CRYPTO_COMMON_H +#ifndef PIVX_CRYPTO_COMMON_H +#define PIVX_CRYPTO_COMMON_H #if defined(HAVE_CONFIG_H) #include @@ -107,4 +107,4 @@ uint64_t static inline CountBits(uint64_t x) return ret; } -#endif // BITCOIN_CRYPTO_COMMON_H \ No newline at end of file +#endif // PIVX_CRYPTO_COMMON_H \ No newline at end of file diff --git a/src/crypto/hmac_sha256.h b/src/crypto/hmac_sha256.h index 0c2ed9e66f60a..213d45d36b6eb 100644 --- a/src/crypto/hmac_sha256.h +++ b/src/crypto/hmac_sha256.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_CRYPTO_HMAC_SHA256_H -#define BITCOIN_CRYPTO_HMAC_SHA256_H +#ifndef PIVX_CRYPTO_HMAC_SHA256_H +#define PIVX_CRYPTO_HMAC_SHA256_H #include "crypto/sha256.h" @@ -29,4 +29,4 @@ class CHMAC_SHA256 void Finalize(unsigned char hash[OUTPUT_SIZE]); }; -#endif // BITCOIN_CRYPTO_HMAC_SHA256_H +#endif // PIVX_CRYPTO_HMAC_SHA256_H diff --git a/src/crypto/hmac_sha512.h b/src/crypto/hmac_sha512.h index 17d75021aa2c7..8d2dde173f651 100644 --- a/src/crypto/hmac_sha512.h +++ b/src/crypto/hmac_sha512.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_CRYPTO_HMAC_SHA512_H -#define BITCOIN_CRYPTO_HMAC_SHA512_H +#ifndef PIVX_CRYPTO_HMAC_SHA512_H +#define PIVX_CRYPTO_HMAC_SHA512_H #include "crypto/sha512.h" @@ -29,4 +29,4 @@ class CHMAC_SHA512 void Finalize(unsigned char hash[OUTPUT_SIZE]); }; -#endif // BITCOIN_CRYPTO_HMAC_SHA512_H +#endif // PIVX_CRYPTO_HMAC_SHA512_H diff --git a/src/crypto/rfc6979_hmac_sha256.h b/src/crypto/rfc6979_hmac_sha256.h index e67ddcf8fe570..deb22e16c3624 100644 --- a/src/crypto/rfc6979_hmac_sha256.h +++ b/src/crypto/rfc6979_hmac_sha256.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_RFC6979_HMAC_SHA256_H -#define BITCOIN_RFC6979_HMAC_SHA256_H +#ifndef PIVX_CRYPTO_RFC6979_HMAC_SHA256_H +#define PIVX_CRYPTO_RFC6979_HMAC_SHA256_H #include "crypto/hmac_sha256.h" @@ -33,4 +33,4 @@ class RFC6979_HMAC_SHA256 ~RFC6979_HMAC_SHA256(); }; -#endif // BITCOIN_RFC6979_HMAC_SHA256_H +#endif // PIVX_CRYPTO_RFC6979_HMAC_SHA256_H diff --git a/src/crypto/ripemd160.h b/src/crypto/ripemd160.h index f468ec67227cc..802ac60174726 100644 --- a/src/crypto/ripemd160.h +++ b/src/crypto/ripemd160.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_CRYPTO_RIPEMD160_H -#define BITCOIN_CRYPTO_RIPEMD160_H +#ifndef PIVX_CRYPTO_RIPEMD160_H +#define PIVX_CRYPTO_RIPEMD160_H #include #include @@ -25,4 +25,4 @@ class CRIPEMD160 CRIPEMD160& Reset(); }; -#endif // BITCOIN_CRYPTO_RIPEMD160_H +#endif // PIVX_CRYPTO_RIPEMD160_H diff --git a/src/crypto/scrypt.h b/src/crypto/scrypt.h index 68f07acad5aa2..59ee1f5047f4c 100644 --- a/src/crypto/scrypt.h +++ b/src/crypto/scrypt.h @@ -1,9 +1,11 @@ -#ifndef SCRYPT_H -#define SCRYPT_H +#ifndef PIVX_CRYPTO_SCRYPT_H +#define PIVX_CRYPTO_SCRYPT_H + + #include #include #include void scrypt(const char* pass, unsigned int pLen, const char* salt, unsigned int sLen, char *output, unsigned int N, unsigned int r, unsigned int p, unsigned int dkLen); -#endif +#endif // PIVX_CRYPTO_SCRYPT_H diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h index e28f98decdb5c..4d15fa61edc24 100644 --- a/src/crypto/sha1.h +++ b/src/crypto/sha1.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_CRYPTO_SHA1_H -#define BITCOIN_CRYPTO_SHA1_H +#ifndef PIVX_CRYPTO_SHA1_H +#define PIVX_CRYPTO_SHA1_H #include #include @@ -25,4 +25,4 @@ class CSHA1 CSHA1& Reset(); }; -#endif // BITCOIN_CRYPTO_SHA1_H +#endif // PIVX_CRYPTO_SHA1_H diff --git a/src/crypto/sha256.h b/src/crypto/sha256.h index 83457583a1d46..2fad8978587b2 100644 --- a/src/crypto/sha256.h +++ b/src/crypto/sha256.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_CRYPTO_SHA256_H -#define BITCOIN_CRYPTO_SHA256_H +#ifndef PIVX_CRYPTO_SHA256_H +#define PIVX_CRYPTO_SHA256_H #include #include @@ -26,4 +26,4 @@ class CSHA256 CSHA256& Reset(); }; -#endif // BITCOIN_CRYPTO_SHA256_H +#endif // PIVX_CRYPTO_SHA256_H diff --git a/src/crypto/sha3.h b/src/crypto/sha3.h index 88d8c1204d957..268e8c8510596 100644 --- a/src/crypto/sha3.h +++ b/src/crypto/sha3.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_CRYPTO_SHA3_H -#define BITCOIN_CRYPTO_SHA3_H +#ifndef PIVX_CRYPTO_SHA3_H +#define PIVX_CRYPTO_SHA3_H #include @@ -38,4 +38,4 @@ class SHA3_256 SHA3_256& Reset(); }; -#endif // BITCOIN_CRYPTO_SHA3_H +#endif // PIVX_CRYPTO_SHA3_H diff --git a/src/crypto/sha512.h b/src/crypto/sha512.h index 404f8e6632cb8..7da922a2a87cc 100644 --- a/src/crypto/sha512.h +++ b/src/crypto/sha512.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_CRYPTO_SHA512_H -#define BITCOIN_CRYPTO_SHA512_H +#ifndef PIVX_CRYPTO_SHA512_H +#define PIVX_CRYPTO_SHA512_H #include #include @@ -25,4 +25,4 @@ class CSHA512 CSHA512& Reset(); }; -#endif // BITCOIN_CRYPTO_SHA512_H +#endif // PIVX_CRYPTO_SHA512_H diff --git a/src/crypto/siphash.h b/src/crypto/siphash.h index f95d013cb6613..65eaf3d71e12b 100644 --- a/src/crypto/siphash.h +++ b/src/crypto/siphash.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_CRYPTO_SIPHASH_H -#define BITCOIN_CRYPTO_SIPHASH_H +#ifndef PIVX_CRYPTO_SIPHASH_H +#define PIVX_CRYPTO_SIPHASH_H #include "uint256.h" @@ -44,4 +44,4 @@ class CSipHasher uint64_t SipHashUint256(uint64_t k0, uint64_t k1, const uint256& val); uint64_t SipHashUint256Extra(uint64_t k0, uint64_t k1, const uint256& val, uint32_t extra); -#endif // BITCOIN_CRYPTO_SIPHASH_H +#endif // PIVX_CRYPTO_SIPHASH_H diff --git a/src/cuckoocache.h b/src/cuckoocache.h index a2d92455837df..3ad78ed7f398a 100644 --- a/src/cuckoocache.h +++ b/src/cuckoocache.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_CUCKOOCACHE_H -#define BITCOIN_CUCKOOCACHE_H +#ifndef PIVX_CUCKOOCACHE_H +#define PIVX_CUCKOOCACHE_H #include #include @@ -454,4 +454,4 @@ class cache }; } // namespace CuckooCache -#endif // BITCOIN_CUCKOOCACHE_H +#endif // PIVX_CUCKOOCACHE_H diff --git a/src/dbwrapper.h b/src/dbwrapper.h index 7b11826f20d63..31cb6a2d3f87e 100644 --- a/src/dbwrapper.h +++ b/src/dbwrapper.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_DBWRAPPER_H -#define BITCOIN_DBWRAPPER_H +#ifndef PIVX_DBWRAPPER_H +#define PIVX_DBWRAPPER_H #include "clientversion.h" #include "fs.h" @@ -719,4 +719,4 @@ class CDBTransaction { } }; -#endif // BITCOIN_DBWRAPPER_H +#endif // PIVX_DBWRAPPER_H diff --git a/src/destination_io.h b/src/destination_io.h index 63a95d6862203..726df33458076 100644 --- a/src/destination_io.h +++ b/src/destination_io.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef DESTINATION_IO_H -#define DESTINATION_IO_H +#ifndef PIVX_DESTINATION_IO_H +#define PIVX_DESTINATION_IO_H #include "chainparams.h" #include "script/standard.h" @@ -48,4 +48,4 @@ class Destination { std::string ToString() const; }; -#endif //DESTINATION_IO_H +#endif // PIVX_DESTINATION_IO_H diff --git a/src/evo/deterministicmns.h b/src/evo/deterministicmns.h index ac42f525638ba..e2c981f86dd8d 100644 --- a/src/evo/deterministicmns.h +++ b/src/evo/deterministicmns.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_DETERMINISTICMNS_H -#define PIVX_DETERMINISTICMNS_H +#ifndef PIVX_EVO_DETERMINISTICMNS_H +#define PIVX_EVO_DETERMINISTICMNS_H #include "arith_uint256.h" #include "bls/bls_wrapper.h" @@ -601,4 +601,4 @@ class CDeterministicMNManager extern std::unique_ptr deterministicMNManager; -#endif //PIVX_DETERMINISTICMNS_H +#endif // PIVX_EVO_DETERMINISTICMNS_H diff --git a/src/evo/evodb.h b/src/evo/evodb.h index b5bf1ce6a6a33..5eb5ccd6c6a5e 100644 --- a/src/evo/evodb.h +++ b/src/evo/evodb.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_EVODB_H -#define PIVX_EVODB_H +#ifndef PIVX_EVO_EVODB_H +#define PIVX_EVO_EVODB_H #include "dbwrapper.h" #include "sync.h" @@ -110,4 +110,4 @@ class CEvoDB extern std::unique_ptr evoDb; -#endif//PIVX_EVODB_H +#endif // PIVX_EVO_EVODB_H diff --git a/src/evo/evonotificationinterface.h b/src/evo/evonotificationinterface.h index 0033902974c7b..f0d9a6c5d6f19 100644 --- a/src/evo/evonotificationinterface.h +++ b/src/evo/evonotificationinterface.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 EVONOTIFICATIONINTERFACE_H -#define EVONOTIFICATIONINTERFACE_H +#ifndef PIVX_EVO_EVONOTIFICATIONINTERFACE_H +#define PIVX_EVO_EVONOTIFICATIONINTERFACE_H #include "validationinterface.h" @@ -22,4 +22,4 @@ class EvoNotificationInterface : public CValidationInterface void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff) override; }; -#endif // EVONOTIFICATIONINTERFACE_H +#endif // PIVX_EVO_EVONOTIFICATIONINTERFACE_H diff --git a/src/evo/providertx.h b/src/evo/providertx.h index 4362aaf4e356f..1f28b18229948 100644 --- a/src/evo/providertx.h +++ b/src/evo/providertx.h @@ -2,8 +2,8 @@ // Copyright (c) 2021 The PIVX Core developers // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_PROVIDERTX_H -#define PIVX_PROVIDERTX_H +#ifndef PIVX_EVO_PROVIDERTX_H +#define PIVX_EVO_PROVIDERTX_H #include "bls/bls_wrapper.h" #include "netaddress.h" @@ -172,4 +172,4 @@ class ProUpRevPL // If tx is a ProRegTx, return the collateral outpoint in outRet. bool GetProRegCollateral(const CTransactionRef& tx, COutPoint& outRet); -#endif //PIVX_PROVIDERTX_H +#endif // PIVX_EVO_PROVIDERTX_H diff --git a/src/evo/specialtx_validation.h b/src/evo/specialtx_validation.h index 9525a748be15a..960ae8b3cf6e4 100644 --- a/src/evo/specialtx_validation.h +++ b/src/evo/specialtx_validation.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_SPECIALTX_H -#define PIVX_SPECIALTX_H +#ifndef PIVX_EVO_SPECIALTX_VALIDATION_H +#define PIVX_EVO_SPECIALTX_VALIDATION_H #include "llmq/quorums_commitment.h" #include "validation.h" // cs_main needed by CheckLLMQCommitment (!TODO: remove) @@ -41,4 +41,4 @@ uint256 CalcTxInputsHash(const CTransaction& tx); template bool GetValidatedTxPayload(const CTransaction& tx, T& obj, CValidationState& state); -#endif // PIVX_SPECIALTX_H +#endif // PIVX_EVO_SPECIALTX_VALIDATION_H diff --git a/src/flatdb.h b/src/flatdb.h index 0aae2cb8236c5..10206fa2f8ab1 100644 --- a/src/flatdb.h +++ b/src/flatdb.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_FLAT_DATABASE_H -#define PIVX_FLAT_DATABASE_H +#ifndef PIVX_FLATDB_H +#define PIVX_FLATDB_H #include "chainparams.h" #include "clientversion.h" @@ -180,4 +180,4 @@ class CFlatDB }; -#endif // PIVX_FLAT_DATABASE_H +#endif // PIVX_FLATDB_H diff --git a/src/flatfile.h b/src/flatfile.h index 36d5cda6eef10..636f287e6737a 100644 --- a/src/flatfile.h +++ b/src/flatfile.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_FLATFILE_H -#define BITCOIN_FLATFILE_H +#ifndef PIVX_FLATFILE_H +#define PIVX_FLATFILE_H #include @@ -87,4 +87,4 @@ class FlatFileSeq bool Flush(const FlatFilePos& pos, bool finalize = false); }; -#endif // BITCOIN_FLATFILE_H +#endif // PIVX_FLATFILE_H diff --git a/src/fs.h b/src/fs.h index f386ea13b0e6a..37ae077fa2e14 100644 --- a/src/fs.h +++ b/src/fs.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_FS_H -#define BITCOIN_FS_H +#ifndef PIVX_FS_H +#define PIVX_FS_H #include #include @@ -94,4 +94,4 @@ namespace fsbridge { #endif // WIN32 && __GLIBCXX__ }; -#endif // BITCOIN_FS_H +#endif // PIVX_FS_H diff --git a/src/guiinterface.h b/src/guiinterface.h index 99e0ddb964d21..7685ae82aef8c 100644 --- a/src/guiinterface.h +++ b/src/guiinterface.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_GUIINTERFACE_H -#define BITCOIN_GUIINTERFACE_H +#ifndef PIVX_GUIINTERFACE_H +#define PIVX_GUIINTERFACE_H #include #include @@ -113,4 +113,4 @@ class CClientUIInterface extern CClientUIInterface uiInterface; -#endif // BITCOIN_GUIINTERFACE_H +#endif // PIVX_GUIINTERFACE_H diff --git a/src/guiinterfaceutil.h b/src/guiinterfaceutil.h index 72ac2bca86e60..b9be2ed44603d 100644 --- a/src/guiinterfaceutil.h +++ b/src/guiinterfaceutil.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef GUIINTERFACEUTIL_H -#define GUIINTERFACEUTIL_H +#ifndef PIVX_GUIINTERFACEUTIL_H +#define PIVX_GUIINTERFACEUTIL_H #include "guiinterface.h" #include "tinyformat.h" @@ -26,4 +26,4 @@ inline static std::string AmountErrMsg(const char * const optname, const std::st return strprintf(_("Invalid amount for -%s=: '%s'"), optname, strValue); } -#endif //GUIINTERFACEUTIL_H +#endif // PIVX_GUIINTERFACEUTIL_H diff --git a/src/httprpc.h b/src/httprpc.h index d35445718871e..2f7a9c1d01532 100644 --- a/src/httprpc.h +++ b/src/httprpc.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_HTTPRPC_H -#define BITCOIN_HTTPRPC_H +#ifndef PIVX_HTTPRPC_H +#define PIVX_HTTPRPC_H #include #include @@ -34,4 +34,4 @@ void InterruptREST(); */ void StopREST(); -#endif +#endif // PIVX_HTTPRPC_H diff --git a/src/indirectmap.h b/src/indirectmap.h index af8f23b46fc4d..97680e6095963 100644 --- a/src/indirectmap.h +++ b/src/indirectmap.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_INDIRECTMAP_H -#define BITCOIN_INDIRECTMAP_H +#ifndef PIVX_INDIRECTMAP_H +#define PIVX_INDIRECTMAP_H #include @@ -55,4 +55,4 @@ class indirectmap { const_iterator cend() const { return m.cend(); } }; -#endif // BITCOIN_INDIRECTMAP_H +#endif // PIVX_INDIRECTMAP_H diff --git a/src/init.h b/src/init.h index b0f02c28e069f..29ffaad8e36d1 100644 --- a/src/init.h +++ b/src/init.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_INIT_H -#define BITCOIN_INIT_H +#ifndef PIVX_INIT_H +#define PIVX_INIT_H #include @@ -60,4 +60,4 @@ std::string HelpMessage(HelpMessageMode mode); /** Returns licensing information (for -version) */ std::string LicenseInfo(); -#endif // BITCOIN_INIT_H +#endif // PIVX_INIT_H diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index f9781d3e08f02..d7fd197cfc498 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -51,4 +51,4 @@ class Wallet { } // namespace interfaces -#endif // BITCOIN_INTERFACES_WALLET_H +#endif // PIVX_INTERFACES_WALLET_H diff --git a/src/invalid.h b/src/invalid.h index 3e12351f8d36b..fefe76fcfed97 100644 --- a/src/invalid.h +++ b/src/invalid.h @@ -21,4 +21,4 @@ namespace invalid_out bool LoadOutpoints(); } -#endif //PIVX_INVALID_H +#endif // PIVX_INVALID_H diff --git a/src/invalid_outpoints.json.h b/src/invalid_outpoints.json.h index 871fad99a7675..5b221e194ebd1 100644 --- a/src/invalid_outpoints.json.h +++ b/src/invalid_outpoints.json.h @@ -4,6 +4,7 @@ #ifndef PIVX_INVALID_OUTPOINTS_JSON_H #define PIVX_INVALID_OUTPOINTS_JSON_H + #include std::string LoadInvalidOutPoints() @@ -157,4 +158,4 @@ std::string LoadInvalidOutPoints() return str; } -#endif //PIVX_INVALID_OUTPOINTS_JSON_H +#endif // PIVX_INVALID_OUTPOINTS_JSON_H diff --git a/src/key_io.h b/src/key_io.h index 8eeb807eeb13c..fe277d0e5f161 100644 --- a/src/key_io.h +++ b/src/key_io.h @@ -38,4 +38,4 @@ namespace KeyIO { } -#endif //PIVX_KEY_IO_H +#endif // PIVX_KEY_IO_H diff --git a/src/keystore.h b/src/keystore.h index 5ecba8c3aa50d..e2e3f7e5e187f 100644 --- a/src/keystore.h +++ b/src/keystore.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_KEYSTORE_H -#define BITCOIN_KEYSTORE_H +#ifndef PIVX_KEYSTORE_H +#define PIVX_KEYSTORE_H #include "key.h" #include "pubkey.h" @@ -156,4 +156,4 @@ typedef std::map > > Crypt //! Sapling typedef std::map > CryptedSaplingSpendingKeyMap; -#endif // BITCOIN_KEYSTORE_H +#endif // PIVX_KEYSTORE_H diff --git a/src/legacy/stakemodifier.h b/src/legacy/stakemodifier.h index 3ef2aff590736..174320b80ab1a 100644 --- a/src/legacy/stakemodifier.h +++ b/src/legacy/stakemodifier.h @@ -5,8 +5,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_LEGACY_MODIFIER_H -#define PIVX_LEGACY_MODIFIER_H +#ifndef PIVX_LEGACY_STAKEMODIFIER_H +#define PIVX_LEGACY_STAKEMODIFIER_H #include "chain.h" #include "stakeinput.h" @@ -15,4 +15,4 @@ bool GetOldStakeModifier(CStakeInput* stake, uint64_t& nStakeModifier); bool ComputeNextStakeModifier(const CBlockIndex* pindexPrev, uint64_t& nStakeModifier, bool& fGeneratedStakeModifier); -#endif // PIVX_LEGACY_MODIFIER_H +#endif // PIVX_LEGACY_STAKEMODIFIER_H diff --git a/src/legacy/validation_zerocoin_legacy.h b/src/legacy/validation_zerocoin_legacy.h index 432363837a1e4..3d68314a2c4b4 100644 --- a/src/legacy/validation_zerocoin_legacy.h +++ b/src/legacy/validation_zerocoin_legacy.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef VALIDATION_ZEROCOIN_LEGACY_H -#define VALIDATION_ZEROCOIN_LEGACY_H +#ifndef PIVX_LEGACY_VALIDATION_ZEROCOIN_LEGACY_H +#define PIVX_LEGACY_VALIDATION_ZEROCOIN_LEGACY_H #include "amount.h" #include "primitives/transaction.h" @@ -13,4 +13,4 @@ bool DisconnectZerocoinTx(const CTransaction& tx); void CacheAccChecksum(const CBlockIndex* pindex, bool fWrite); -#endif //VALIDATION_ZEROCOIN_LEGACY_H +#endif // PIVX_LEGACY_VALIDATION_ZEROCOIN_LEGACY_H diff --git a/src/libzerocoin/Coin.h b/src/libzerocoin/Coin.h index 041b923b529cc..9d2423d1e81fc 100644 --- a/src/libzerocoin/Coin.h +++ b/src/libzerocoin/Coin.h @@ -11,8 +11,9 @@ **/ // Copyright (c) 2017-2021 The PIVX Core developers -#ifndef COIN_H_ -#define COIN_H_ +#ifndef PIVX_LIBZEROCOIN_COIN_H +#define PIVX_LIBZEROCOIN_COIN_H + #include "Denominations.h" #include "Params.h" #include "amount.h" @@ -84,4 +85,4 @@ class PublicCoin }; } /* namespace libzerocoin */ -#endif /* COIN_H_ */ +#endif // PIVX_LIBZEROCOIN_COIN_H diff --git a/src/libzerocoin/CoinRandomnessSchnorrSignature.h b/src/libzerocoin/CoinRandomnessSchnorrSignature.h index 7752aac1f8a13..2635e70bb91c2 100644 --- a/src/libzerocoin/CoinRandomnessSchnorrSignature.h +++ b/src/libzerocoin/CoinRandomnessSchnorrSignature.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef COINRANDOMNESSPROOF_H_ -#define COINRANDOMNESSPROOF_H_ +#ifndef PIVX_LIBZEROCOIN_COINRANDOMNESSSCHNORRSIGNATURE_H +#define PIVX_LIBZEROCOIN_COINRANDOMNESSSCHNORRSIGNATURE_H #include "Params.h" #include "Coin.h" @@ -47,4 +47,4 @@ class CoinRandomnessSchnorrSignature { }; } /* namespace libzerocoin */ -#endif /* COINRANDOMNESSPROOF_H_ */ +#endif // PIVX_LIBZEROCOIN_COINRANDOMNESSSCHNORRSIGNATURE_H diff --git a/src/libzerocoin/CoinSpend.h b/src/libzerocoin/CoinSpend.h index 994968b697d51..d8174c2547eb5 100644 --- a/src/libzerocoin/CoinSpend.h +++ b/src/libzerocoin/CoinSpend.h @@ -11,8 +11,8 @@ **/ // Copyright (c) 2017-2021 The PIVX Core developers -#ifndef COINSPEND_H_ -#define COINSPEND_H_ +#ifndef PIVX_LIBZEROCOIN_COINSPEND_H +#define PIVX_LIBZEROCOIN_COINSPEND_H #include #include @@ -140,4 +140,4 @@ class CoinSpend }; } /* namespace libzerocoin */ -#endif /* COINSPEND_H_ */ +#endif // PIVX_LIBZEROCOIN_COINSPEND_H diff --git a/src/libzerocoin/Commitment.h b/src/libzerocoin/Commitment.h index 7bb54e31a099b..f909bb9358f7a 100644 --- a/src/libzerocoin/Commitment.h +++ b/src/libzerocoin/Commitment.h @@ -11,8 +11,8 @@ **/ // Copyright (c) 2017-2021 The PIVX Core developers -#ifndef COMMITMENT_H_ -#define COMMITMENT_H_ +#ifndef PIVX_LIBZEROCOIN_COMMITMENT_H +#define PIVX_LIBZEROCOIN_COMMITMENT_H #include "Params.h" #include "serialize.h" @@ -57,4 +57,4 @@ class Commitment { SERIALIZE_METHODS(Commitment, obj) { READWRITE(obj.commitmentValue, obj.randomness, obj.contents); } }; } /* namespace libzerocoin */ -#endif /* COMMITMENT_H_ */ +#endif // PIVX_LIBZEROCOIN_COMMITMENT_H diff --git a/src/libzerocoin/Denominations.h b/src/libzerocoin/Denominations.h index 31534f868fdbe..ca20d0eb86f7a 100644 --- a/src/libzerocoin/Denominations.h +++ b/src/libzerocoin/Denominations.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 DENOMINATIONS_H_ -#define DENOMINATIONS_H_ +#ifndef PIVX_LIBZEROCOIN_DENOMINATIONS_H +#define PIVX_LIBZEROCOIN_DENOMINATIONS_H #include #include @@ -38,4 +38,4 @@ CoinDenomination get_denomination(std::string denomAmount); int64_t get_amount(std::string denomAmount); } /* namespace libzerocoin */ -#endif /* DENOMINATIONS_H_ */ +#endif // PIVX_LIBZEROCOIN_DENOMINATIONS_H diff --git a/src/libzerocoin/ParamGeneration.h b/src/libzerocoin/ParamGeneration.h index 3ceddc4d86982..9033c4b98adf2 100644 --- a/src/libzerocoin/ParamGeneration.h +++ b/src/libzerocoin/ParamGeneration.h @@ -9,8 +9,8 @@ /// \license This project is released under the MIT license. // Copyright (c) 2017-2021 The PIVX Core developers -#ifndef PARAMGENERATION_H_ -#define PARAMGENERATION_H_ +#ifndef PIVX_LIBZEROCOIN_PARAMGENERATION_H +#define PIVX_LIBZEROCOIN_PARAMGENERATION_H #include "Params.h" @@ -46,4 +46,4 @@ CBigNum generateRandomPrime(uint32_t primeBitLen, const arith_uint25 CBigNum generateIntegerFromSeed(uint32_t numBits, const arith_uint256& seed, uint32_t *numIterations); }/* namespace libzerocoin */ -#endif /* PARAMGENERATION_H_ */ +#endif // PIVX_LIBZEROCOIN_PARAMGENERATION_H diff --git a/src/libzerocoin/Params.h b/src/libzerocoin/Params.h index 1660926003b4b..9b87817e2da11 100644 --- a/src/libzerocoin/Params.h +++ b/src/libzerocoin/Params.h @@ -11,8 +11,8 @@ **/ // Copyright (c) 2017-2021 The PIVX Core developers -#ifndef PARAMS_H_ -#define PARAMS_H_ +#ifndef PIVX_LIBZEROCOIN_PARAMS_H +#define PIVX_LIBZEROCOIN_PARAMS_H #include "bignum.h" #include "ZerocoinDefines.h" @@ -196,4 +196,4 @@ class ZerocoinParams { } /* namespace libzerocoin */ -#endif /* PARAMS_H_ */ +#endif // PIVX_LIBZEROCOIN_PARAMS_H diff --git a/src/libzerocoin/SpendType.h b/src/libzerocoin/SpendType.h index 4941112325cf9..9d15157b8a52e 100644 --- a/src/libzerocoin/SpendType.h +++ b/src/libzerocoin/SpendType.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 PIVX_SPENDTYPE_H -#define PIVX_SPENDTYPE_H +#ifndef PIVX_LIBZEROCOIN_SPENDTYPE_H +#define PIVX_LIBZEROCOIN_SPENDTYPE_H #include @@ -16,4 +16,4 @@ namespace libzerocoin { }; } -#endif //PIVX_SPENDTYPE_H +#endif // PIVX_LIBZEROCOIN_SPENDTYPE_H diff --git a/src/libzerocoin/ZerocoinDefines.h b/src/libzerocoin/ZerocoinDefines.h index 2e99c383b4a42..f42eaf1afbe31 100644 --- a/src/libzerocoin/ZerocoinDefines.h +++ b/src/libzerocoin/ZerocoinDefines.h @@ -11,8 +11,8 @@ **/ // Copyright (c) 2017 The PIVX Core developers -#ifndef ZEROCOIN_DEFINES_H_ -#define ZEROCOIN_DEFINES_H_ +#ifndef PIVX_LIBZEROCOIN_ZEROCOINDEFINES_H +#define PIVX_LIBZEROCOIN_ZEROCOINDEFINES_H #include @@ -38,4 +38,4 @@ // to timing attacks. Turn off if an attacker can measure coin minting time. #define ZEROCOIN_FAST_MINT 1 -#endif /* ZEROCOIN_H_ */ +#endif // PIVX_LIBZEROCOIN_ZEROCOINDEFINES_H diff --git a/src/libzerocoin/bignum.h b/src/libzerocoin/bignum.h index 6ca45555908b1..70da11b0e9326 100755 --- a/src/libzerocoin/bignum.h +++ b/src/libzerocoin/bignum.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_BIGNUM_H -#define BITCOIN_BIGNUM_H +#ifndef PIVX_LIBZEROCOIN_BIGNUM_H +#define PIVX_LIBZEROCOIN_BIGNUM_H #if defined HAVE_CONFIG_H #include "config/pivx-config.h" @@ -234,4 +234,4 @@ const CBigNum BN_ONE = CBigNum(1); const CBigNum BN_TWO = CBigNum(2); const CBigNum BN_THREE = CBigNum(3); -#endif // BITCOIN_BIGNUM_H +#endif // PIVX_LIBZEROCOIN_BIGNUM_H diff --git a/src/limitedmap.h b/src/limitedmap.h index 76b91966cbee7..5af2be122c7f1 100644 --- a/src/limitedmap.h +++ b/src/limitedmap.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_LIMITEDMAP_H -#define BITCOIN_LIMITEDMAP_H +#ifndef PIVX_LIMITEDMAP_H +#define PIVX_LIMITEDMAP_H #include #include @@ -92,4 +92,4 @@ class limitedmap } }; -#endif // BITCOIN_LIMITEDMAP_H +#endif // PIVX_LIMITEDMAP_H diff --git a/src/llmq/quorums.h b/src/llmq/quorums.h index 9b61f3e3161d3..e31d01f4efb51 100644 --- a/src/llmq/quorums.h +++ b/src/llmq/quorums.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_H -#define PIVX_QUORUMS_H +#ifndef PIVX_LLMQ_QUORUMS_H +#define PIVX_LLMQ_QUORUMS_H #include "bls/bls_worker.h" #include "bls/bls_wrapper.h" @@ -118,4 +118,4 @@ class CQuorumManager extern std::unique_ptr quorumManager; } // namespace llmq -#endif // PIVX_QUORUMS_H +#endif // PIVX_LLMQ_QUORUMS_H diff --git a/src/llmq/quorums_blockprocessor.h b/src/llmq/quorums_blockprocessor.h index 526d1c5057bb9..e116c9b6803d6 100644 --- a/src/llmq/quorums_blockprocessor.h +++ b/src/llmq/quorums_blockprocessor.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_LLMQ_BLOCKPROCESSOR_H -#define PIVX_LLMQ_BLOCKPROCESSOR_H +#ifndef PIVX_LLMQ_QUORUMS_BLOCKPROCESSOR_H +#define PIVX_LLMQ_QUORUMS_BLOCKPROCESSOR_H #include "consensus/params.h" #include "llmq/quorums_commitment.h" @@ -74,4 +74,4 @@ extern std::unique_ptr quorumBlockProcessor; } // namespace llmq -#endif // PIVX_LLMQ_BLOCKPROCESSOR_H +#endif // PIVX_LLMQ_QUORUMS_BLOCKPROCESSOR_H diff --git a/src/llmq/quorums_chainlocks.h b/src/llmq/quorums_chainlocks.h index 237312d427284..6bec3b132803a 100644 --- a/src/llmq/quorums_chainlocks.h +++ b/src/llmq/quorums_chainlocks.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_CHAINLOCKS_H -#define PIVX_QUORUMS_CHAINLOCKS_H +#ifndef PIVX_LLMQ_QUORUMS_CHAINLOCKS_H +#define PIVX_LLMQ_QUORUMS_CHAINLOCKS_H #include "llmq/quorums.h" #include "llmq/quorums_signing.h" @@ -95,4 +95,4 @@ class CChainLocksHandler : public CRecoveredSigsListener extern std::unique_ptr chainLocksHandler; } -#endif //PIVX_QUORUMS_CHAINLOCKS_H \ No newline at end of file +#endif // PIVX_LLMQ_QUORUMS_CHAINLOCKS_H \ No newline at end of file diff --git a/src/llmq/quorums_commitment.h b/src/llmq/quorums_commitment.h index 054448c321b8b..5e5a253ea9542 100644 --- a/src/llmq/quorums_commitment.h +++ b/src/llmq/quorums_commitment.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_COMMITMENT_H -#define PIVX_QUORUMS_COMMITMENT_H +#ifndef PIVX_LLMQ_QUORUMS_COMMITMENT_H +#define PIVX_LLMQ_QUORUMS_COMMITMENT_H #include "bls/bls_wrapper.h" #include "consensus/params.h" @@ -88,4 +88,4 @@ class LLMQCommPL } // namespace llmq -#endif // PIVX_QUORUMS_COMMITMENT_H +#endif // PIVX_LLMQ_QUORUMS_COMMITMENT_H diff --git a/src/llmq/quorums_connections.h b/src/llmq/quorums_connections.h index a42ad4c7b5537..32b73b5f8dc81 100644 --- a/src/llmq/quorums_connections.h +++ b/src/llmq/quorums_connections.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_CONNECTIONS_H -#define PIVX_QUORUMS_CONNECTIONS_H +#ifndef PIVX_LLMQ_QUORUMS_CONNECTIONS_H +#define PIVX_LLMQ_QUORUMS_CONNECTIONS_H #include "consensus/params.h" #include "quorums.h" @@ -29,4 +29,4 @@ void AddQuorumProbeConnections(Consensus::LLMQType llmqType, const CBlockIndex* } // namespace llmq -#endif // PIVX_QUORUMS_CONNECTIONS_H +#endif // PIVX_LLMQ_QUORUMS_CONNECTIONS_H diff --git a/src/llmq/quorums_debug.h b/src/llmq/quorums_debug.h index 2e45130e38ba0..12b9e1f96b64b 100644 --- a/src/llmq/quorums_debug.h +++ b/src/llmq/quorums_debug.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_DEBUG_H -#define PIVX_QUORUMS_DEBUG_H +#ifndef PIVX_LLMQ_QUORUMS_DEBUG_H +#define PIVX_LLMQ_QUORUMS_DEBUG_H #include "consensus/params.h" #include "sync.h" @@ -110,4 +110,4 @@ extern std::unique_ptr quorumDKGDebugManager; } // namespace llmq -#endif //PIVX_QUORUMS_DEBUG_H +#endif // PIVX_LLMQ_QUORUMS_DEBUG_H diff --git a/src/llmq/quorums_dkgsession.h b/src/llmq/quorums_dkgsession.h index 9425064b11b8b..7340ee34edd2b 100644 --- a/src/llmq/quorums_dkgsession.h +++ b/src/llmq/quorums_dkgsession.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_DKGSESSION_H -#define PIVX_QUORUMS_DKGSESSION_H +#ifndef PIVX_LLMQ_QUORUMS_DKGSESSION_H +#define PIVX_LLMQ_QUORUMS_DKGSESSION_H #include "bls/bls_ies.h" #include "bls/bls_worker.h" @@ -342,4 +342,4 @@ bool SetSimulatedDKGErrorRate(const std::string& error_type, double rate); } -#endif //PIVX_QUORUMS_DKGSESSION_H +#endif // PIVX_LLMQ_QUORUMS_DKGSESSION_H diff --git a/src/llmq/quorums_dkgsessionhandler.h b/src/llmq/quorums_dkgsessionhandler.h index 9e5180c3e7cc4..5b212daa4db6b 100644 --- a/src/llmq/quorums_dkgsessionhandler.h +++ b/src/llmq/quorums_dkgsessionhandler.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_DKGSESSIONHANDLER_H -#define PIVX_QUORUMS_DKGSESSIONHANDLER_H +#ifndef PIVX_LLMQ_QUORUMS_DKGSESSIONHANDLER_H +#define PIVX_LLMQ_QUORUMS_DKGSESSIONHANDLER_H #include "ctpl_stl.h" #include "llmq/quorums_dkgsession.h" @@ -147,4 +147,4 @@ class CDKGSessionHandler } -#endif //PIVX_QUORUMS_DKGSESSIONHANDLER_H +#endif // PIVX_LLMQ_QUORUMS_DKGSESSIONHANDLER_H diff --git a/src/llmq/quorums_dkgsessionmgr.h b/src/llmq/quorums_dkgsessionmgr.h index 9dc02aa4c311f..bbe078343861e 100644 --- a/src/llmq/quorums_dkgsessionmgr.h +++ b/src/llmq/quorums_dkgsessionmgr.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_DKGSESSIONMGR_H -#define PIVX_QUORUMS_DKGSESSIONMGR_H +#ifndef PIVX_LLMQ_QUORUMS_DKGSESSIONMGR_H +#define PIVX_LLMQ_QUORUMS_DKGSESSIONMGR_H #include "ctpl_stl.h" #include "llmq/quorums_dkgsessionhandler.h" @@ -74,4 +74,4 @@ extern std::unique_ptr quorumDKGSessionManager; } -#endif //PIVX_QUORUMS_DKGSESSIONMGR_H +#endif // PIVX_LLMQ_QUORUMS_DKGSESSIONMGR_H diff --git a/src/llmq/quorums_init.h b/src/llmq/quorums_init.h index 756e1744ff56c..cc56b5ff7c5c7 100644 --- a/src/llmq/quorums_init.h +++ b/src/llmq/quorums_init.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_LLMQ_INIT_H -#define PIVX_LLMQ_INIT_H +#ifndef PIVX_LLMQ_QUORUMS_INIT_H +#define PIVX_LLMQ_QUORUMS_INIT_H #include "scheduler.h" @@ -25,4 +25,4 @@ void InterruptLLMQSystem(); } // namespace llmq -#endif // PIVX_LLMQ_INIT_H +#endif // PIVX_LLMQ_QUORUMS_INIT_H diff --git a/src/llmq/quorums_signing.h b/src/llmq/quorums_signing.h index c76a4a3e8b2b2..45e3938c2d888 100644 --- a/src/llmq/quorums_signing.h +++ b/src/llmq/quorums_signing.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_SIGNING_H -#define PIVX_QUORUMS_SIGNING_H +#ifndef PIVX_LLMQ_QUORUMS_SIGNING_H +#define PIVX_LLMQ_QUORUMS_SIGNING_H #include "llmq/quorums.h" @@ -180,4 +180,4 @@ extern std::unique_ptr quorumSigningManager; } // namespace llmq -#endif // PIVX_QUORUMS_SIGNING_H \ No newline at end of file +#endif // PIVX_LLMQ_QUORUMS_SIGNING_H \ No newline at end of file diff --git a/src/llmq/quorums_signing_shares.h b/src/llmq/quorums_signing_shares.h index 23e403517b846..1397a2dbdb8ae 100644 --- a/src/llmq/quorums_signing_shares.h +++ b/src/llmq/quorums_signing_shares.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_QUORUMS_SIGNING_SHARES_H -#define PIVX_QUORUMS_SIGNING_SHARES_H +#ifndef PIVX_LLMQ_QUORUMS_SIGNING_SHARES_H +#define PIVX_LLMQ_QUORUMS_SIGNING_SHARES_H #include "chainparams.h" #include "consensus/params.h" @@ -231,4 +231,4 @@ extern std::unique_ptr quorumSigSharesManager; } // namespace llmq -#endif // PIVX_QUORUMS_SIGNING_SHARES_H +#endif // PIVX_LLMQ_QUORUMS_SIGNING_SHARES_H diff --git a/src/llmq/quorums_utils.h b/src/llmq/quorums_utils.h index 025547f39e83b..8c056a988009f 100644 --- a/src/llmq/quorums_utils.h +++ b/src/llmq/quorums_utils.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 PIVX_QUORUMS_UTILS_H -#define PIVX_QUORUMS_UTILS_H +#ifndef PIVX_LLMQ_QUORUMS_UTILS_H +#define PIVX_LLMQ_QUORUMS_UTILS_H #include "consensus/params.h" #include "unordered_lru_cache.h" @@ -68,4 +68,4 @@ void InitQuorumsCache(CacheType& cache); } // namespace llmq -#endif // PIVX_QUORUMS_UTILS_H +#endif // PIVX_LLMQ_QUORUMS_UTILS_H diff --git a/src/mapport.h b/src/mapport.h index cd011ccb58db2..5c0e452aa2c54 100644 --- a/src/mapport.h +++ b/src/mapport.h @@ -28,4 +28,4 @@ void StartMapPort(bool use_upnp, bool use_natpmp); void InterruptMapPort(); void StopMapPort(); -#endif //PIVX_MAPPORT_H +#endif // PIVX_MAPPORT_H diff --git a/src/masternode-payments.h b/src/masternode-payments.h index 17be8863b7152..9c09b80d70639 100644 --- a/src/masternode-payments.h +++ b/src/masternode-payments.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef MASTERNODE_PAYMENTS_H -#define MASTERNODE_PAYMENTS_H +#ifndef PIVX_MASTERNODE_PAYMENTS_H +#define PIVX_MASTERNODE_PAYMENTS_H #include "key.h" #include "masternode.h" @@ -258,5 +258,4 @@ class CMasternodePayments : public CValidationInterface void RecordWinnerVote(const COutPoint& outMasternode, int nBlockHeight); }; - -#endif +#endif // PIVX_MASTERNODE_PAYMENTS_H diff --git a/src/masternode-sync.h b/src/masternode-sync.h index 111935fdf4d3a..447bcd51e17a0 100644 --- a/src/masternode-sync.h +++ b/src/masternode-sync.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef MASTERNODE_SYNC_H -#define MASTERNODE_SYNC_H +#ifndef PIVX_MASTERNODE_SYNC_H +#define PIVX_MASTERNODE_SYNC_H #include "net.h" // for NodeId #include "uint256.h" @@ -100,4 +100,4 @@ class CMasternodeSync void syncTimeout(const std::string& reason); }; -#endif +#endif // PIVX_MASTERNODE_SYNC_H diff --git a/src/masternode.h b/src/masternode.h index b56affb32b2a1..0bcad4ab83946 100644 --- a/src/masternode.h +++ b/src/masternode.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef MASTERNODE_H -#define MASTERNODE_H +#ifndef PIVX_MASTERNODE_H +#define PIVX_MASTERNODE_H #include "key_io.h" #include "key.h" @@ -279,4 +279,4 @@ class CMasternodeBroadcast : public CMasternode // Returns a shared pointer to a masternode object initialized from a DMN. MasternodeRef MakeMasternodeRefForDMN(const CDeterministicMNCPtr& dmn); -#endif +#endif // PIVX_MASTERNODE_H diff --git a/src/masternodeconfig.h b/src/masternodeconfig.h index 7d8b025bd2b69..d51c3ab939d20 100644 --- a/src/masternodeconfig.h +++ b/src/masternodeconfig.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef SRC_MASTERNODECONFIG_H_ -#define SRC_MASTERNODECONFIG_H_ +#ifndef PIVX_MASTERNODECONFIG_H +#define PIVX_MASTERNODECONFIG_H #include "sync.h" #include @@ -62,4 +62,4 @@ class CMasternodeConfig }; -#endif /* SRC_MASTERNODECONFIG_H_ */ +#endif // PIVX_MASTERNODECONFIG_H diff --git a/src/masternodeman.h b/src/masternodeman.h index 6f7c8f21a0e81..995d30defbc9b 100644 --- a/src/masternodeman.h +++ b/src/masternodeman.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef MASTERNODEMAN_H -#define MASTERNODEMAN_H +#ifndef PIVX_MASTERNODEMAN_H +#define PIVX_MASTERNODEMAN_H #include "activemasternode.h" #include "cyclingvector.h" @@ -197,4 +197,4 @@ class CMasternodeMan void ThreadCheckMasternodes(); -#endif +#endif // PIVX_MASTERNODEMAN_H diff --git a/src/memusage.h b/src/memusage.h index 822299c7217bf..36be6f785e517 100644 --- a/src/memusage.h +++ b/src/memusage.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_MEMUSAGE_H -#define BITCOIN_MEMUSAGE_H +#ifndef PIVX_MEMUSAGE_H +#define PIVX_MEMUSAGE_H #include "indirectmap.h" #include "prevector.h" @@ -243,4 +243,4 @@ static inline size_t RecursiveDynamicUsage(const std::shared_ptr& p) } -#endif // BITCOIN_MEMUSAGE_H +#endif // PIVX_MEMUSAGE_H diff --git a/src/merkleblock.h b/src/merkleblock.h index 1e399dd0df806..fd4c093bcdefd 100644 --- a/src/merkleblock.h +++ b/src/merkleblock.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_MERKLEBLOCK_H -#define BITCOIN_MERKLEBLOCK_H +#ifndef PIVX_MERKLEBLOCK_H +#define PIVX_MERKLEBLOCK_H #include "bloom.h" #include "primitives/block.h" @@ -149,4 +149,4 @@ class CMerkleBlock }; -#endif // BITCOIN_MERKLEBLOCK_H +#endif // PIVX_MERKLEBLOCK_H diff --git a/src/messagesigner.h b/src/messagesigner.h index edda44d2b9d93..7ac255562f8dd 100644 --- a/src/messagesigner.h +++ b/src/messagesigner.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef MESSAGESIGNER_H -#define MESSAGESIGNER_H +#ifndef PIVX_MESSAGESIGNER_H +#define PIVX_MESSAGESIGNER_H #include "key.h" #include "primitives/transaction.h" // for CTxIn @@ -93,4 +93,4 @@ class CSignedMessage bool CheckSignature(const CBLSPublicKey& pk) const; }; -#endif +#endif // PIVX_MESSAGESIGNER_H diff --git a/src/miner.h b/src/miner.h index c1e8d8105f00c..1d9fbc382f63d 100644 --- a/src/miner.h +++ b/src/miner.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_MINER_H -#define BITCOIN_MINER_H +#ifndef PIVX_MINER_H +#define PIVX_MINER_H #include "primitives/block.h" @@ -37,4 +37,4 @@ static const bool DEFAULT_PRINTPRIORITY = false; extern double dHashesPerSec; extern int64_t nHPSTimerStart; -#endif // BITCOIN_MINER_H +#endif // PIVX_MINER_H diff --git a/src/net.h b/src/net.h index 3f8d16b55fafc..86ec239dae685 100644 --- a/src/net.h +++ b/src/net.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_NET_H -#define BITCOIN_NET_H +#ifndef PIVX_NET_H +#define PIVX_NET_H #include "addrdb.h" #include "addrman.h" @@ -945,4 +945,4 @@ inline std::chrono::microseconds PoissonNextSend(std::chrono::microseconds now, return std::chrono::microseconds{PoissonNextSend(now.count(), average_interval.count())}; } -#endif // BITCOIN_NET_H +#endif // PIVX_NET_H diff --git a/src/net_processing.h b/src/net_processing.h index 4478c4d048da3..cae09432306a4 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_NET_PROCESSING_H -#define BITCOIN_NET_PROCESSING_H +#ifndef PIVX_NET_PROCESSING_H +#define PIVX_NET_PROCESSING_H #include "net.h" #include "validationinterface.h" @@ -81,4 +81,4 @@ using SecondsDouble = std::chrono::duration @@ -42,4 +42,4 @@ class CallResult : public OperationResult }; -#endif //OPERATIONRESULT_H +#endif // PIVX_OPERATIONRESULT_H diff --git a/src/optional.h b/src/optional.h index 1614c8971836d..fbad156ff3927 100644 --- a/src/optional.h +++ b/src/optional.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_OPTIONAL_H -#define BITCOIN_OPTIONAL_H +#ifndef PIVX_OPTIONAL_H +#define PIVX_OPTIONAL_H #include @@ -14,4 +14,4 @@ using Optional = boost::optional; //! Substitute for C++17 std::nullopt static auto& nullopt = boost::none; -#endif // BITCOIN_OPTIONAL_H +#endif // PIVX_OPTIONAL_H diff --git a/src/policy/feerate.h b/src/policy/feerate.h index c3b58bebabffc..a6f4789696f8c 100644 --- a/src/policy/feerate.h +++ b/src/policy/feerate.h @@ -39,4 +39,4 @@ class CFeeRate SERIALIZE_METHODS(CFeeRate, obj) { READWRITE(obj.nSatoshisPerK); } }; -#endif // PIVX_POLICY_FEERATE_H +#endif // PIVX_POLICY_FEERATE_H diff --git a/src/policy/fees.h b/src/policy/fees.h index 21f358894f73e..0001d99b5db7a 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -2,8 +2,9 @@ // Copyright (c) 2009-2015 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_POLICYESTIMATOR_H -#define BITCOIN_POLICYESTIMATOR_H + +#ifndef PIVX_POLICY_FEES_H +#define PIVX_POLICY_FEES_H #include "amount.h" #include "feerate.h" @@ -249,4 +250,4 @@ class CBlockPolicyEstimator unsigned int trackedTxs; unsigned int untrackedTxs; }; -#endif /*BITCOIN_POLICYESTIMATOR_H */ +#endif // PIVX_POLICY_FEES_H diff --git a/src/policy/policy.h b/src/policy/policy.h index 860a890a75176..e4c35a00e5710 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_POLICY_H -#define BITCOIN_POLICY_H +#ifndef PIVX_POLICY_POLICY_H +#define PIVX_POLICY_POLICY_H #include "consensus/consensus.h" #include "feerate.h" @@ -77,4 +77,4 @@ bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs) extern CFeeRate dustRelayFee; -#endif // BITCOIN_POLICY_H +#endif // PIVX_POLICY_POLICY_H diff --git a/src/pow.h b/src/pow.h index 4174da04869ef..2021fb7829804 100644 --- a/src/pow.h +++ b/src/pow.h @@ -5,8 +5,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_POW_H -#define BITCOIN_POW_H +#ifndef PIVX_POW_H +#define PIVX_POW_H #include @@ -29,4 +29,4 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead bool CheckProofOfWork(uint256 hash, unsigned int nBits); arith_uint256 GetBlockProof(const CBlockIndex& block); -#endif // BITCOIN_POW_H +#endif // PIVX_POW_H diff --git a/src/prevector.h b/src/prevector.h index 7ca7a4bdd6d44..31fa90ffa9129 100644 --- a/src/prevector.h +++ b/src/prevector.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_PREVECTOR_H -#define BITCOIN_PREVECTOR_H +#ifndef PIVX_PREVECTOR_H +#define PIVX_PREVECTOR_H #include #include @@ -533,4 +533,4 @@ class prevector { }; #pragma pack(pop) -#endif // BITCOIN_PREVECTOR_H +#endif // PIVX_PREVECTOR_H diff --git a/src/primitives/block.h b/src/primitives/block.h index ac8861d075c01..a46563307411d 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_PRIMITIVES_BLOCK_H -#define BITCOIN_PRIMITIVES_BLOCK_H +#ifndef PIVX_PRIMITIVES_BLOCK_H +#define PIVX_PRIMITIVES_BLOCK_H #include "primitives/transaction.h" #include "keystore.h" @@ -180,4 +180,4 @@ struct CBlockLocator } }; -#endif // BITCOIN_PRIMITIVES_BLOCK_H +#endif // PIVX_PRIMITIVES_BLOCK_H diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index bbe4e453b16d1..d5ae9702e7ab9 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_PRIMITIVES_TRANSACTION_H -#define BITCOIN_PRIMITIVES_TRANSACTION_H +#ifndef PIVX_PRIMITIVES_TRANSACTION_H +#define PIVX_PRIMITIVES_TRANSACTION_H #include "amount.h" #include "memusage.h" @@ -490,4 +490,4 @@ void SetTxPayload(CMutableTransaction& tx, const T& payload) tx.extraPayload.emplace(ds.begin(), ds.end()); } -#endif // BITCOIN_PRIMITIVES_TRANSACTION_H +#endif // PIVX_PRIMITIVES_TRANSACTION_H diff --git a/src/protocol.h b/src/protocol.h index fd378219492ab..fe93d927034d5 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -9,8 +9,8 @@ #error This header can only be compiled as C++. #endif -#ifndef BITCOIN_PROTOCOL_H -#define BITCOIN_PROTOCOL_H +#ifndef PIVX_PROTOCOL_H +#define PIVX_PROTOCOL_H #include "netaddress.h" #include "serialize.h" @@ -481,4 +481,4 @@ class CInv std::string GetCommand() const; }; -#endif // BITCOIN_PROTOCOL_H +#endif // PIVX_PROTOCOL_H diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index 67079a3a04f8f..5ddcae036b928 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_ADDRESSTABLEMODEL_H -#define BITCOIN_QT_ADDRESSTABLEMODEL_H +#ifndef PIVX_QT_ADDRESSTABLEMODEL_H +#define PIVX_QT_ADDRESSTABLEMODEL_H #include #include @@ -124,4 +124,4 @@ public Q_SLOTS: friend class AddressTablePriv; }; -#endif // BITCOIN_QT_ADDRESSTABLEMODEL_H +#endif // PIVX_QT_ADDRESSTABLEMODEL_H diff --git a/src/qt/askpassphrasedialog.h b/src/qt/askpassphrasedialog.h index fca5438578e8f..bb2abd426405f 100644 --- a/src/qt/askpassphrasedialog.h +++ b/src/qt/askpassphrasedialog.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_ASKPASSPHRASEDIALOG_H -#define BITCOIN_QT_ASKPASSPHRASEDIALOG_H +#ifndef PIVX_QT_ASKPASSPHRASEDIALOG_H +#define PIVX_QT_ASKPASSPHRASEDIALOG_H #include #include "qt/pivx/prunnable.h" @@ -83,4 +83,4 @@ private Q_SLOTS: bool eventFilter(QObject* object, QEvent* event) override; }; -#endif // BITCOIN_QT_ASKPASSPHRASEDIALOG_H +#endif // PIVX_QT_ASKPASSPHRASEDIALOG_H diff --git a/src/qt/bantablemodel.h b/src/qt/bantablemodel.h index 5d2af280fbba8..6f94846deb290 100644 --- a/src/qt/bantablemodel.h +++ b/src/qt/bantablemodel.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_BANTABLEMODEL_H -#define BITCOIN_QT_BANTABLEMODEL_H +#ifndef PIVX_QT_BANTABLEMODEL_H +#define PIVX_QT_BANTABLEMODEL_H #include "net.h" @@ -71,4 +71,4 @@ public Q_SLOTS: std::unique_ptr priv; }; -#endif // BITCOIN_QT_BANTABLEMODEL_H +#endif // PIVX_QT_BANTABLEMODEL_H diff --git a/src/qt/bitcoinaddressvalidator.h b/src/qt/bitcoinaddressvalidator.h index a745f334cd759..092b7c7edcc8f 100644 --- a/src/qt/bitcoinaddressvalidator.h +++ b/src/qt/bitcoinaddressvalidator.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_BITCOINADDRESSVALIDATOR_H -#define BITCOIN_QT_BITCOINADDRESSVALIDATOR_H +#ifndef PIVX_QT_BITCOINADDRESSVALIDATOR_H +#define PIVX_QT_BITCOINADDRESSVALIDATOR_H #include @@ -32,4 +32,4 @@ class BitcoinAddressCheckValidator : public QValidator State validate(QString& input, int& pos) const; }; -#endif // BITCOIN_QT_BITCOINADDRESSVALIDATOR_H +#endif // PIVX_QT_BITCOINADDRESSVALIDATOR_H diff --git a/src/qt/bitcoinunits.h b/src/qt/bitcoinunits.h index ccd6cfd9cb8eb..1de244e9576e5 100644 --- a/src/qt/bitcoinunits.h +++ b/src/qt/bitcoinunits.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_BITCOINUNITS_H -#define BITCOIN_QT_BITCOINUNITS_H +#ifndef PIVX_QT_BITCOINUNITS_H +#define PIVX_QT_BITCOINUNITS_H #include "amount.h" @@ -134,4 +134,4 @@ class BitcoinUnits : public QAbstractListModel }; typedef BitcoinUnits::Unit BitcoinUnit; -#endif // BITCOIN_QT_BITCOINUNITS_H +#endif // PIVX_QT_BITCOINUNITS_H diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index dc2c8712767a2..200d515860af5 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_CLIENTMODEL_H -#define BITCOIN_QT_CLIENTMODEL_H +#ifndef PIVX_QT_CLIENTMODEL_H +#define PIVX_QT_CLIENTMODEL_H #include "uint256.h" #include "chain.h" @@ -163,4 +163,4 @@ public Q_SLOTS: void updateBanlist(); }; -#endif // BITCOIN_QT_CLIENTMODEL_H +#endif // PIVX_QT_CLIENTMODEL_H diff --git a/src/qt/coincontroldialog.h b/src/qt/coincontroldialog.h index fabf55858cb32..ca3ecc375a553 100644 --- a/src/qt/coincontroldialog.h +++ b/src/qt/coincontroldialog.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_COINCONTROLDIALOG_H -#define BITCOIN_QT_COINCONTROLDIALOG_H +#ifndef PIVX_QT_COINCONTROLDIALOG_H +#define PIVX_QT_COINCONTROLDIALOG_H #include "amount.h" #include "qt/pivx/snackbar.h" @@ -152,4 +152,4 @@ private Q_SLOTS: void updateLabelLocked(); }; -#endif // BITCOIN_QT_COINCONTROLDIALOG_H +#endif // PIVX_QT_COINCONTROLDIALOG_H diff --git a/src/qt/coincontroltreewidget.h b/src/qt/coincontroltreewidget.h index b6ca9cebb5b11..5326a71583b27 100644 --- a/src/qt/coincontroltreewidget.h +++ b/src/qt/coincontroltreewidget.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_COINCONTROLTREEWIDGET_H -#define BITCOIN_QT_COINCONTROLTREEWIDGET_H +#ifndef PIVX_QT_COINCONTROLTREEWIDGET_H +#define PIVX_QT_COINCONTROLTREEWIDGET_H #include #include @@ -19,4 +19,4 @@ class CoinControlTreeWidget : public QTreeWidget virtual void keyPressEvent(QKeyEvent* event); }; -#endif // BITCOIN_QT_COINCONTROLTREEWIDGET_H +#endif // PIVX_QT_COINCONTROLTREEWIDGET_H diff --git a/src/qt/csvmodelwriter.h b/src/qt/csvmodelwriter.h index 34a9c5bfb8955..7dc639a78e2a3 100644 --- a/src/qt/csvmodelwriter.h +++ b/src/qt/csvmodelwriter.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_CSVMODELWRITER_H -#define BITCOIN_QT_CSVMODELWRITER_H +#ifndef PIVX_QT_CSVMODELWRITER_H +#define PIVX_QT_CSVMODELWRITER_H #include #include @@ -43,4 +43,4 @@ class CSVModelWriter : public QObject QList columns; }; -#endif // BITCOIN_QT_CSVMODELWRITER_H +#endif // PIVX_QT_CSVMODELWRITER_H diff --git a/src/qt/editaddressdialog.h b/src/qt/editaddressdialog.h index 26ecb452c3b0b..208a5125eaf0b 100644 --- a/src/qt/editaddressdialog.h +++ b/src/qt/editaddressdialog.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_EDITADDRESSDIALOG_H -#define BITCOIN_QT_EDITADDRESSDIALOG_H +#ifndef PIVX_QT_EDITADDRESSDIALOG_H +#define PIVX_QT_EDITADDRESSDIALOG_H #include @@ -56,4 +56,4 @@ public Q_SLOTS: QString address; }; -#endif // BITCOIN_QT_EDITADDRESSDIALOG_H +#endif // PIVX_QT_EDITADDRESSDIALOG_H diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h index 14700a81527a7..ad9e2b198c4e6 100644 --- a/src/qt/guiconstants.h +++ b/src/qt/guiconstants.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_GUICONSTANTS_H -#define BITCOIN_QT_GUICONSTANTS_H +#ifndef PIVX_QT_GUICONSTANTS_H +#define PIVX_QT_GUICONSTANTS_H /* Milliseconds between model updates */ static const int MODEL_UPDATE_DELAY = 1000; @@ -54,4 +54,4 @@ static const int MAX_URI_LENGTH = 255; #define QAPP_APP_NAME_DEFAULT "PIVX-Qt" #define QAPP_APP_NAME_TESTNET "PIVX-Qt-testnet" -#endif // BITCOIN_QT_GUICONSTANTS_H +#endif // PIVX_QT_GUICONSTANTS_H diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index dc11b33d9bebb..425cd71e11b5e 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_GUIUTIL_H -#define BITCOIN_QT_GUIUTIL_H +#ifndef PIVX_QT_GUIUTIL_H +#define PIVX_QT_GUIUTIL_H #include "amount.h" #include "askpassphrasedialog.h" @@ -222,4 +222,4 @@ QStringList SplitSkipEmptyParts(const QString& string, const SeparatorType& sepa } // namespace GUIUtil -#endif // BITCOIN_QT_GUIUTIL_H +#endif // PIVX_QT_GUIUTIL_H diff --git a/src/qt/intro.h b/src/qt/intro.h index a35128cabd959..e0a648717913d 100644 --- a/src/qt/intro.h +++ b/src/qt/intro.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_INTRO_H -#define BITCOIN_QT_INTRO_H +#ifndef PIVX_QT_INTRO_H +#define PIVX_QT_INTRO_H #include #include @@ -78,4 +78,4 @@ private Q_SLOTS: friend class FreespaceChecker; }; -#endif // BITCOIN_QT_INTRO_H +#endif // PIVX_QT_INTRO_H diff --git a/src/qt/macdockiconhandler.h b/src/qt/macdockiconhandler.h index 26b209c490061..c60a8bac60ec0 100644 --- a/src/qt/macdockiconhandler.h +++ b/src/qt/macdockiconhandler.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_MACDOCKICONHANDLER_H -#define BITCOIN_QT_MACDOCKICONHANDLER_H +#ifndef PIVX_QT_MACDOCKICONHANDLER_H +#define PIVX_QT_MACDOCKICONHANDLER_H #include #include @@ -25,4 +25,4 @@ class MacDockIconHandler : public QObject MacDockIconHandler(); }; -#endif // BITCOIN_QT_MACDOCKICONHANDLER_H +#endif // PIVX_QT_MACDOCKICONHANDLER_H diff --git a/src/qt/macnotificationhandler.h b/src/qt/macnotificationhandler.h index 277ea865376d2..4d8ea14136a62 100644 --- a/src/qt/macnotificationhandler.h +++ b/src/qt/macnotificationhandler.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_MACNOTIFICATIONHANDLER_H -#define BITCOIN_QT_MACNOTIFICATIONHANDLER_H +#ifndef PIVX_QT_MACNOTIFICATIONHANDLER_H +#define PIVX_QT_MACNOTIFICATIONHANDLER_H #include @@ -28,4 +28,4 @@ class MacNotificationHandler : public QObject }; -#endif // BITCOIN_QT_MACNOTIFICATIONHANDLER_H +#endif // PIVX_QT_MACNOTIFICATIONHANDLER_H diff --git a/src/qt/networkstyle.h b/src/qt/networkstyle.h index f346cdcf2797a..2fb8719e0cd43 100644 --- a/src/qt/networkstyle.h +++ b/src/qt/networkstyle.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_QT_NETWORKSTYLE_H -#define BITCOIN_QT_NETWORKSTYLE_H +#ifndef PIVX_QT_NETWORKSTYLE_H +#define PIVX_QT_NETWORKSTYLE_H #include #include @@ -30,4 +30,4 @@ class NetworkStyle QPixmap splashImage; }; -#endif // BITCOIN_QT_NETWORKSTYLE_H +#endif // PIVX_QT_NETWORKSTYLE_H diff --git a/src/qt/notificator.h b/src/qt/notificator.h index 0b3788d7e55fe..57b656de36e91 100644 --- a/src/qt/notificator.h +++ b/src/qt/notificator.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_NOTIFICATOR_H -#define BITCOIN_QT_NOTIFICATOR_H +#ifndef PIVX_QT_NOTIFICATOR_H +#define PIVX_QT_NOTIFICATOR_H #if defined(HAVE_CONFIG_H) #include "config/pivx-config.h" @@ -73,4 +73,4 @@ public Q_SLOTS: #endif }; -#endif // BITCOIN_QT_NOTIFICATOR_H +#endif // PIVX_QT_NOTIFICATOR_H diff --git a/src/qt/openuridialog.h b/src/qt/openuridialog.h index 95f4643c9e817..9b9cd2b027c67 100644 --- a/src/qt/openuridialog.h +++ b/src/qt/openuridialog.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_OPENURIDIALOG_H -#define BITCOIN_QT_OPENURIDIALOG_H +#ifndef PIVX_QT_OPENURIDIALOG_H +#define PIVX_QT_OPENURIDIALOG_H #include #include "qt/pivx/snackbar.h" @@ -33,4 +33,4 @@ protected Q_SLOTS: void inform(const QString& str); }; -#endif // BITCOIN_QT_OPENURIDIALOG_H +#endif // PIVX_QT_OPENURIDIALOG_H diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index b04e915d26c79..75780ec76c89c 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_OPTIONSMODEL_H -#define BITCOIN_QT_OPTIONSMODEL_H +#ifndef PIVX_QT_OPTIONSMODEL_H +#define PIVX_QT_OPTIONSMODEL_H #include "amount.h" #include @@ -126,4 +126,4 @@ class OptionsModel : public QAbstractListModel void hideOrphansChanged(bool); }; -#endif // BITCOIN_QT_OPTIONSMODEL_H +#endif // PIVX_QT_OPTIONSMODEL_H diff --git a/src/qt/paymentserver.h b/src/qt/paymentserver.h index 6ec5aab59d6ec..9438ddd547c3b 100644 --- a/src/qt/paymentserver.h +++ b/src/qt/paymentserver.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_QT_PAYMENTSERVER_H -#define BITCOIN_QT_PAYMENTSERVER_H +#ifndef PIVX_QT_PAYMENTSERVER_H +#define PIVX_QT_PAYMENTSERVER_H // This class handles payment requests from clicking on // pivx: URIs @@ -100,4 +100,4 @@ private Q_SLOTS: OptionsModel* optionsModel; }; -#endif // BITCOIN_QT_PAYMENTSERVER_H +#endif // PIVX_QT_PAYMENTSERVER_H diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h index e6f9f89381e5e..c313572eab2ff 100644 --- a/src/qt/peertablemodel.h +++ b/src/qt/peertablemodel.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_PEERTABLEMODEL_H -#define BITCOIN_QT_PEERTABLEMODEL_H +#ifndef PIVX_QT_PEERTABLEMODEL_H +#define PIVX_QT_PEERTABLEMODEL_H #include "net.h" #include "net_processing.h" @@ -79,4 +79,4 @@ public Q_SLOTS: QTimer* timer; }; -#endif // BITCOIN_QT_PEERTABLEMODEL_H +#endif // PIVX_QT_PEERTABLEMODEL_H diff --git a/src/qt/pivx/addnewcontactdialog.h b/src/qt/pivx/addnewcontactdialog.h index 300f8e5686889..b3da7270f4861 100644 --- a/src/qt/pivx/addnewcontactdialog.h +++ b/src/qt/pivx/addnewcontactdialog.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 ADDNEWCONTACTDIALOG_H -#define ADDNEWCONTACTDIALOG_H +#ifndef PIVX_QT_PIVX_ADDNEWCONTACTDIALOG_H +#define PIVX_QT_PIVX_ADDNEWCONTACTDIALOG_H #include "qt/pivx/focuseddialog.h" @@ -33,4 +33,4 @@ public Q_SLOTS: const char* message = nullptr; }; -#endif // ADDNEWCONTACTDIALOG_H +#endif // PIVX_QT_PIVX_ADDNEWCONTACTDIALOG_H diff --git a/src/qt/pivx/addresseswidget.h b/src/qt/pivx/addresseswidget.h index a09d39bc9d41a..3250189fa94b8 100644 --- a/src/qt/pivx/addresseswidget.h +++ b/src/qt/pivx/addresseswidget.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 ADDRESSESWIDGET_H -#define ADDRESSESWIDGET_H +#ifndef PIVX_QT_PIVX_ADDRESSESWIDGET_H +#define PIVX_QT_PIVX_ADDRESSESWIDGET_H #include "qt/pivx/pwidget.h" #include "addresstablemodel.h" @@ -65,4 +65,4 @@ private Q_SLOTS: void sortAddresses(); }; -#endif // ADDRESSESWIDGET_H +#endif // PIVX_QT_PIVX_ADDRESSESWIDGET_H diff --git a/src/qt/pivx/addressfilterproxymodel.h b/src/qt/pivx/addressfilterproxymodel.h index 1d4861f2ce14a..4d7b6b2e6d59f 100644 --- a/src/qt/pivx/addressfilterproxymodel.h +++ b/src/qt/pivx/addressfilterproxymodel.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 PIVX_CORE_NEW_GUI_ADDRESSFILTERPROXYMODEL_H -#define PIVX_CORE_NEW_GUI_ADDRESSFILTERPROXYMODEL_H +#ifndef PIVX_QT_PIVX_ADDRESSFILTERPROXYMODEL_H +#define PIVX_QT_PIVX_ADDRESSFILTERPROXYMODEL_H #include @@ -42,4 +42,4 @@ class AddressFilterProxyModel final : public QSortFilterProxyModel }; -#endif //PIVX_CORE_NEW_GUI_ADDRESSFILTERPROXYMODEL_H +#endif // PIVX_QT_PIVX_ADDRESSFILTERPROXYMODEL_H diff --git a/src/qt/pivx/addressholder.h b/src/qt/pivx/addressholder.h index 874059d849029..aef44da6693d9 100644 --- a/src/qt/pivx/addressholder.h +++ b/src/qt/pivx/addressholder.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 PIVX_ADDRESSHOLDER_H -#define PIVX_ADDRESSHOLDER_H +#ifndef PIVX_QT_PIVX_ADDRESSHOLDER_H +#define PIVX_QT_PIVX_ADDRESSHOLDER_H #include #include @@ -38,4 +38,4 @@ class AddressHolder : public FurListRow }; -#endif //PIVX_ADDRESSHOLDER_H +#endif // PIVX_QT_PIVX_ADDRESSHOLDER_H diff --git a/src/qt/pivx/addresslabelrow.h b/src/qt/pivx/addresslabelrow.h index 0a507a7d61dc2..ee8e4f8043dd4 100644 --- a/src/qt/pivx/addresslabelrow.h +++ b/src/qt/pivx/addresslabelrow.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 ADDRESSLABELROW_H -#define ADDRESSLABELROW_H +#ifndef PIVX_QT_PIVX_ADDRESSLABELROW_H +#define PIVX_QT_PIVX_ADDRESSLABELROW_H #include @@ -31,4 +31,4 @@ class AddressLabelRow : public QWidget Ui::AddressLabelRow *ui; }; -#endif // ADDRESSLABELROW_H +#endif // PIVX_QT_PIVX_ADDRESSLABELROW_H diff --git a/src/qt/pivx/balancebubble.h b/src/qt/pivx/balancebubble.h index bdf29977b8d56..e74ae719bd8f7 100644 --- a/src/qt/pivx/balancebubble.h +++ b/src/qt/pivx/balancebubble.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_BALANCEBUBBLE_H -#define PIVX_BALANCEBUBBLE_H +#ifndef PIVX_QT_PIVX_BALANCEBUBBLE_H +#define PIVX_QT_PIVX_BALANCEBUBBLE_H #include #include @@ -32,4 +32,4 @@ public Q_SLOTS: QTimer* hideTimer{nullptr}; }; -#endif //PIVX_BALANCEBUBBLE_H +#endif // PIVX_QT_PIVX_BALANCEBUBBLE_H diff --git a/src/qt/pivx/coldstakingmodel.h b/src/qt/pivx/coldstakingmodel.h index c54ca6c35422f..554116ca10a51 100644 --- a/src/qt/pivx/coldstakingmodel.h +++ b/src/qt/pivx/coldstakingmodel.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 COLDSTAKINGMODEL_H -#define COLDSTAKINGMODEL_H +#ifndef PIVX_QT_PIVX_COLDSTAKINGMODEL_H +#define PIVX_QT_PIVX_COLDSTAKINGMODEL_H #include #include "amount.h" @@ -89,4 +89,4 @@ public Q_SLOTS: bool parseCSDelegation(const CTxOut& out, CSDelegation& ret, const QString& txId, const int utxoIndex); }; -#endif // COLDSTAKINGMODEL_H +#endif // PIVX_QT_PIVX_COLDSTAKINGMODEL_H diff --git a/src/qt/pivx/coldstakingwidget.h b/src/qt/pivx/coldstakingwidget.h index 1adef63922617..c02c49b6d4951 100644 --- a/src/qt/pivx/coldstakingwidget.h +++ b/src/qt/pivx/coldstakingwidget.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 COLDSTAKINGWIDGET_H -#define COLDSTAKINGWIDGET_H +#ifndef PIVX_QT_PIVX_COLDSTAKINGWIDGET_H +#define PIVX_QT_PIVX_COLDSTAKINGWIDGET_H #include "qt/pivx/pwidget.h" #include "qt/pivx/furabstractlistitemdelegate.h" @@ -128,4 +128,4 @@ private Q_SLOTS: void setCoinControlPayAmounts(); }; -#endif // COLDSTAKINGWIDGET_H +#endif // PIVX_QT_PIVX_COLDSTAKINGWIDGET_H diff --git a/src/qt/pivx/contactdropdownrow.h b/src/qt/pivx/contactdropdownrow.h index 71dbd678c53f5..6d6f3d58f870c 100644 --- a/src/qt/pivx/contactdropdownrow.h +++ b/src/qt/pivx/contactdropdownrow.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 CONTACTDROPDOWNROW_H -#define CONTACTDROPDOWNROW_H +#ifndef PIVX_QT_PIVX_CONTACTDROPDOWNROW_H +#define PIVX_QT_PIVX_CONTACTDROPDOWNROW_H #include @@ -27,4 +27,4 @@ class ContactDropdownRow : public QWidget Ui::ContactDropdownRow *ui; }; -#endif // CONTACTDROPDOWNROW_H +#endif // PIVX_QT_PIVX_CONTACTDROPDOWNROW_H diff --git a/src/qt/pivx/contactsdropdown.h b/src/qt/pivx/contactsdropdown.h index 87e88dc67f8f8..da2a82d49ac42 100644 --- a/src/qt/pivx/contactsdropdown.h +++ b/src/qt/pivx/contactsdropdown.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 CONTACTSDROPDOWN_H -#define CONTACTSDROPDOWN_H +#ifndef PIVX_QT_PIVX_CONTACTSDROPDOWN_H +#define PIVX_QT_PIVX_CONTACTSDROPDOWN_H #include "addresstablemodel.h" #include "qt/pivx/pwidget.h" @@ -49,4 +49,4 @@ private Q_SLOTS: void handleClick(const QModelIndex &index); }; -#endif // CONTACTSDROPDOWN_H +#endif // PIVX_QT_PIVX_CONTACTSDROPDOWN_H diff --git a/src/qt/pivx/createproposaldialog.h b/src/qt/pivx/createproposaldialog.h index 4acd9b0ec94da..79313d2f68e97 100644 --- a/src/qt/pivx/createproposaldialog.h +++ b/src/qt/pivx/createproposaldialog.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef CREATEPROPOSALDIALOG_H -#define CREATEPROPOSALDIALOG_H +#ifndef PIVX_QT_PIVX_CREATEPROPOSALDIALOG_H +#define PIVX_QT_PIVX_CREATEPROPOSALDIALOG_H #include @@ -64,4 +64,4 @@ public Q_SLOTS: void inform(const QString& text); }; -#endif // CREATEPROPOSALDIALOG_H +#endif // PIVX_QT_PIVX_CREATEPROPOSALDIALOG_H diff --git a/src/qt/pivx/csrow.h b/src/qt/pivx/csrow.h index 56c49f9a09491..56f441a9f3ce7 100644 --- a/src/qt/pivx/csrow.h +++ b/src/qt/pivx/csrow.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 CSROW_H -#define CSROW_H +#ifndef PIVX_QT_PIVX_CSROW_H +#define PIVX_QT_PIVX_CSROW_H #include @@ -32,4 +32,4 @@ class CSRow : public QWidget bool fShowMenuButton = true; }; -#endif // CSROW_H +#endif // PIVX_QT_PIVX_CSROW_H diff --git a/src/qt/pivx/dashboardwidget.h b/src/qt/pivx/dashboardwidget.h index 9527c72684d94..2d76084510b8c 100644 --- a/src/qt/pivx/dashboardwidget.h +++ b/src/qt/pivx/dashboardwidget.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 DASHBOARDWIDGET_H -#define DASHBOARDWIDGET_H +#ifndef PIVX_QT_PIVX_DASHBOARDWIDGET_H +#define PIVX_QT_PIVX_DASHBOARDWIDGET_H #include "qt/pivx/pwidget.h" #include "qt/pivx/furabstractlistitemdelegate.h" @@ -191,4 +191,4 @@ private Q_SLOTS: }; -#endif // DASHBOARDWIDGET_H +#endif // PIVX_QT_PIVX_DASHBOARDWIDGET_H diff --git a/src/qt/pivx/defaultdialog.h b/src/qt/pivx/defaultdialog.h index eaa851b76c752..e583af386fc2f 100644 --- a/src/qt/pivx/defaultdialog.h +++ b/src/qt/pivx/defaultdialog.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 DEFAULTDIALOG_H -#define DEFAULTDIALOG_H +#ifndef PIVX_QT_PIVX_DEFAULTDIALOG_H +#define PIVX_QT_PIVX_DEFAULTDIALOG_H #include "qt/pivx/focuseddialog.h" @@ -30,4 +30,4 @@ public Q_SLOTS: Ui::DefaultDialog *ui; }; -#endif // DEFAULTDIALOG_H +#endif // PIVX_QT_PIVX_DEFAULTDIALOG_H diff --git a/src/qt/pivx/expandablebutton.h b/src/qt/pivx/expandablebutton.h index a617647cb217f..ad0a78f0ef264 100644 --- a/src/qt/pivx/expandablebutton.h +++ b/src/qt/pivx/expandablebutton.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 EXPANDABLEBUTTON2_H -#define EXPANDABLEBUTTON2_H +#ifndef PIVX_QT_PIVX_EXPANDABLEBUTTON_H +#define PIVX_QT_PIVX_EXPANDABLEBUTTON_H #include #include @@ -69,4 +69,4 @@ private Q_SLOTS: bool keepExpanded = false; }; -#endif // EXPANDABLEBUTTON2_H +#endif // PIVX_QT_PIVX_EXPANDABLEBUTTON_H diff --git a/src/qt/pivx/focuseddialog.h b/src/qt/pivx/focuseddialog.h index df4e73d604501..41a43696ee5c7 100644 --- a/src/qt/pivx/focuseddialog.h +++ b/src/qt/pivx/focuseddialog.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 FOCUSEDDIALOG_H -#define FOCUSEDDIALOG_H +#ifndef PIVX_QT_PIVX_FOCUSEDDIALOG_H +#define PIVX_QT_PIVX_FOCUSEDDIALOG_H #include @@ -23,4 +23,4 @@ class FocusedDialog : public QDialog void keyPressEvent(QKeyEvent *e); }; -#endif // FOCUSEDDIALOG_H +#endif // PIVX_QT_PIVX_FOCUSEDDIALOG_H diff --git a/src/qt/pivx/furabstractlistitemdelegate.h b/src/qt/pivx/furabstractlistitemdelegate.h index 8be75a77cc6d7..6050e44c38e31 100644 --- a/src/qt/pivx/furabstractlistitemdelegate.h +++ b/src/qt/pivx/furabstractlistitemdelegate.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 FURABSTRACTLISTITEMDELEGATE_H -#define FURABSTRACTLISTITEMDELEGATE_H +#ifndef PIVX_QT_PIVX_FURABSTRACTLISTITEMDELEGATE_H +#define PIVX_QT_PIVX_FURABSTRACTLISTITEMDELEGATE_H #include "qt/pivx/furlistrow.h" @@ -36,4 +36,4 @@ class FurAbstractListItemDelegate : public QAbstractItemDelegate }; -#endif // FURABSTRACTLISTITEMDELEGATE_H +#endif // PIVX_QT_PIVX_FURABSTRACTLISTITEMDELEGATE_H diff --git a/src/qt/pivx/furlistrow.h b/src/qt/pivx/furlistrow.h index a149bf5222ea3..66401b70d3243 100644 --- a/src/qt/pivx/furlistrow.h +++ b/src/qt/pivx/furlistrow.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 FURLISTROW_H -#define FURLISTROW_H +#ifndef PIVX_QT_PIVX_FURLISTROW_H +#define PIVX_QT_PIVX_FURLISTROW_H #include #include @@ -28,4 +28,4 @@ class FurListRow{ } }; -#endif // FURLISTROW_H +#endif // PIVX_QT_PIVX_FURLISTROW_H diff --git a/src/qt/pivx/governancemodel.h b/src/qt/pivx/governancemodel.h index dbae5992714d8..2a362a5504d53 100644 --- a/src/qt/pivx/governancemodel.h +++ b/src/qt/pivx/governancemodel.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef GOVERNANCEMODEL_H -#define GOVERNANCEMODEL_H +#ifndef PIVX_QT_PIVX_GOVERNANCEMODEL_H +#define PIVX_QT_PIVX_GOVERNANCEMODEL_H #include "clientmodel.h" #include "operationresult.h" @@ -165,4 +165,4 @@ public Q_SLOTS: ProposalInfo buildProposalInfo(const CBudgetProposal* prop, bool isPassing, bool isPending); }; -#endif // GOVERNANCEMODEL_H +#endif // PIVX_QT_PIVX_GOVERNANCEMODEL_H diff --git a/src/qt/pivx/governancewidget.h b/src/qt/pivx/governancewidget.h index 065800a8747c0..afbe7acb1ccb0 100644 --- a/src/qt/pivx/governancewidget.h +++ b/src/qt/pivx/governancewidget.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef GOVERNANCEWIDGET_H -#define GOVERNANCEWIDGET_H +#ifndef PIVX_QT_PIVX_GOVERNANCEWIDGET_H +#define PIVX_QT_PIVX_GOVERNANCEWIDGET_H #include "qt/pivx/pwidget.h" #include "qt/pivx/proposalcard.h" @@ -104,4 +104,4 @@ public Q_SLOTS: int calculateColumnsPerRow(); }; -#endif // GOVERNANCEWIDGET_H +#endif // PIVX_QT_PIVX_GOVERNANCEWIDGET_H diff --git a/src/qt/pivx/guitransactionsutils.h b/src/qt/pivx/guitransactionsutils.h index 661f3ba9dc0a2..ac3a44cd5bb30 100644 --- a/src/qt/pivx/guitransactionsutils.h +++ b/src/qt/pivx/guitransactionsutils.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 FURSZY_PIVX_GUITRANSACTIONSUTILS_H -#define FURSZY_PIVX_GUITRANSACTIONSUTILS_H +#ifndef PIVX_QT_PIVX_GUITRANSACTIONSUTILS_H +#define PIVX_QT_PIVX_GUITRANSACTIONSUTILS_H #include "walletmodel.h" #include "qt/pivx/pwidget.h" @@ -33,4 +33,4 @@ namespace GuiTransactionsUtils { } -#endif //FURSZY_PIVX_GUITRANSACTIONSUTILS_H +#endif // PIVX_QT_PIVX_GUITRANSACTIONSUTILS_H diff --git a/src/qt/pivx/loadingdialog.h b/src/qt/pivx/loadingdialog.h index 48a72121be167..39b61a29d6d2d 100644 --- a/src/qt/pivx/loadingdialog.h +++ b/src/qt/pivx/loadingdialog.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 LOADINGDIALOG_H -#define LOADINGDIALOG_H +#ifndef PIVX_QT_PIVX_LOADINGDIALOG_H +#define PIVX_QT_PIVX_LOADINGDIALOG_H #include #include @@ -80,4 +80,4 @@ public Q_SLOTS: int loading = 0; }; -#endif // LOADINGDIALOG_H +#endif // PIVX_QT_PIVX_LOADINGDIALOG_H diff --git a/src/qt/pivx/lockunlock.h b/src/qt/pivx/lockunlock.h index 53e06ac188fd7..c1350e0846e05 100644 --- a/src/qt/pivx/lockunlock.h +++ b/src/qt/pivx/lockunlock.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 LOCKUNLOCK_H -#define LOCKUNLOCK_H +#ifndef PIVX_QT_PIVX_LOCKUNLOCK_H +#define PIVX_QT_PIVX_LOCKUNLOCK_H #include #include "walletmodel.h" @@ -46,4 +46,4 @@ public Q_SLOTS: bool isOnHover = false; }; -#endif // LOCKUNLOCK_H +#endif // PIVX_QT_PIVX_LOCKUNLOCK_H diff --git a/src/qt/pivx/masternodeswidget.h b/src/qt/pivx/masternodeswidget.h index ad4745553d6b1..0eedde2a29ead 100644 --- a/src/qt/pivx/masternodeswidget.h +++ b/src/qt/pivx/masternodeswidget.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 MASTERNODESWIDGET_H -#define MASTERNODESWIDGET_H +#ifndef PIVX_QT_PIVX_MASTERNODESWIDGET_H +#define PIVX_QT_PIVX_MASTERNODESWIDGET_H #include "coincontroldialog.h" #include "qt/pivx/furabstractlistitemdelegate.h" @@ -71,4 +71,4 @@ private Q_SLOTS: bool startAll(QString& failedMN, bool onlyMissing); }; -#endif // MASTERNODESWIDGET_H +#endif // PIVX_QT_PIVX_MASTERNODESWIDGET_H diff --git a/src/qt/pivx/masternodewizarddialog.h b/src/qt/pivx/masternodewizarddialog.h index 571b2c603e41a..bc20a4d9a4c76 100644 --- a/src/qt/pivx/masternodewizarddialog.h +++ b/src/qt/pivx/masternodewizarddialog.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 MASTERNODEWIZARDDIALOG_H -#define MASTERNODEWIZARDDIALOG_H +#ifndef PIVX_QT_PIVX_MASTERNODEWIZARDDIALOG_H +#define PIVX_QT_PIVX_MASTERNODEWIZARDDIALOG_H #include "qt/pivx/focuseddialog.h" #include "qt/pivx/snackbar.h" @@ -51,4 +51,4 @@ private Q_SLOTS: void inform(const QString& text); }; -#endif // MASTERNODEWIZARDDIALOG_H +#endif // PIVX_QT_PIVX_MASTERNODEWIZARDDIALOG_H diff --git a/src/qt/pivx/mninfodialog.h b/src/qt/pivx/mninfodialog.h index 1a2a2eaa223ee..d1aafe80825b8 100644 --- a/src/qt/pivx/mninfodialog.h +++ b/src/qt/pivx/mninfodialog.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 MNINFODIALOG_H -#define MNINFODIALOG_H +#ifndef PIVX_QT_PIVX_MNINFODIALOG_H +#define PIVX_QT_PIVX_MNINFODIALOG_H #include "qt/pivx/focuseddialog.h" #include "qt/pivx/snackbar.h" @@ -40,4 +40,4 @@ public Q_SLOTS: void copyInform(const QString& copyStr, const QString& message); }; -#endif // MNINFODIALOG_H +#endif // PIVX_QT_PIVX_MNINFODIALOG_H diff --git a/src/qt/pivx/mnmodel.h b/src/qt/pivx/mnmodel.h index 6dc67d89716d4..f1525fb3d468c 100644 --- a/src/qt/pivx/mnmodel.h +++ b/src/qt/pivx/mnmodel.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 MNMODEL_H -#define MNMODEL_H +#ifndef PIVX_QT_PIVX_MNMODEL_H +#define PIVX_QT_PIVX_MNMODEL_H #include #include "masternodeconfig.h" @@ -88,4 +88,4 @@ class MNModel : public QAbstractTableModel QMap collateralTxAccepted; }; -#endif // MNMODEL_H +#endif // PIVX_QT_PIVX_MNMODEL_H diff --git a/src/qt/pivx/mnrow.h b/src/qt/pivx/mnrow.h index c46daa495aaaa..4177615cd8e9f 100644 --- a/src/qt/pivx/mnrow.h +++ b/src/qt/pivx/mnrow.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 MNROW_H -#define MNROW_H +#ifndef PIVX_QT_PIVX_MNROW_H +#define PIVX_QT_PIVX_MNROW_H #include @@ -27,4 +27,4 @@ class MNRow : public QWidget Ui::MNRow *ui; }; -#endif // MNROW_H +#endif // PIVX_QT_PIVX_MNROW_H diff --git a/src/qt/pivx/mnselectiondialog.h b/src/qt/pivx/mnselectiondialog.h index 864ea39c625ba..5a6faa0c0ead2 100644 --- a/src/qt/pivx/mnselectiondialog.h +++ b/src/qt/pivx/mnselectiondialog.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef MN_SELECTION_DEFAULTDIALOG_H -#define MN_SELECTION_DEFAULTDIALOG_H +#ifndef PIVX_QT_PIVX_MNSELECTIONDIALOG_H +#define PIVX_QT_PIVX_MNSELECTIONDIALOG_H #include #include @@ -62,4 +62,4 @@ public Q_SLOTS: VoteInfo* ptrVoteInfo); }; -#endif // MN_SELECTION_DEFAULTDIALOG_H +#endif // PIVX_QT_PIVX_MNSELECTIONDIALOG_H diff --git a/src/qt/pivx/myaddressrow.h b/src/qt/pivx/myaddressrow.h index 2015c7adc0207..2e5a552f01ad1 100644 --- a/src/qt/pivx/myaddressrow.h +++ b/src/qt/pivx/myaddressrow.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 MYADDRESSROW_H -#define MYADDRESSROW_H +#ifndef PIVX_QT_PIVX_MYADDRESSROW_H +#define PIVX_QT_PIVX_MYADDRESSROW_H #include @@ -25,4 +25,4 @@ class MyAddressRow : public QWidget Ui::MyAddressRow *ui; }; -#endif // MYADDRESSROW_H +#endif // PIVX_QT_PIVX_MYADDRESSROW_H diff --git a/src/qt/pivx/navmenuwidget.h b/src/qt/pivx/navmenuwidget.h index 68886fd7b805c..20c8cf2bc41cf 100644 --- a/src/qt/pivx/navmenuwidget.h +++ b/src/qt/pivx/navmenuwidget.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 NAVMENUWIDGET_H -#define NAVMENUWIDGET_H +#ifndef PIVX_QT_PIVX_NAVMENUWIDGET_H +#define PIVX_QT_PIVX_NAVMENUWIDGET_H #include #include "qt/pivx/pwidget.h" @@ -49,4 +49,4 @@ private Q_SLOTS: bool init = false; }; -#endif // NAVMENUWIDGET_H +#endif // PIVX_QT_PIVX_NAVMENUWIDGET_H diff --git a/src/qt/pivx/optionbutton.h b/src/qt/pivx/optionbutton.h index 21b0e1a32885b..0bc1e7d8fcf2b 100644 --- a/src/qt/pivx/optionbutton.h +++ b/src/qt/pivx/optionbutton.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 OPTIONBUTTON_H -#define OPTIONBUTTON_H +#ifndef PIVX_QT_PIVX_OPTIONBUTTON_H +#define PIVX_QT_PIVX_OPTIONBUTTON_H #include @@ -36,4 +36,4 @@ class OptionButton : public QWidget Ui::OptionButton *ui; }; -#endif // OPTIONBUTTON_H +#endif // PIVX_QT_PIVX_OPTIONBUTTON_H diff --git a/src/qt/pivx/pfborderimage.h b/src/qt/pivx/pfborderimage.h index 11a652fa7273e..e0c4d875834c2 100644 --- a/src/qt/pivx/pfborderimage.h +++ b/src/qt/pivx/pfborderimage.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 PIVX_PFBorderImage_H -#define PIVX_PFBorderImage_H +#ifndef PIVX_QT_PIVX_PFBORDERIMAGE_H +#define PIVX_QT_PIVX_PFBORDERIMAGE_H #include #include @@ -52,4 +52,4 @@ class PFBorderImage : public QFrame }; -#endif //PIVX_PFBorderImage_H +#endif // PIVX_QT_PIVX_PFBORDERIMAGE_H diff --git a/src/qt/pivx/pivxgui.h b/src/qt/pivx/pivxgui.h index a11ce2a674f83..a0b64b84c122e 100644 --- a/src/qt/pivx/pivxgui.h +++ b/src/qt/pivx/pivxgui.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 PIVX_CORE_NEW_GUI_PIVXGUI_H -#define PIVX_CORE_NEW_GUI_PIVXGUI_H +#ifndef PIVX_QT_PIVX_PIVXGUI_H +#define PIVX_QT_PIVX_PIVXGUI_H #if defined(HAVE_CONFIG_H) #include "config/pivx-config.h" @@ -201,4 +201,4 @@ private Q_SLOTS: }; -#endif //PIVX_CORE_NEW_GUI_PIVXGUI_H +#endif // PIVX_QT_PIVX_PIVXGUI_H diff --git a/src/qt/pivx/proposalcard.h b/src/qt/pivx/proposalcard.h index d496fa7358e36..dc2d3044e3332 100644 --- a/src/qt/pivx/proposalcard.h +++ b/src/qt/pivx/proposalcard.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PROPOSALCARD_H -#define PROPOSALCARD_H +#ifndef PIVX_QT_PIVX_PROPOSALCARD_H +#define PIVX_QT_PIVX_PROPOSALCARD_H #include "qt/pivx/governancemodel.h" @@ -45,4 +45,4 @@ public Q_SLOTS: void setStatusAndVotes(const QString& msg, int value); }; -#endif // PROPOSALCARD_H +#endif // PIVX_QT_PIVX_PROPOSALCARD_H diff --git a/src/qt/pivx/proposalinfodialog.h b/src/qt/pivx/proposalinfodialog.h index acfbc1de5d276..b6ae18256217d 100644 --- a/src/qt/pivx/proposalinfodialog.h +++ b/src/qt/pivx/proposalinfodialog.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 PROPOSALINFODIALOG_H -#define PROPOSALINFODIALOG_H +#ifndef PIVX_QT_PIVX_PROPOSALINFODIALOG_H +#define PIVX_QT_PIVX_PROPOSALINFODIALOG_H #include "qt/pivx/focuseddialog.h" #include "qt/pivx/governancemodel.h" @@ -37,4 +37,4 @@ public Q_SLOTS: void inform(const QString& msg); }; -#endif // PROPOSALINFODIALOG_H +#endif // PIVX_QT_PIVX_PROPOSALINFODIALOG_H diff --git a/src/qt/pivx/prunnable.h b/src/qt/pivx/prunnable.h index d670b47aa8118..238b51e71f380 100644 --- a/src/qt/pivx/prunnable.h +++ b/src/qt/pivx/prunnable.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 PIVX_CORE_NEW_GUI_PRUNNABLE_H -#define PIVX_CORE_NEW_GUI_PRUNNABLE_H +#ifndef PIVX_QT_PIVX_PRUNNABLE_H +#define PIVX_QT_PIVX_PRUNNABLE_H class Runnable { public: @@ -11,4 +11,4 @@ class Runnable { virtual void onError(QString error, int type) = 0; }; -#endif //PIVX_CORE_NEW_GUI_PRUNNABLE_H +#endif // PIVX_QT_PIVX_PRUNNABLE_H diff --git a/src/qt/pivx/pwidget.h b/src/qt/pivx/pwidget.h index aabb1c1d92517..fbadfd559a7d4 100644 --- a/src/qt/pivx/pwidget.h +++ b/src/qt/pivx/pwidget.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 PWIDGET_H -#define PWIDGET_H +#ifndef PIVX_QT_PIVX_PWIDGET_H +#define PIVX_QT_PIVX_PWIDGET_H #include #include @@ -78,4 +78,4 @@ private Q_SLOTS: }; -#endif // PWIDGET_H +#endif // PIVX_QT_PIVX_PWIDGET_H diff --git a/src/qt/pivx/qtutils.h b/src/qt/pivx/qtutils.h index fc5355ab7e42b..8a180fd66b218 100644 --- a/src/qt/pivx/qtutils.h +++ b/src/qt/pivx/qtutils.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 QTUTILS_H -#define QTUTILS_H +#ifndef PIVX_QT_PIVX_QTUTILS_H +#define PIVX_QT_PIVX_QTUTILS_H #include "qt/pivx/pivxgui.h" @@ -76,4 +76,4 @@ void setCssProperty(QWidget* wid, const QString& value, bool forceUpdate = false void forceUpdateStyle(QWidget* widget, bool forceUpdate); void forceUpdateStyle(std::initializer_list args); -#endif // QTUTILS_H +#endif // PIVX_QT_PIVX_QTUTILS_H diff --git a/src/qt/pivx/receivedialog.h b/src/qt/pivx/receivedialog.h index 0b775e36b8f37..2de11913d56f3 100644 --- a/src/qt/pivx/receivedialog.h +++ b/src/qt/pivx/receivedialog.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 RECEIVEDIALOG_H -#define RECEIVEDIALOG_H +#ifndef PIVX_QT_PIVX_RECEIVEDIALOG_H +#define PIVX_QT_PIVX_RECEIVEDIALOG_H #include "qt/pivx/focuseddialog.h" @@ -30,4 +30,4 @@ private Q_SLOTS: SendCoinsRecipient *info{nullptr}; }; -#endif // RECEIVEDIALOG_H +#endif // PIVX_QT_PIVX_RECEIVEDIALOG_H diff --git a/src/qt/pivx/receivewidget.h b/src/qt/pivx/receivewidget.h index ba8d33e5bba92..1d1f568d441fc 100644 --- a/src/qt/pivx/receivewidget.h +++ b/src/qt/pivx/receivewidget.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 RECEIVEWIDGET_H -#define RECEIVEWIDGET_H +#ifndef PIVX_QT_PIVX_RECEIVEWIDGET_H +#define PIVX_QT_PIVX_RECEIVEWIDGET_H #include "qt/pivx/pwidget.h" #include "addresstablemodel.h" @@ -79,4 +79,4 @@ private Q_SLOTS: }; -#endif // RECEIVEWIDGET_H +#endif // PIVX_QT_PIVX_RECEIVEWIDGET_H diff --git a/src/qt/pivx/requestdialog.h b/src/qt/pivx/requestdialog.h index 04ea287f11ee9..b04f41485faea 100644 --- a/src/qt/pivx/requestdialog.h +++ b/src/qt/pivx/requestdialog.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 REQUESTDIALOG_H -#define REQUESTDIALOG_H +#ifndef PIVX_QT_PIVX_REQUESTDIALOG_H +#define PIVX_QT_PIVX_REQUESTDIALOG_H #include "qt/pivx/focuseddialog.h" #include "qt/pivx/snackbar.h" @@ -49,4 +49,4 @@ private Q_SLOTS: void inform(const QString& text); }; -#endif // REQUESTDIALOG_H +#endif // PIVX_QT_PIVX_REQUESTDIALOG_H diff --git a/src/qt/pivx/send.h b/src/qt/pivx/send.h index 57702a1b8b9a9..b123966faa520 100644 --- a/src/qt/pivx/send.h +++ b/src/qt/pivx/send.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 SEND_H -#define SEND_H +#ifndef PIVX_QT_PIVX_SEND_H +#define PIVX_QT_PIVX_SEND_H #include #include @@ -130,4 +130,4 @@ private Q_SLOTS: void tryRefreshAmounts(); }; -#endif // SEND_H +#endif // PIVX_QT_PIVX_SEND_H diff --git a/src/qt/pivx/sendchangeaddressdialog.h b/src/qt/pivx/sendchangeaddressdialog.h index 86d13ce3cf8b6..0875c71669183 100644 --- a/src/qt/pivx/sendchangeaddressdialog.h +++ b/src/qt/pivx/sendchangeaddressdialog.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 SENDCHANGEADDRESSDIALOG_H -#define SENDCHANGEADDRESSDIALOG_H +#ifndef PIVX_QT_PIVX_SENDCHANGEADDRESSDIALOG_H +#define PIVX_QT_PIVX_SENDCHANGEADDRESSDIALOG_H #include "destination_io.h" #include "qt/pivx/focuseddialog.h" @@ -43,4 +43,4 @@ private Q_SLOTS: void accept() override; }; -#endif // SENDCHANGEADDRESSDIALOG_H +#endif // PIVX_QT_PIVX_SENDCHANGEADDRESSDIALOG_H diff --git a/src/qt/pivx/sendconfirmdialog.h b/src/qt/pivx/sendconfirmdialog.h index 8d3b1783158cc..1286d8e707cb3 100644 --- a/src/qt/pivx/sendconfirmdialog.h +++ b/src/qt/pivx/sendconfirmdialog.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 SENDCONFIRMDIALOG_H -#define SENDCONFIRMDIALOG_H +#ifndef PIVX_QT_PIVX_SENDCONFIRMDIALOG_H +#define PIVX_QT_PIVX_SENDCONFIRMDIALOG_H #include "walletmodeltransaction.h" #include "qt/pivx/focuseddialog.h" @@ -60,4 +60,4 @@ public Q_SLOTS: void setInputsType(CTransactionRef _tx); }; -#endif // SENDCONFIRMDIALOG_H +#endif // PIVX_QT_PIVX_SENDCONFIRMDIALOG_H diff --git a/src/qt/pivx/sendcustomfeedialog.h b/src/qt/pivx/sendcustomfeedialog.h index 14a2d5f6c89fb..77e196d20cc9c 100644 --- a/src/qt/pivx/sendcustomfeedialog.h +++ b/src/qt/pivx/sendcustomfeedialog.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 SENDCUSTOMFEEDIALOG_H -#define SENDCUSTOMFEEDIALOG_H +#ifndef PIVX_QT_PIVX_SENDCUSTOMFEEDIALOG_H +#define PIVX_QT_PIVX_SENDCUSTOMFEEDIALOG_H #include "policy/feerate.h" #include "qt/pivx/focuseddialog.h" @@ -46,4 +46,4 @@ protected Q_SLOTS: void inform(const QString& text); }; -#endif // SENDCUSTOMFEEDIALOG_H +#endif // PIVX_QT_PIVX_SENDCUSTOMFEEDIALOG_H diff --git a/src/qt/pivx/sendmemodialog.h b/src/qt/pivx/sendmemodialog.h index ca5970311beec..3263dd6671814 100644 --- a/src/qt/pivx/sendmemodialog.h +++ b/src/qt/pivx/sendmemodialog.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef SENDMEMODIALOG_H -#define SENDMEMODIALOG_H +#ifndef PIVX_QT_PIVX_SENDMEMODIALOG_H +#define PIVX_QT_PIVX_SENDMEMODIALOG_H #include "qt/pivx/focuseddialog.h" @@ -44,4 +44,4 @@ private Q_SLOTS: void accept() override; }; -#endif // SENDMEMODIALOG_H +#endif // PIVX_QT_PIVX_SENDMEMODIALOG_H diff --git a/src/qt/pivx/sendmultirow.h b/src/qt/pivx/sendmultirow.h index c6900520c92d4..b7a27c1e4b610 100644 --- a/src/qt/pivx/sendmultirow.h +++ b/src/qt/pivx/sendmultirow.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 SENDMULTIROW_H -#define SENDMULTIROW_H +#ifndef PIVX_QT_PIVX_SENDMULTIROW_H +#define PIVX_QT_PIVX_SENDMULTIROW_H #include #include @@ -98,4 +98,4 @@ private Q_SLOTS: }; -#endif // SENDMULTIROW_H +#endif // PIVX_QT_PIVX_SENDMULTIROW_H diff --git a/src/qt/pivx/settings/settingsbackupwallet.h b/src/qt/pivx/settings/settingsbackupwallet.h index a5bbdbca7712c..41baaeb9cb9b4 100644 --- a/src/qt/pivx/settings/settingsbackupwallet.h +++ b/src/qt/pivx/settings/settingsbackupwallet.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 SETTINGSBACKUPWALLET_H -#define SETTINGSBACKUPWALLET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSBACKUPWALLET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSBACKUPWALLET_H #include #include "qt/pivx/pwidget.h" @@ -28,4 +28,4 @@ private Q_SLOTS: Ui::SettingsBackupWallet *ui; }; -#endif // SETTINGSBACKUPWALLET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSBACKUPWALLET_H diff --git a/src/qt/pivx/settings/settingsbittoolwidget.h b/src/qt/pivx/settings/settingsbittoolwidget.h index d2d70e6cbb216..085ec1483f421 100644 --- a/src/qt/pivx/settings/settingsbittoolwidget.h +++ b/src/qt/pivx/settings/settingsbittoolwidget.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 SETTINGSBITTOOLWIDGET_H -#define SETTINGSBITTOOLWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSBITTOOLWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSBITTOOLWIDGET_H #include #include "qt/pivx/pwidget.h" @@ -44,4 +44,4 @@ public Q_SLOTS: void resizeMenu(); }; -#endif // SETTINGSBITTOOLWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSBITTOOLWIDGET_H diff --git a/src/qt/pivx/settings/settingsconsolewidget.h b/src/qt/pivx/settings/settingsconsolewidget.h index 23ac618b91c23..21aee2141387d 100644 --- a/src/qt/pivx/settings/settingsconsolewidget.h +++ b/src/qt/pivx/settings/settingsconsolewidget.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 SETTINGSCONSOLEWIDGET_H -#define SETTINGSCONSOLEWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSCONSOLEWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSCONSOLEWIDGET_H #include #include "qt/pivx/pwidget.h" @@ -71,4 +71,4 @@ private Q_SLOTS: }; -#endif // SETTINGSCONSOLEWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSCONSOLEWIDGET_H diff --git a/src/qt/pivx/settings/settingsdisplayoptionswidget.h b/src/qt/pivx/settings/settingsdisplayoptionswidget.h index 39c8a0ae946d7..deb73e3837466 100644 --- a/src/qt/pivx/settings/settingsdisplayoptionswidget.h +++ b/src/qt/pivx/settings/settingsdisplayoptionswidget.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 SETTINGSDISPLAYOPTIONSWIDGET_H -#define SETTINGSDISPLAYOPTIONSWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSDISPLAYOPTIONSWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSDISPLAYOPTIONSWIDGET_H #include #include @@ -36,4 +36,4 @@ public Q_SLOTS: Ui::SettingsDisplayOptionsWidget *ui; }; -#endif // SETTINGSDISPLAYOPTIONSWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSDISPLAYOPTIONSWIDGET_H diff --git a/src/qt/pivx/settings/settingsexportcsv.h b/src/qt/pivx/settings/settingsexportcsv.h index 55e10b30c7d73..a42bcf421ae4a 100644 --- a/src/qt/pivx/settings/settingsexportcsv.h +++ b/src/qt/pivx/settings/settingsexportcsv.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 SETTINGSEXPORTCSV_H -#define SETTINGSEXPORTCSV_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSEXPORTCSV_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSEXPORTCSV_H #include #include "qt/pivx/pwidget.h" @@ -33,4 +33,4 @@ private Q_SLOTS: QSortFilterProxyModel* addressFilter{nullptr}; }; -#endif // SETTINGSEXPORTCSV_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSEXPORTCSV_H diff --git a/src/qt/pivx/settings/settingsfaqwidget.h b/src/qt/pivx/settings/settingsfaqwidget.h index 431aeeb6e4c4e..06c397abe3a80 100644 --- a/src/qt/pivx/settings/settingsfaqwidget.h +++ b/src/qt/pivx/settings/settingsfaqwidget.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 SETTINGSFAQWIDGET_H -#define SETTINGSFAQWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSFAQWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSFAQWIDGET_H #include @@ -70,4 +70,4 @@ private Q_SLOTS: } }; -#endif // SETTINGSFAQWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSFAQWIDGET_H diff --git a/src/qt/pivx/settings/settingsinformationwidget.h b/src/qt/pivx/settings/settingsinformationwidget.h index 5903bb22d0d25..566dc761fa633 100644 --- a/src/qt/pivx/settings/settingsinformationwidget.h +++ b/src/qt/pivx/settings/settingsinformationwidget.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 SETTINGSINFORMATIONWIDGET_H -#define SETTINGSINFORMATIONWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSINFORMATIONWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSINFORMATIONWIDGET_H #include #include "qt/pivx/pwidget.h" @@ -45,4 +45,4 @@ public Q_SLOTS: void updateNetworkState(int numConnections); }; -#endif // SETTINGSINFORMATIONWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSINFORMATIONWIDGET_H diff --git a/src/qt/pivx/settings/settingsmainoptionswidget.h b/src/qt/pivx/settings/settingsmainoptionswidget.h index 3d9a1546a0750..570612e22e2ce 100644 --- a/src/qt/pivx/settings/settingsmainoptionswidget.h +++ b/src/qt/pivx/settings/settingsmainoptionswidget.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 SETTINGSMAINOPTIONSWIDGET_H -#define SETTINGSMAINOPTIONSWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSMAINOPTIONSWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSMAINOPTIONSWIDGET_H #include "qt/pivx/pwidget.h" @@ -38,4 +38,4 @@ public Q_SLOTS: Ui::SettingsMainOptionsWidget *ui; }; -#endif // SETTINGSMAINOPTIONSWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSMAINOPTIONSWIDGET_H diff --git a/src/qt/pivx/settings/settingsnetworkwidget.h b/src/qt/pivx/settings/settingsnetworkwidget.h index 0591b4166b79f..d54105917da9f 100644 --- a/src/qt/pivx/settings/settingsnetworkwidget.h +++ b/src/qt/pivx/settings/settingsnetworkwidget.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 SETTINGSNETWORKWIDGET_H -#define SETTINGSNETWORKWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSNETWORKWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSNETWORKWIDGET_H #include #include @@ -30,4 +30,4 @@ class SettingsNetworkWidget : public PWidget void saveSettings() {}; }; -#endif // SETTINGSNETWORKWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSNETWORKWIDGET_H diff --git a/src/qt/pivx/settings/settingssignmessagewidgets.h b/src/qt/pivx/settings/settingssignmessagewidgets.h index 10bd6a0dfdf9c..fc5194509ae40 100644 --- a/src/qt/pivx/settings/settingssignmessagewidgets.h +++ b/src/qt/pivx/settings/settingssignmessagewidgets.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 SETTINGSSIGNMESSAGEWIDGETS_H -#define SETTINGSSIGNMESSAGEWIDGETS_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSSIGNMESSAGEWIDGETS_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSSIGNMESSAGEWIDGETS_H #include #include "qt/pivx/pwidget.h" @@ -41,4 +41,4 @@ public Q_SLOTS: void resizeMenu(); }; -#endif // SETTINGSSIGNMESSAGEWIDGETS_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSSIGNMESSAGEWIDGETS_H diff --git a/src/qt/pivx/settings/settingswalletoptionswidget.h b/src/qt/pivx/settings/settingswalletoptionswidget.h index 9e7efbc69632c..75d9957d7e2bb 100644 --- a/src/qt/pivx/settings/settingswalletoptionswidget.h +++ b/src/qt/pivx/settings/settingswalletoptionswidget.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 SETTINGSWALLETOPTIONSWIDGET_H -#define SETTINGSWALLETOPTIONSWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSWALLETOPTIONSWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSWALLETOPTIONSWIDGET_H #include #include @@ -48,4 +48,4 @@ public Q_SLOTS: void setNetworkActivity(bool active); }; -#endif // SETTINGSWALLETOPTIONSWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSWALLETOPTIONSWIDGET_H diff --git a/src/qt/pivx/settings/settingswalletrepairwidget.h b/src/qt/pivx/settings/settingswalletrepairwidget.h index f28bf6e5917ab..a5763a98a4dc0 100644 --- a/src/qt/pivx/settings/settingswalletrepairwidget.h +++ b/src/qt/pivx/settings/settingswalletrepairwidget.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 SETTINGSWALLETREPAIRWIDGET_H -#define SETTINGSWALLETREPAIRWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSWALLETREPAIRWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSWALLETREPAIRWIDGET_H #include #include "qt/pivx/pwidget.h" @@ -40,4 +40,4 @@ public Q_SLOTS: Ui::SettingsWalletRepairWidget *ui; }; -#endif // SETTINGSWALLETREPAIRWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSWALLETREPAIRWIDGET_H diff --git a/src/qt/pivx/settings/settingswidget.h b/src/qt/pivx/settings/settingswidget.h index 21d9204bb9c19..917ca3de58fee 100644 --- a/src/qt/pivx/settings/settingswidget.h +++ b/src/qt/pivx/settings/settingswidget.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 SETTINGSWIDGET_H -#define SETTINGSWIDGET_H +#ifndef PIVX_QT_PIVX_SETTINGS_SETTINGSWIDGET_H +#define PIVX_QT_PIVX_SETTINGS_SETTINGSWIDGET_H #include #include "qt/pivx/pwidget.h" @@ -104,4 +104,4 @@ private Q_SLOTS: void selectMenu(QPushButton* btn); }; -#endif // SETTINGSWIDGET_H +#endif // PIVX_QT_PIVX_SETTINGS_SETTINGSWIDGET_H diff --git a/src/qt/pivx/snackbar.h b/src/qt/pivx/snackbar.h index 893d91feaf9ba..10811e4ea888b 100644 --- a/src/qt/pivx/snackbar.h +++ b/src/qt/pivx/snackbar.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 SNACKBAR_H -#define SNACKBAR_H +#ifndef PIVX_QT_PIVX_SNACKBAR_H +#define PIVX_QT_PIVX_SNACKBAR_H #include #include @@ -39,4 +39,4 @@ private Q_SLOTS: void setTimeoutForText(const QString& text); }; -#endif // SNACKBAR_H +#endif // PIVX_QT_PIVX_SNACKBAR_H diff --git a/src/qt/pivx/splash.h b/src/qt/pivx/splash.h index adc590ac3ac09..3bfd3e9d9f62d 100644 --- a/src/qt/pivx/splash.h +++ b/src/qt/pivx/splash.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 SPLASH_H -#define SPLASH_H +#ifndef PIVX_QT_PIVX_SPLASH_H +#define PIVX_QT_PIVX_SPLASH_H #include @@ -51,4 +51,4 @@ public Q_SLOTS: void unsubscribeFromCoreSignals(); }; -#endif // SPLASH_H +#endif // PIVX_QT_PIVX_SPLASH_H diff --git a/src/qt/pivx/tooltipmenu.h b/src/qt/pivx/tooltipmenu.h index a43d2837022e2..c95c7c8250431 100644 --- a/src/qt/pivx/tooltipmenu.h +++ b/src/qt/pivx/tooltipmenu.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 TOOLTIPMENU_H -#define TOOLTIPMENU_H +#ifndef PIVX_QT_PIVX_TOOLTIPMENU_H +#define PIVX_QT_PIVX_TOOLTIPMENU_H #include "qt/pivx/pwidget.h" #include @@ -57,4 +57,4 @@ private Q_SLOTS: QModelIndex index; }; -#endif // TOOLTIPMENU_H +#endif // PIVX_QT_PIVX_TOOLTIPMENU_H diff --git a/src/qt/pivx/topbar.h b/src/qt/pivx/topbar.h index d7dc029fea3a8..7b8b5b8447497 100644 --- a/src/qt/pivx/topbar.h +++ b/src/qt/pivx/topbar.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 TOPBAR_H -#define TOPBAR_H +#ifndef PIVX_QT_PIVX_TOPBAR_H +#define PIVX_QT_PIVX_TOPBAR_H #include #include "qt/askpassphrasedialog.h" @@ -91,4 +91,4 @@ private Q_SLOTS: void connectUpgradeBtnAndDialogTimer(const QString& message); }; -#endif // TOPBAR_H +#endif // PIVX_QT_PIVX_TOPBAR_H diff --git a/src/qt/pivx/txrow.h b/src/qt/pivx/txrow.h index 2d40e9860ab68..e173c63dce1d6 100644 --- a/src/qt/pivx/txrow.h +++ b/src/qt/pivx/txrow.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 TXROW_H -#define TXROW_H +#ifndef PIVX_QT_PIVX_TXROW_H +#define PIVX_QT_PIVX_TXROW_H #include #include @@ -37,4 +37,4 @@ class TxRow : public QWidget bool isDoubleAmount = false; }; -#endif // TXROW_H +#endif // PIVX_QT_PIVX_TXROW_H diff --git a/src/qt/pivx/txviewholder.h b/src/qt/pivx/txviewholder.h index a6bdc87be5599..408dabdf5dbb8 100644 --- a/src/qt/pivx/txviewholder.h +++ b/src/qt/pivx/txviewholder.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 TXVIEWHOLDER_H -#define TXVIEWHOLDER_H +#ifndef PIVX_QT_PIVX_TXVIEWHOLDER_H +#define PIVX_QT_PIVX_TXVIEWHOLDER_H #include "qt/pivx/furlistrow.h" #include "qt/pivx/txrow.h" @@ -45,4 +45,4 @@ class TxViewHolder : public FurListRow TxRow* txRow{nullptr}; }; -#endif // TXVIEWHOLDER_H +#endif // PIVX_QT_PIVX_TXVIEWHOLDER_H diff --git a/src/qt/pivx/votedialog.h b/src/qt/pivx/votedialog.h index 02361ca4ad2e1..cd30b40ec0ec3 100644 --- a/src/qt/pivx/votedialog.h +++ b/src/qt/pivx/votedialog.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef VOTEDIALOG_H -#define VOTEDIALOG_H +#ifndef PIVX_QT_PIVX_VOTEDIALOG_H +#define PIVX_QT_PIVX_VOTEDIALOG_H #include #include @@ -62,4 +62,4 @@ public Q_SLOTS: void updateMnSelectionNum(); }; -#endif // VOTEDIALOG_H +#endif // PIVX_QT_PIVX_VOTEDIALOG_H diff --git a/src/qt/pivx/welcomecontentwidget.h b/src/qt/pivx/welcomecontentwidget.h index 8e8ffac1f40dd..941efc56af611 100644 --- a/src/qt/pivx/welcomecontentwidget.h +++ b/src/qt/pivx/welcomecontentwidget.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 WELCOMECONTENTWIDGET_H -#define WELCOMECONTENTWIDGET_H +#ifndef PIVX_QT_PIVX_WELCOMECONTENTWIDGET_H +#define PIVX_QT_PIVX_WELCOMECONTENTWIDGET_H #include #include @@ -49,4 +49,4 @@ public Q_SLOTS: void initLanguages(); }; -#endif // WELCOMECONTENTWIDGET_H +#endif // PIVX_QT_PIVX_WELCOMECONTENTWIDGET_H diff --git a/src/qt/qvalidatedlineedit.h b/src/qt/qvalidatedlineedit.h index 1aa4600b8cea3..9dbb5c677031c 100644 --- a/src/qt/qvalidatedlineedit.h +++ b/src/qt/qvalidatedlineedit.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_QVALIDATEDLINEEDIT_H -#define BITCOIN_QT_QVALIDATEDLINEEDIT_H +#ifndef PIVX_QT_QVALIDATEDLINEEDIT_H +#define PIVX_QT_QVALIDATEDLINEEDIT_H #include @@ -36,4 +36,4 @@ private Q_SLOTS: void checkValidity(); }; -#endif // BITCOIN_QT_QVALIDATEDLINEEDIT_H +#endif // PIVX_QT_QVALIDATEDLINEEDIT_H diff --git a/src/qt/qvaluecombobox.h b/src/qt/qvaluecombobox.h index 28d5f115a54e1..c6042a483caa5 100644 --- a/src/qt/qvaluecombobox.h +++ b/src/qt/qvaluecombobox.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_QVALUECOMBOBOX_H -#define BITCOIN_QT_QVALUECOMBOBOX_H +#ifndef PIVX_QT_QVALUECOMBOBOX_H +#define PIVX_QT_QVALUECOMBOBOX_H #include #include @@ -34,4 +34,4 @@ private Q_SLOTS: void handleSelectionChanged(int idx); }; -#endif // BITCOIN_QT_QVALUECOMBOBOX_H +#endif // PIVX_QT_QVALUECOMBOBOX_H diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 69a5e299a8df0..b45837a195e2c 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_RPCCONSOLE_H -#define BITCOIN_QT_RPCCONSOLE_H +#ifndef PIVX_QT_RPCCONSOLE_H +#define PIVX_QT_RPCCONSOLE_H #include "guiutil.h" #include "peertablemodel.h" @@ -157,4 +157,4 @@ public Q_SLOTS: void updateNetworkState(int num_connections); }; -#endif // BITCOIN_QT_RPCCONSOLE_H +#endif // PIVX_QT_RPCCONSOLE_H diff --git a/src/qt/test/uritests.h b/src/qt/test/uritests.h index 45c1afecb2f94..e5aa74a022c3b 100644 --- a/src/qt/test/uritests.h +++ b/src/qt/test/uritests.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_QT_TEST_URITESTS_H -#define BITCOIN_QT_TEST_URITESTS_H +#ifndef PIVX_QT_TEST_URITESTS_H +#define PIVX_QT_TEST_URITESTS_H #include #include @@ -16,4 +16,4 @@ private Q_SLOTS: void uriTests(); }; -#endif // BITCOIN_QT_TEST_URITESTS_H +#endif // PIVX_QT_TEST_URITESTS_H diff --git a/src/qt/trafficgraphwidget.h b/src/qt/trafficgraphwidget.h index 75c884562e92d..13a2db474d145 100644 --- a/src/qt/trafficgraphwidget.h +++ b/src/qt/trafficgraphwidget.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_TRAFFICGRAPHWIDGET_H -#define BITCOIN_QT_TRAFFICGRAPHWIDGET_H +#ifndef PIVX_QT_TRAFFICGRAPHWIDGET_H +#define PIVX_QT_TRAFFICGRAPHWIDGET_H #include #include @@ -46,4 +46,4 @@ public Q_SLOTS: ClientModel* clientModel; }; -#endif // BITCOIN_QT_TRAFFICGRAPHWIDGET_H +#endif // PIVX_QT_TRAFFICGRAPHWIDGET_H diff --git a/src/qt/transactionfilterproxy.h b/src/qt/transactionfilterproxy.h index 706e0fe61c132..6b32ff5e70e9f 100644 --- a/src/qt/transactionfilterproxy.h +++ b/src/qt/transactionfilterproxy.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_TRANSACTIONFILTERPROXY_H -#define BITCOIN_QT_TRANSACTIONFILTERPROXY_H +#ifndef PIVX_QT_TRANSACTIONFILTERPROXY_H +#define PIVX_QT_TRANSACTIONFILTERPROXY_H #include "amount.h" @@ -75,4 +75,4 @@ class TransactionFilterProxy : public QSortFilterProxyModel bool fHideOrphans = true; }; -#endif // BITCOIN_QT_TRANSACTIONFILTERPROXY_H +#endif // PIVX_QT_TRANSACTIONFILTERPROXY_H diff --git a/src/qt/transactionrecord.h b/src/qt/transactionrecord.h index f3e75479165a7..d984f305c8cd2 100644 --- a/src/qt/transactionrecord.h +++ b/src/qt/transactionrecord.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_TRANSACTIONRECORD_H -#define BITCOIN_QT_TRANSACTIONRECORD_H +#ifndef PIVX_QT_TRANSACTIONRECORD_H +#define PIVX_QT_TRANSACTIONRECORD_H #include "amount.h" #include "script/script.h" @@ -212,4 +212,4 @@ class TransactionRecord }; -#endif // BITCOIN_QT_TRANSACTIONRECORD_H +#endif // PIVX_QT_TRANSACTIONRECORD_H diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h index c57ce9b36565c..883214db0f732 100644 --- a/src/qt/transactiontablemodel.h +++ b/src/qt/transactiontablemodel.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_TRANSACTIONTABLEMODEL_H -#define BITCOIN_QT_TRANSACTIONTABLEMODEL_H +#ifndef PIVX_QT_TRANSACTIONTABLEMODEL_H +#define PIVX_QT_TRANSACTIONTABLEMODEL_H #include "bitcoinunits.h" @@ -128,4 +128,4 @@ public Q_SLOTS: friend class TransactionTablePriv; }; -#endif // BITCOIN_QT_TRANSACTIONTABLEMODEL_H +#endif // PIVX_QT_TRANSACTIONTABLEMODEL_H diff --git a/src/qt/utilitydialog.h b/src/qt/utilitydialog.h index 1bca4c7bb16c9..caffa8fce16ea 100644 --- a/src/qt/utilitydialog.h +++ b/src/qt/utilitydialog.h @@ -3,8 +3,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_UTILITYDIALOG_H -#define BITCOIN_QT_UTILITYDIALOG_H +#ifndef PIVX_QT_UTILITYDIALOG_H +#define PIVX_QT_UTILITYDIALOG_H #include #include @@ -48,4 +48,4 @@ class ShutdownWindow : public QWidget void closeEvent(QCloseEvent* event); }; -#endif // BITCOIN_QT_UTILITYDIALOG_H +#endif // PIVX_QT_UTILITYDIALOG_H diff --git a/src/qt/walletmodeltransaction.h b/src/qt/walletmodeltransaction.h index 3b668b28cd140..e88beff45c9b9 100644 --- a/src/qt/walletmodeltransaction.h +++ b/src/qt/walletmodeltransaction.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_WALLETMODELTRANSACTION_H -#define BITCOIN_QT_WALLETMODELTRANSACTION_H +#ifndef PIVX_QT_WALLETMODELTRANSACTION_H +#define PIVX_QT_WALLETMODELTRANSACTION_H #include "walletmodel.h" @@ -53,4 +53,4 @@ class WalletModelTransaction CAmount fee; }; -#endif // BITCOIN_QT_WALLETMODELTRANSACTION_H +#endif // PIVX_QT_WALLETMODELTRANSACTION_H diff --git a/src/qt/winshutdownmonitor.h b/src/qt/winshutdownmonitor.h index 4d72d0ff784b0..cae0b6e061a87 100644 --- a/src/qt/winshutdownmonitor.h +++ b/src/qt/winshutdownmonitor.h @@ -2,8 +2,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_QT_WINSHUTDOWNMONITOR_H -#define BITCOIN_QT_WINSHUTDOWNMONITOR_H +#ifndef PIVX_QT_WINSHUTDOWNMONITOR_H +#define PIVX_QT_WINSHUTDOWNMONITOR_H #ifdef WIN32 #include @@ -24,4 +24,4 @@ class WinShutdownMonitor : public QAbstractNativeEventFilter }; #endif -#endif // BITCOIN_QT_WINSHUTDOWNMONITOR_H +#endif // PIVX_QT_WINSHUTDOWNMONITOR_H diff --git a/src/random.h b/src/random.h index 8ed683c3a2265..407d6c802a234 100644 --- a/src/random.h +++ b/src/random.h @@ -4,8 +4,8 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_RANDOM_H -#define BITCOIN_RANDOM_H +#ifndef PIVX_RANDOM_H +#define PIVX_RANDOM_H #include "crypto/chacha20.h" #include "crypto/common.h" @@ -251,4 +251,4 @@ bool Random_SanityCheck(); */ void RandomInit(); -#endif // BITCOIN_RANDOM_H +#endif // PIVX_RANDOM_H diff --git a/src/randomenv.h b/src/randomenv.h index 6c49d3deede07..e1da0f584621b 100644 --- a/src/randomenv.h +++ b/src/randomenv.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_RANDOMENV_H -#define BITCOIN_RANDOMENV_H +#ifndef PIVX_RANDOMENV_H +#define PIVX_RANDOMENV_H #include "crypto/sha512.h" @@ -14,4 +14,4 @@ void RandAddDynamicEnv(CSHA512& hasher); /** Gather non-cryptographic environment data that does not change over time. */ void RandAddStaticEnv(CSHA512& hasher); -#endif +#endif // PIVX_RANDOMENV_H diff --git a/src/reverse_iterate.h b/src/reverse_iterate.h index f7019022805e6..1c86b7e10c92c 100644 --- a/src/reverse_iterate.h +++ b/src/reverse_iterate.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_REVERSE_ITERATE_H -#define BITCOIN_REVERSE_ITERATE_H +#ifndef PIVX_REVERSE_ITERATE_H +#define PIVX_REVERSE_ITERATE_H /** * Template used for reverse iteration in C++11 range-based for loops. @@ -38,4 +38,4 @@ reverse_range reverse_iterate(T &x) return reverse_range(x); } -#endif // BITCOIN_REVERSE_ITERATE_H +#endif // PIVX_REVERSE_ITERATE_H diff --git a/src/rpc/client.h b/src/rpc/client.h index 39f97d032b6b7..09accb20c93c5 100644 --- a/src/rpc/client.h +++ b/src/rpc/client.h @@ -4,8 +4,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_RPCCLIENT_H -#define BITCOIN_RPCCLIENT_H +#ifndef PIVX_RPC_CLIENT_H +#define PIVX_RPC_CLIENT_H #include @@ -20,4 +20,4 @@ UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector @@ -309,4 +309,4 @@ extern "C" { ); } -#endif // LIBRUSTZCASH_INCLUDE_H_ +#endif // PIVX_RUST_INCLUDE_LIBRUSTZCASH_H diff --git a/src/saltedhasher.h b/src/saltedhasher.h index 8f085be9984c0..0eed9f36ba184 100644 --- a/src/saltedhasher.h +++ b/src/saltedhasher.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 SALTEDHASHER_H -#define SALTEDHASHER_H +#ifndef PIVX_SALTEDHASHER_H +#define PIVX_SALTEDHASHER_H #include "crypto/siphash.h" #include "uint256.h" @@ -72,4 +72,4 @@ struct StaticSaltedHasher } }; -#endif//SALTEDHASHER_H +#endif // PIVX_SALTEDHASHER_H diff --git a/src/sapling/address.h b/src/sapling/address.h index c3cfc61e286d2..701b3234d1555 100644 --- a/src/sapling/address.h +++ b/src/sapling/address.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef ZC_ADDRESS_H_ -#define ZC_ADDRESS_H_ +#ifndef PIVX_SAPLING_ADDRESS_H +#define PIVX_SAPLING_ADDRESS_H #include "optional.h" #include "sapling/sapling.h" @@ -131,4 +131,4 @@ typedef boost::variant PaymentAddress; /** Check whether a PaymentAddress is not an InvalidEncoding. */ bool IsValidPaymentAddress(const libzcash::PaymentAddress& zaddr); -#endif // ZC_ADDRESS_H_ +#endif // PIVX_SAPLING_ADDRESS_H diff --git a/src/sapling/incrementalmerkletree.h b/src/sapling/incrementalmerkletree.h index ee42aa4dd2e8f..445ec090e794c 100644 --- a/src/sapling/incrementalmerkletree.h +++ b/src/sapling/incrementalmerkletree.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef INCREMENTALMERKLETREE_H_ -#define INCREMENTALMERKLETREE_H_ +#ifndef PIVX_SAPLING_INCREMENTALMERKLETREE_H +#define PIVX_SAPLING_INCREMENTALMERKLETREE_H #include "uint256.h" #include "optional.h" @@ -248,4 +248,4 @@ typedef libzcash::IncrementalMerkleTree SaplingWitness; typedef libzcash::IncrementalWitness SaplingTestingWitness; -#endif /* INCREMENTALMERKLETREE_H_ */ +#endif // PIVX_SAPLING_INCREMENTALMERKLETREE_H diff --git a/src/sapling/key_io_sapling.h b/src/sapling/key_io_sapling.h index 65b326d7b7356..714ca3c625a88 100644 --- a/src/sapling/key_io_sapling.h +++ b/src/sapling/key_io_sapling.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_KEY_IO_SAPLING_H -#define PIVX_KEY_IO_SAPLING_H +#ifndef PIVX_SAPLING_KEY_IO_SAPLING_H +#define PIVX_SAPLING_KEY_IO_SAPLING_H #include "chainparams.h" #include "sapling/zip32.h" @@ -23,4 +23,4 @@ namespace KeyIO { libzcash::SpendingKey DecodeSpendingKey(const std::string& str); } -#endif //PIVX_KEY_IO_SAPLING_H +#endif // PIVX_SAPLING_KEY_IO_SAPLING_H diff --git a/src/sapling/note.h b/src/sapling/note.h index 1a33bfbefb021..3af0168334c0b 100644 --- a/src/sapling/note.h +++ b/src/sapling/note.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef ZC_NOTE_H_ -#define ZC_NOTE_H_ +#ifndef PIVX_SAPLING_NOTE_H +#define PIVX_SAPLING_NOTE_H #include "optional.h" #include "sapling/address.h" @@ -149,4 +149,4 @@ class SaplingOutgoingPlaintext } -#endif // ZC_NOTE_H_ +#endif // PIVX_SAPLING_NOTE_H diff --git a/src/sapling/noteencryption.h b/src/sapling/noteencryption.h index b59f929054aa0..77ad24f5add2a 100644 --- a/src/sapling/noteencryption.h +++ b/src/sapling/noteencryption.h @@ -8,8 +8,8 @@ See the Zcash protocol specification for more information. https://github.com/zcash/zips/blob/master/protocol/protocol.pdf */ -#ifndef ZC_NOTE_ENCRYPTION_H_ -#define ZC_NOTE_ENCRYPTION_H_ +#ifndef PIVX_SAPLING_NOTEENCRYPTION_H +#define PIVX_SAPLING_NOTEENCRYPTION_H #include "optional.h" #include "sapling/sapling.h" @@ -97,4 +97,4 @@ Optional AttemptSaplingOutDecryption( } -#endif /* ZC_NOTE_ENCRYPTION_H_ */ +#endif // PIVX_SAPLING_NOTEENCRYPTION_H diff --git a/src/sapling/prf.h b/src/sapling/prf.h index b65c79c370dfe..a1fa21f9ebd30 100644 --- a/src/sapling/prf.h +++ b/src/sapling/prf.h @@ -8,8 +8,8 @@ // within the zkSNARK circuit. */ -#ifndef ZC_PRF_H_ -#define ZC_PRF_H_ +#ifndef PIVX_SAPLING_PRF_H +#define PIVX_SAPLING_PRF_H #include "uint256.h" @@ -22,4 +22,4 @@ uint256 PRF_ovk(const uint256& sk); std::array default_diversifier(const uint256& sk); -#endif // ZC_PRF_H_ +#endif // PIVX_SAPLING_PRF_H diff --git a/src/sapling/sapling.h b/src/sapling/sapling.h index d54d7f6aed67f..c319f090294bc 100644 --- a/src/sapling/sapling.h +++ b/src/sapling/sapling.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef ZC_SAPLING_H_ -#define ZC_SAPLING_H_ +#ifndef PIVX_SAPLING_SAPLING_H +#define PIVX_SAPLING_SAPLING_H #include @@ -37,4 +37,4 @@ // Type def typedef std::array diversifier_t; -#endif // ZC_SAPLING_H_ +#endif // PIVX_SAPLING_SAPLING_H diff --git a/src/sapling/sapling_core_write.h b/src/sapling/sapling_core_write.h index d29b4f1e5e822..7983f9400a941 100644 --- a/src/sapling/sapling_core_write.h +++ b/src/sapling/sapling_core_write.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_SAPLING_CORE_WRITE_H -#define PIVX_SAPLING_CORE_WRITE_H +#ifndef PIVX_SAPLING_SAPLING_CORE_WRITE_H +#define PIVX_SAPLING_SAPLING_CORE_WRITE_H #include "primitives/transaction.h" #include @@ -12,4 +12,4 @@ // Format Sapling tx information in json. void TxSaplingToJSON(const CTransaction& tx, UniValue& entry); -#endif //PIVX_SAPLING_CORE_WRITE_H +#endif // PIVX_SAPLING_SAPLING_CORE_WRITE_H diff --git a/src/sapling/sapling_operation.h b/src/sapling/sapling_operation.h index 383452da27af8..71abffd1547f6 100644 --- a/src/sapling/sapling_operation.h +++ b/src/sapling/sapling_operation.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_SAPLING_OPERATION_H -#define PIVX_SAPLING_OPERATION_H +#ifndef PIVX_SAPLING_SAPLING_OPERATION_H +#define PIVX_SAPLING_SAPLING_OPERATION_H #include "amount.h" #include "sapling/transaction_builder.h" @@ -142,4 +142,4 @@ OperationResult GetMemoFromString(const std::string& s, std::array& recipients, bool fromTaddr); -#endif //PIVX_SAPLING_OPERATION_H +#endif // PIVX_SAPLING_SAPLING_OPERATION_H diff --git a/src/sapling/sapling_transaction.h b/src/sapling/sapling_transaction.h index e37458184e39f..0bc1ac7319efe 100644 --- a/src/sapling/sapling_transaction.h +++ b/src/sapling/sapling_transaction.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_SAPLING_TRANSACTION_H -#define PIVX_SAPLING_TRANSACTION_H +#ifndef PIVX_SAPLING_SAPLING_TRANSACTION_H +#define PIVX_SAPLING_SAPLING_TRANSACTION_H #include "serialize.h" #include "streams.h" @@ -130,4 +130,4 @@ class SaplingTxData }; -#endif //PIVX_SAPLING_TRANSACTION_H +#endif // PIVX_SAPLING_SAPLING_TRANSACTION_H diff --git a/src/sapling/sapling_util.h b/src/sapling/sapling_util.h index f86fdf2416ac7..ad08d049bc3fb 100644 --- a/src/sapling/sapling_util.h +++ b/src/sapling/sapling_util.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef ZC_UTIL_H_ -#define ZC_UTIL_H_ +#ifndef PIVX_SAPLING_SAPLING_UTIL_H +#define PIVX_SAPLING_SAPLING_UTIL_H #include "fs.h" #include "uint256.h" @@ -20,4 +20,4 @@ uint64_t convertVectorToInt(const std::vector& v); // random number generator using sodium. uint256 random_uint256(); -#endif // ZC_UTIL_H_ +#endif // PIVX_SAPLING_SAPLING_UTIL_H diff --git a/src/sapling/sapling_validation.h b/src/sapling/sapling_validation.h index d5df2fd5e0990..e3fd1cd90339f 100644 --- a/src/sapling/sapling_validation.h +++ b/src/sapling/sapling_validation.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_SAPLING_VALIDATION_H -#define PIVX_SAPLING_VALIDATION_H +#ifndef PIVX_SAPLING_SAPLING_VALIDATION_H +#define PIVX_SAPLING_SAPLING_VALIDATION_H #include "chainparams.h" @@ -27,4 +27,4 @@ bool ContextualCheckTransaction(const CTransaction &tx, CValidationState &state, }; // End SaplingValidation namespace -#endif //PIVX_SAPLING_VALIDATION_H +#endif // PIVX_SAPLING_SAPLING_VALIDATION_H diff --git a/src/sapling/saplingscriptpubkeyman.h b/src/sapling/saplingscriptpubkeyman.h index 5f0ba39081efa..9fec1850e0b6f 100644 --- a/src/sapling/saplingscriptpubkeyman.h +++ b/src/sapling/saplingscriptpubkeyman.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 PIVX_SAPLINGSCRIPTPUBKEYMAN_H -#define PIVX_SAPLINGSCRIPTPUBKEYMAN_H +#ifndef PIVX_SAPLING_SAPLINGSCRIPTPUBKEYMAN_H +#define PIVX_SAPLING_SAPLINGSCRIPTPUBKEYMAN_H #include "consensus/consensus.h" #include "sapling/incrementalmerkletree.h" @@ -436,4 +436,4 @@ class SaplingScriptPubKeyMan { TxNullifiers mapTxSaplingNullifiers; }; -#endif //PIVX_SAPLINGSCRIPTPUBKEYMAN_H +#endif // PIVX_SAPLING_SAPLINGSCRIPTPUBKEYMAN_H diff --git a/src/sapling/transaction_builder.h b/src/sapling/transaction_builder.h index 6de366cc4eb13..c3993fef81985 100644 --- a/src/sapling/transaction_builder.h +++ b/src/sapling/transaction_builder.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php . -#ifndef TRANSACTION_BUILDER_H -#define TRANSACTION_BUILDER_H +#ifndef PIVX_SAPLING_TRANSACTION_BUILDER_H +#define PIVX_SAPLING_TRANSACTION_BUILDER_H #include "coins.h" #include "consensus/params.h" @@ -146,4 +146,4 @@ class TransactionBuilder void ClearProofsAndSignatures(); }; -#endif /* TRANSACTION_BUILDER_H */ +#endif // PIVX_SAPLING_TRANSACTION_BUILDER_H diff --git a/src/sapling/zip32.h b/src/sapling/zip32.h index b53705130e8fd..07d4626cda929 100644 --- a/src/sapling/zip32.h +++ b/src/sapling/zip32.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#ifndef PIVX_ZIP32_H -#define PIVX_ZIP32_H +#ifndef PIVX_SAPLING_ZIP32_H +#define PIVX_SAPLING_ZIP32_H #include "key.h" #include "optional.h" @@ -124,4 +124,4 @@ bool IsValidSpendingKey(const libzcash::SpendingKey& zkey); /** Check whether a ViewingKey is not an InvalidEncoding. */ bool IsValidViewingKey(const libzcash::ViewingKey& vk); -#endif // PIVX_ZIP32_H +#endif // PIVX_SAPLING_ZIP32_H diff --git a/src/scheduler.h b/src/scheduler.h index c2b1b4a2857a5..609b1ae0d950e 100644 --- a/src/scheduler.h +++ b/src/scheduler.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_SCHEDULER_H -#define BITCOIN_SCHEDULER_H +#ifndef PIVX_SCHEDULER_H +#define PIVX_SCHEDULER_H // // NOTE: @@ -125,4 +125,4 @@ class SingleThreadedSchedulerClient { size_t CallbacksPending(); }; -#endif +#endif // PIVX_SCHEDULER_H diff --git a/src/script/bitcoinconsensus.h b/src/script/bitcoinconsensus.h index f7e34cf6787b1..b69d67e8bdc7a 100644 --- a/src/script/bitcoinconsensus.h +++ b/src/script/bitcoinconsensus.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_BITCOINCONSENSUS_H -#define BITCOIN_BITCOINCONSENSUS_H +#ifndef PIVX_SCRIPT_BITCOINCONSENSUS_H +#define PIVX_SCRIPT_BITCOINCONSENSUS_H #if defined(BUILD_BITCOIN_INTERNAL) && defined(HAVE_CONFIG_H) #include "config/pivx-config.h" @@ -65,4 +65,4 @@ EXPORT_SYMBOL unsigned int bitcoinconsensus_version(); #undef EXPORT_SYMBOL -#endif // BITCOIN_BITCOINCONSENSUS_H +#endif // PIVX_SCRIPT_BITCOINCONSENSUS_H diff --git a/src/script/descriptor.h b/src/script/descriptor.h index e6c7f42123d27..b748d62a21f42 100644 --- a/src/script/descriptor.h +++ b/src/script/descriptor.h @@ -3,8 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_SCRIPT_DESCRIPTOR_H -#define BITCOIN_SCRIPT_DESCRIPTOR_H +#ifndef PIVX_SCRIPT_DESCRIPTOR_H +#define PIVX_SCRIPT_DESCRIPTOR_H #include