Browse Source

Hush Hush Hush

dev
Duke Leto 4 years ago
parent
commit
abc0b55d05
  1. 6
      src/addressindex.h
  2. 6
      src/addrman.h
  3. 6
      src/alert.h
  4. 4
      src/alertkeys.h
  5. 6
      src/amount.h
  6. 6
      src/arith_uint256.h
  7. 6
      src/base58.h
  8. 6
      src/bech32.h
  9. 6
      src/bloom.h
  10. 6
      src/chain.h
  11. 6
      src/chainparams.h
  12. 6
      src/chainparamsbase.h
  13. 6
      src/chainparamsseeds.h
  14. 6
      src/checkpoints.h
  15. 6
      src/checkqueue.h
  16. 6
      src/clientversion.h
  17. 6
      src/coincontrol.h
  18. 6
      src/coins.h
  19. 6
      src/compat.h
  20. 6
      src/compressor.h
  21. 6
      src/core_io.h
  22. 6
      src/core_memusage.h
  23. 6
      src/dbwrapper.h
  24. 6
      src/hash.h
  25. 4
      src/httprpc.h
  26. 6
      src/httpserver.h
  27. 6
      src/init.h
  28. 6
      src/key.h
  29. 6
      src/key_io.h
  30. 6
      src/keystore.h
  31. 6
      src/limitedmap.h
  32. 6
      src/main.h
  33. 4
      src/memusage.h
  34. 6
      src/merkleblock.h
  35. 6
      src/miner.h
  36. 6
      src/mruset.h
  37. 6
      src/net.h
  38. 6
      src/netbase.h
  39. 6
      src/noui.h
  40. 6
      src/pow.h
  41. 4
      src/prevector.h
  42. 6
      src/pubkey.h
  43. 6
      src/random.h
  44. 6
      src/reverselock.h
  45. 4
      src/scheduler.h
  46. 6
      src/serialize.h
  47. 6
      src/spentindex.h
  48. 6
      src/streams.h
  49. 6
      src/sync.h
  50. 6
      src/threadsafety.h
  51. 6
      src/timedata.h
  52. 6
      src/torcontrol.h
  53. 6
      src/ui_interface.h
  54. 6
      src/uint256.h
  55. 6
      src/undo.h
  56. 6
      src/util.h
  57. 6
      src/utilmoneystr.h
  58. 6
      src/utilstrencodings.h
  59. 6
      src/utiltime.h
  60. 6
      src/validationinterface.h

6
src/addressindex.h

@ -4,8 +4,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_ADDRESSINDEX_H
#define BITCOIN_ADDRESSINDEX_H
#ifndef HUSH_ADDRESSINDEX_H
#define HUSH_ADDRESSINDEX_H
#include "uint256.h"
#include "amount.h"
@ -80,4 +80,4 @@ struct CMempoolAddressDeltaKeyCompare
}
};
#endif // BITCOIN_ADDRESSINDEX_H
#endif // HUSH_ADDRESSINDEX_H

6
src/addrman.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_ADDRMAN_H
#define BITCOIN_ADDRMAN_H
#ifndef HUSH_ADDRMAN_H
#define HUSH_ADDRMAN_H
#include "netbase.h"
#include "protocol.h"
@ -645,4 +645,4 @@ public:
};
#endif // BITCOIN_ADDRMAN_H
#endif // HUSH_ADDRMAN_H

6
src/alert.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_ALERT_H
#define BITCOIN_ALERT_H
#ifndef HUSH_ALERT_H
#define HUSH_ALERT_H
#include "serialize.h"
#include "sync.h"
@ -125,4 +125,4 @@ public:
static CAlert getAlertByHash(const uint256 &hash);
};
#endif // BITCOIN_ALERT_H
#endif // HUSH_ALERT_H

4
src/alertkeys.h

@ -14,8 +14,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_ALERTKEYS_H
#define BITCOIN_ALERTKEYS_H
#ifndef HUSH_ALERTKEYS_H
#define HUSH_ALERTKEYS_H
// REMINDER: DO NOT COMMIT YOUR PRIVATE KEYS TO THE GIT REPOSITORY, lulz

6
src/amount.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_AMOUNT_H
#define BITCOIN_AMOUNT_H
#ifndef HUSH_AMOUNT_H
#define HUSH_AMOUNT_H
#include "serialize.h"
@ -79,4 +79,4 @@ public:
}
};
#endif // BITCOIN_AMOUNT_H
#endif // HUSH_AMOUNT_H

6
src/arith_uint256.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_ARITH_UINT256_H
#define BITCOIN_ARITH_UINT256_H
#ifndef HUSH_ARITH_UINT256_H
#define HUSH_ARITH_UINT256_H
#include <assert.h>
#include <cstring>
@ -303,4 +303,4 @@ public:
uint256 ArithToUint256(const arith_uint256 &);
arith_uint256 UintToArith256(const uint256 &);
#endif // BITCOIN_ARITH_UINT256_H
#endif // HUSH_ARITH_UINT256_H

6
src/base58.h

@ -26,8 +26,8 @@
* - E-mail usually won't line-break if there's no punctuation to break at.
* - Double-clicking selects the whole string as one word if it's all alphanumeric.
*/
#ifndef BITCOIN_BASE58_H
#define BITCOIN_BASE58_H
#ifndef HUSH_BASE58_H
#define HUSH_BASE58_H
#include "chainparams.h"
#include "key.h"
@ -224,4 +224,4 @@ public:
typedef CBitcoinExtKeyBase<CExtKey, 74, CChainParams::EXT_SECRET_KEY> CBitcoinExtKey;
typedef CBitcoinExtKeyBase<CExtPubKey, 74, CChainParams::EXT_PUBLIC_KEY> CBitcoinExtPubKey;
#endif // BITCOIN_BASE58_H
#endif // HUSH_BASE58_H

6
src/bech32.h

@ -10,8 +10,8 @@
//
// For more information, see BIP 173.
#ifndef BITCOIN_BECH32_H
#define BITCOIN_BECH32_H
#ifndef HUSH_BECH32_H
#define HUSH_BECH32_H
#include <stdint.h>
#include <string>
@ -28,4 +28,4 @@ std::pair<std::string, std::vector<uint8_t>> Decode(const std::string& str);
} // namespace bech32
#endif // BITCOIN_BECH32_H
#endif // HUSH_BECH32_H

6
src/bloom.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_BLOOM_H
#define BITCOIN_BLOOM_H
#ifndef HUSH_BLOOM_H
#define HUSH_BLOOM_H
#include "serialize.h"
@ -150,4 +150,4 @@ private:
};
#endif // BITCOIN_BLOOM_H
#endif // HUSH_BLOOM_H

6
src/chain.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CHAIN_H
#define BITCOIN_CHAIN_H
#ifndef HUSH_CHAIN_H
#define HUSH_CHAIN_H
class CChainPower;
@ -777,4 +777,4 @@ public:
const CBlockIndex *FindFork(const CBlockIndex *pindex) const;
};
#endif // BITCOIN_CHAIN_H
#endif // HUSH_CHAIN_H

6
src/chainparams.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CHAINPARAMS_H
#define BITCOIN_CHAINPARAMS_H
#ifndef HUSH_CHAINPARAMS_H
#define HUSH_CHAINPARAMS_H
#include "chainparamsbase.h"
#include "consensus/params.h"
@ -182,4 +182,4 @@ bool SelectParamsFromCommandLine();
*/
void UpdateNetworkUpgradeParameters(Consensus::UpgradeIndex idx, int nActivationHeight);
#endif // BITCOIN_CHAINPARAMS_H
#endif // HUSH_CHAINPARAMS_H

6
src/chainparamsbase.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CHAINPARAMSBASE_H
#define BITCOIN_CHAINPARAMSBASE_H
#ifndef HUSH_CHAINPARAMSBASE_H
#define HUSH_CHAINPARAMSBASE_H
#include <string>
#include <vector>
@ -75,4 +75,4 @@ bool SelectBaseParamsFromCommandLine();
*/
bool AreBaseParamsConfigured();
#endif // BITCOIN_CHAINPARAMSBASE_H
#endif // HUSH_CHAINPARAMSBASE_H

6
src/chainparamsseeds.h

@ -13,8 +13,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CHAINPARAMSSEEDS_H
#define BITCOIN_CHAINPARAMSSEEDS_H
#ifndef HUSH_CHAINPARAMSSEEDS_H
#define HUSH_CHAINPARAMSSEEDS_H
/**
* List of fixed seed nodes for the bitcoin network
* AUTOGENERATED by contrib/seeds/generate-seeds.py
@ -33,4 +33,4 @@ static SeedSpec6 pnSeed6_main[] = {
static SeedSpec6 pnSeed6_test[] = {
};
#endif // BITCOIN_CHAINPARAMSSEEDS_H
#endif // HUSH_CHAINPARAMSSEEDS_H

6
src/checkpoints.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CHECKPOINTS_H
#define BITCOIN_CHECKPOINTS_H
#ifndef HUSH_CHECKPOINTS_H
#define HUSH_CHECKPOINTS_H
#include "uint256.h"
#include "chainparams.h"
@ -57,4 +57,4 @@ double GuessVerificationProgress(const CChainParams::CCheckpointData& data, CBlo
} //namespace Checkpoints
#endif // BITCOIN_CHECKPOINTS_H
#endif // HUSH_CHECKPOINTS_H

6
src/checkqueue.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CHECKQUEUE_H
#define BITCOIN_CHECKQUEUE_H
#ifndef HUSH_CHECKQUEUE_H
#define HUSH_CHECKQUEUE_H
#include <algorithm>
#include <vector>
@ -228,4 +228,4 @@ public:
}
};
#endif // BITCOIN_CHECKQUEUE_H
#endif // HUSH_CHECKQUEUE_H

6
src/clientversion.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#ifndef HUSH_CLIENTVERSION_H
#define HUSH_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
@ -86,4 +86,4 @@ std::string FormatSubVersion(const std::string& name, int nClientVersion, const
#endif // WINDRES_PREPROC
#endif // BITCOIN_CLIENTVERSION_H
#endif // HUSH_CLIENTVERSION_H

6
src/coincontrol.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_COINCONTROL_H
#define BITCOIN_COINCONTROL_H
#ifndef HUSH_COINCONTROL_H
#define HUSH_COINCONTROL_H
#include "primitives/transaction.h"
@ -78,4 +78,4 @@ private:
std::set<COutPoint> setSelected;
};
#endif // BITCOIN_COINCONTROL_H
#endif // HUSH_COINCONTROL_H

6
src/coins.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_COINS_H
#define BITCOIN_COINS_H
#ifndef HUSH_COINS_H
#define HUSH_COINS_H
#define KOMODO_ENABLE_INTEREST //enabling this is a hardfork, activate with new RR method
@ -604,4 +604,4 @@ private:
);
};
#endif // BITCOIN_COINS_H
#endif // HUSH_COINS_H

6
src/compat.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_COMPAT_H
#define BITCOIN_COMPAT_H
#ifndef HUSH_COMPAT_H
#define HUSH_COMPAT_H
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
@ -116,4 +116,4 @@ bool static inline IsSelectableSocket(SOCKET s) {
#endif
}
#endif // BITCOIN_COMPAT_H
#endif // HUSH_COMPAT_H

6
src/compressor.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_COMPRESSOR_H
#define BITCOIN_COMPRESSOR_H
#ifndef HUSH_COMPRESSOR_H
#define HUSH_COMPRESSOR_H
#include "primitives/transaction.h"
#include "script/script.h"
@ -133,4 +133,4 @@ public:
}
};
#endif // BITCOIN_COMPRESSOR_H
#endif // HUSH_COMPRESSOR_H

6
src/core_io.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_CORE_IO_H
#define BITCOIN_CORE_IO_H
#ifndef HUSH_CORE_IO_H
#define HUSH_CORE_IO_H
#include <string>
#include <vector>
@ -44,4 +44,4 @@ extern std::string EncodeHexTx(const CTransaction& tx);
extern void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex);
extern void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry);
#endif // BITCOIN_CORE_IO_H
#endif // HUSH_CORE_IO_H

6
src/core_memusage.h

@ -2,8 +2,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_CORE_MEMUSAGE_H
#define BITCOIN_CORE_MEMUSAGE_H
#ifndef HUSH_CORE_MEMUSAGE_H
#define HUSH_CORE_MEMUSAGE_H
#include "primitives/transaction.h"
#include "primitives/block.h"
@ -59,4 +59,4 @@ static inline size_t RecursiveDynamicUsage(const CBlockLocator& locator) {
return memusage::DynamicUsage(locator.vHave);
}
#endif // BITCOIN_CORE_MEMUSAGE_H
#endif // HUSH_CORE_MEMUSAGE_H

6
src/dbwrapper.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_DBWRAPPER_H
#define BITCOIN_DBWRAPPER_H
#ifndef HUSH_DBWRAPPER_H
#define HUSH_DBWRAPPER_H
#include "clientversion.h"
#include "serialize.h"
@ -276,5 +276,5 @@ public:
bool IsEmpty();
};
#endif // BITCOIN_DBWRAPPER_H
#endif // HUSH_DBWRAPPER_H

6
src/hash.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_HASH_H
#define BITCOIN_HASH_H
#ifndef HUSH_HASH_H
#define HUSH_HASH_H
#include "crypto/ripemd160.h"
#include "crypto/sha256.h"
@ -234,4 +234,4 @@ unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64]);
#endif // BITCOIN_HASH_H
#endif // HUSH_HASH_H

4
src/httprpc.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_HTTPRPC_H
#define BITCOIN_HTTPRPC_H
#ifndef HUSH_HTTPRPC_H
#define HUSH_HTTPRPC_H
#include <string>
#include <map>

6
src/httpserver.h

@ -2,8 +2,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_HTTPSERVER_H
#define BITCOIN_HTTPSERVER_H
#ifndef HUSH_HTTPSERVER_H
#define HUSH_HTTPSERVER_H
#include <string>
#include <stdint.h>
@ -152,4 +152,4 @@ private:
struct event* ev;
};
#endif // BITCOIN_HTTPSERVER_H
#endif // HUSH_HTTPSERVER_H

6
src/init.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_INIT_H
#define BITCOIN_INIT_H
#ifndef HUSH_INIT_H
#define HUSH_INIT_H
#include <string>
@ -49,4 +49,4 @@ enum HelpMessageMode {
/** Help for options shared between UI and daemon (for -help) */
std::string HelpMessage(HelpMessageMode mode);
#endif // BITCOIN_INIT_H
#endif // HUSH_INIT_H

6
src/key.h

@ -20,8 +20,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_KEY_H
#define BITCOIN_KEY_H
#ifndef HUSH_KEY_H
#define HUSH_KEY_H
#include "pubkey.h"
#include "serialize.h"
@ -220,4 +220,4 @@ void ECC_Stop(void);
/** Check that required EC support is available at runtime. */
bool ECC_InitSanityCheck(void);
#endif // BITCOIN_KEY_H
#endif // HUSH_KEY_H

6
src/key_io.h

@ -5,8 +5,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_KEYIO_H
#define BITCOIN_KEYIO_H
#ifndef HUSH_KEYIO_H
#define HUSH_KEYIO_H
#include <chainparams.h>
#include <key.h>
@ -42,4 +42,4 @@ libzcash::ViewingKey DecodeViewingKey(const std::string& str);
std::string EncodeSpendingKey(const libzcash::SpendingKey& zkey);
libzcash::SpendingKey DecodeSpendingKey(const std::string& str);
#endif // BITCOIN_KEYIO_H
#endif // HUSH_KEYIO_H

6
src/keystore.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_KEYSTORE_H
#define BITCOIN_KEYSTORE_H
#ifndef HUSH_KEYSTORE_H
#define HUSH_KEYSTORE_H
#include "key.h"
#include "pubkey.h"
@ -245,4 +245,4 @@ typedef std::map<CKeyID, std::pair<CPubKey, std::vector<unsigned char> > > Crypt
//! Sapling
typedef std::map<libzcash::SaplingExtendedFullViewingKey, std::vector<unsigned char> > CryptedSaplingSpendingKeyMap;
#endif // BITCOIN_KEYSTORE_H
#endif // HUSH_KEYSTORE_H

6
src/limitedmap.h

@ -2,8 +2,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_LIMITEDMAP_H
#define BITCOIN_LIMITEDMAP_H
#ifndef HUSH_LIMITEDMAP_H
#define HUSH_LIMITEDMAP_H
#include <assert.h>
#include <map>
@ -91,4 +91,4 @@ public:
}
};
#endif // BITCOIN_LIMITEDMAP_H
#endif // HUSH_LIMITEDMAP_H

6
src/main.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#ifndef HUSH_MAIN_H
#define HUSH_MAIN_H
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
@ -953,4 +953,4 @@ std::pair<std::map<CBlockIndex*, std::list<CTransaction>>, uint64_t> DrainRecent
void SetChainNotifiedSequence(uint64_t recentlyConflictedSequence);
bool ChainIsFullyNotified();
#endif // BITCOIN_MAIN_H
#endif // HUSH_MAIN_H

4
src/memusage.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_MEMUSAGE_H
#define BITCOIN_MEMUSAGE_H
#ifndef HUSH_MEMUSAGE_H
#define HUSH_MEMUSAGE_H
#include <stdlib.h>

6
src/merkleblock.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_MERKLEBLOCK_H
#define BITCOIN_MERKLEBLOCK_H
#ifndef HUSH_MERKLEBLOCK_H
#define HUSH_MERKLEBLOCK_H
#include "serialize.h"
#include "uint256.h"
@ -168,4 +168,4 @@ public:
}
};
#endif // BITCOIN_MERKLEBLOCK_H
#endif // HUSH_MERKLEBLOCK_H

6
src/miner.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_MINER_H
#define BITCOIN_MINER_H
#ifndef HUSH_MINER_H
#define HUSH_MINER_H
#include "primitives/block.h"
@ -66,4 +66,4 @@ void GenerateBitcoins(bool fGenerate, int nThreads);
void UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev);
#endif // BITCOIN_MINER_H
#endif // HUSH_MINER_H

6
src/mruset.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_MRUSET_H
#define BITCOIN_MRUSET_H
#ifndef HUSH_MRUSET_H
#define HUSH_MRUSET_H
#include <set>
#include <vector>
@ -77,4 +77,4 @@ public:
size_type max_size() const { return nMaxSize; }
};
#endif // BITCOIN_MRUSET_H
#endif // HUSH_MRUSET_H

6
src/net.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_NET_H
#define BITCOIN_NET_H
#ifndef HUSH_NET_H
#define HUSH_NET_H
#include "bloom.h"
#include "compat.h"
@ -720,4 +720,4 @@ public:
bool Read(CAddrMan& addr);
};
#endif // BITCOIN_NET_H
#endif // HUSH_NET_H

6
src/netbase.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_NETBASE_H
#define BITCOIN_NETBASE_H
#ifndef HUSH_NETBASE_H
#define HUSH_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
@ -240,4 +240,4 @@ struct timeval MillisToTimeval(int64_t nTimeout);
bool SanityCheckASMap(const std::vector<bool>& asmap);
#endif // BITCOIN_NETBASE_H
#endif // HUSH_NETBASE_H

6
src/noui.h

@ -17,9 +17,9 @@
* *
******************************************************************************/
#ifndef BITCOIN_NOUI_H
#define BITCOIN_NOUI_H
#ifndef HUSH_NOUI_H
#define HUSH_NOUI_H
extern void noui_connect();
#endif // BITCOIN_NOUI_H
#endif // HUSH_NOUI_H

6
src/pow.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_POW_H
#define BITCOIN_POW_H
#ifndef HUSH_POW_H
#define HUSH_POW_H
#include "chain.h"
#include "consensus/params.h"
@ -47,4 +47,4 @@ CChainPower GetBlockProof(const CBlockIndex& block);
/** Return the time it would take to redo the work difference between from and to, assuming the current hashrate corresponds to the difficulty at tip, in seconds. */
int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockIndex& tip, const Consensus::Params&);
#endif // BITCOIN_POW_H
#endif // HUSH_POW_H

4
src/prevector.h

@ -1,5 +1,5 @@
#ifndef _BITCOIN_PREVECTOR_H_
#define _BITCOIN_PREVECTOR_H_
#ifndef _HUSH_PREVECTOR_H_
#define _HUSH_PREVECTOR_H_
#include <util.h>

6
src/pubkey.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_PUBKEY_H
#define BITCOIN_PUBKEY_H
#ifndef HUSH_PUBKEY_H
#define HUSH_PUBKEY_H
#include "hash.h"
#include "serialize.h"
@ -266,4 +266,4 @@ public:
~ECCVerifyHandle();
};
#endif // BITCOIN_PUBKEY_H
#endif // HUSH_PUBKEY_H

6
src/random.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_RANDOM_H
#define BITCOIN_RANDOM_H
#ifndef HUSH_RANDOM_H
#define HUSH_RANDOM_H
#include "uint256.h"
@ -86,4 +86,4 @@ static inline uint32_t insecure_rand(void)
return (insecure_rand_Rw << 16) + insecure_rand_Rz;
}
#endif // BITCOIN_RANDOM_H
#endif // HUSH_RANDOM_H

6
src/reverselock.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_REVERSELOCK_H
#define BITCOIN_REVERSELOCK_H
#ifndef HUSH_REVERSELOCK_H
#define HUSH_REVERSELOCK_H
/**
* An RAII-style reverse lock. Unlocks on construction and locks on destruction.
@ -46,4 +46,4 @@ private:
Lock templock;
};
#endif // BITCOIN_REVERSELOCK_H
#endif // HUSH_REVERSELOCK_H

4
src/scheduler.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_SCHEDULER_H
#define BITCOIN_SCHEDULER_H
#ifndef HUSH_SCHEDULER_H
#define HUSH_SCHEDULER_H
//
// NOTE:

6
src/serialize.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_SERIALIZE_H
#define BITCOIN_SERIALIZE_H
#ifndef HUSH_SERIALIZE_H
#define HUSH_SERIALIZE_H
#include "compat/endian.h"
@ -1117,4 +1117,4 @@ size_t GetSerializeSize(const S& s, const T& t)
return (CSizeComputer(s.GetType(), s.GetVersion()) << t).size();
}
#endif // BITCOIN_SERIALIZE_H
#endif // HUSH_SERIALIZE_H

6
src/spentindex.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_SPENTINDEX_H
#define BITCOIN_SPENTINDEX_H
#ifndef HUSH_SPENTINDEX_H
#define HUSH_SPENTINDEX_H
#include "uint256.h"
#include "amount.h"
@ -95,4 +95,4 @@ struct CSpentIndexKeyCompare
}
};
#endif // BITCOIN_SPENTINDEX_H
#endif // HUSH_SPENTINDEX_H

6
src/streams.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_STREAMS_H
#define BITCOIN_STREAMS_H
#ifndef HUSH_STREAMS_H
#define HUSH_STREAMS_H
#include "support/allocators/zeroafterfree.h"
#include "serialize.h"
@ -670,4 +670,4 @@ public:
}
};
#endif // BITCOIN_STREAMS_H
#endif // HUSH_STREAMS_H

6
src/sync.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_SYNC_H
#define BITCOIN_SYNC_H
#ifndef HUSH_SYNC_H
#define HUSH_SYNC_H
#include "threadsafety.h"
@ -293,4 +293,4 @@ public:
}
};
#endif // BITCOIN_SYNC_H
#endif // HUSH_SYNC_H

6
src/threadsafety.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_THREADSAFETY_H
#define BITCOIN_THREADSAFETY_H
#ifndef HUSH_THREADSAFETY_H
#define HUSH_THREADSAFETY_H
#ifdef __clang__
// TL;DR Add GUARDED_BY(mutex) to member variables. The others are
@ -52,4 +52,4 @@
#define NO_THREAD_SAFETY_ANALYSIS
#endif // __GNUC__
#endif // BITCOIN_THREADSAFETY_H
#endif // HUSH_THREADSAFETY_H

6
src/timedata.h

@ -4,8 +4,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_TIMEDATA_H
#define BITCOIN_TIMEDATA_H
#ifndef HUSH_TIMEDATA_H
#define HUSH_TIMEDATA_H
#include <set>
#include <stdint.h>
@ -36,4 +36,4 @@ public:
extern CTimeWarning timeWarning;
#endif // BITCOIN_TIMEDATA_H
#endif // HUSH_TIMEDATA_H

6
src/torcontrol.h

@ -6,8 +6,8 @@
/**
* Functionality for communicating with Tor.
*/
#ifndef BITCOIN_TORCONTROL_H
#define BITCOIN_TORCONTROL_H
#ifndef HUSH_TORCONTROL_H
#define HUSH_TORCONTROL_H
#include "scheduler.h"
@ -18,4 +18,4 @@ void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);
void InterruptTorControl();
void StopTorControl();
#endif /* BITCOIN_TORCONTROL_H */
#endif /* HUSH_TORCONTROL_H */

6
src/ui_interface.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_UI_INTERFACE_H
#define BITCOIN_UI_INTERFACE_H
#ifndef HUSH_UI_INTERFACE_H
#define HUSH_UI_INTERFACE_H
#include <stdint.h>
#include <string>
@ -105,4 +105,4 @@ public:
extern CClientUIInterface uiInterface;
#endif // BITCOIN_UI_INTERFACE_H
#endif // HUSH_UI_INTERFACE_H

6
src/uint256.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_UINT256_H
#define BITCOIN_UINT256_H
#ifndef HUSH_UINT256_H
#define HUSH_UINT256_H
#include <assert.h>
#include <cstring>
@ -174,4 +174,4 @@ inline uint256 uint256S(const std::string& str)
return rv;
}
#endif // BITCOIN_UINT256_H
#endif // HUSH_UINT256_H

6
src/undo.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_UNDO_H
#define BITCOIN_UNDO_H
#ifndef HUSH_UNDO_H
#define HUSH_UNDO_H
#include "compressor.h"
#include "primitives/transaction.h"
@ -78,4 +78,4 @@ public:
}
};
#endif // BITCOIN_UNDO_H
#endif // HUSH_UNDO_H

6
src/util.h

@ -23,8 +23,8 @@
* Server/client environment: argument handling, config file parsing,
* logging, thread wrappers
*/
#ifndef BITCOIN_UTIL_H
#define BITCOIN_UTIL_H
#ifndef HUSH_UTIL_H
#define HUSH_UTIL_H
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
@ -295,4 +295,4 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &outVals);
#define HUSH_SMART_CHAIN_MAXLEN 65
#endif // BITCOIN_UTIL_H
#endif // HUSH_UTIL_H

6
src/utilmoneystr.h

@ -6,8 +6,8 @@
/**
* Money parsing/formatting utilities.
*/
#ifndef BITCOIN_UTILMONEYSTR_H
#define BITCOIN_UTILMONEYSTR_H
#ifndef HUSH_UTILMONEYSTR_H
#define HUSH_UTILMONEYSTR_H
#include <stdint.h>
#include <string>
@ -18,4 +18,4 @@ std::string FormatMoney(const CAmount& n);
bool ParseMoney(const std::string& str, CAmount& nRet);
bool ParseMoney(const char* pszIn, CAmount& nRet);
#endif // BITCOIN_UTILMONEYSTR_H
#endif // HUSH_UTILMONEYSTR_H

6
src/utilstrencodings.h

@ -6,8 +6,8 @@
/**
* Utilities for converting data from/to strings.
*/
#ifndef BITCOIN_UTILSTRENCODINGS_H
#define BITCOIN_UTILSTRENCODINGS_H
#ifndef HUSH_UTILSTRENCODINGS_H
#define HUSH_UTILSTRENCODINGS_H
#include <stdint.h>
#include <string>
@ -167,4 +167,4 @@ bool ConvertBits(const O& outfn, I it, I end) {
return true;
}
#endif // BITCOIN_UTILSTRENCODINGS_H
#endif // HUSH_UTILSTRENCODINGS_H

6
src/utiltime.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_UTILTIME_H
#define BITCOIN_UTILTIME_H
#ifndef HUSH_UTILTIME_H
#define HUSH_UTILTIME_H
#include <stdint.h>
#include <string>
@ -17,4 +17,4 @@ void MilliSleep(int64_t n);
std::string DateTimeStrFormat(const char* pszFormat, int64_t nTime);
#endif // BITCOIN_UTILTIME_H
#endif // HUSH_UTILTIME_H

6
src/validationinterface.h

@ -3,8 +3,8 @@
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef BITCOIN_VALIDATIONINTERFACE_H
#define BITCOIN_VALIDATIONINTERFACE_H
#ifndef HUSH_VALIDATIONINTERFACE_H
#define HUSH_VALIDATIONINTERFACE_H
#include <boost/signals2/signal.hpp>
@ -80,4 +80,4 @@ CMainSignals& GetMainSignals();
void ThreadNotifyWallets(CBlockIndex *pindexLastTip);
#endif // BITCOIN_VALIDATIONINTERFACE_H
#endif // HUSH_VALIDATIONINTERFACE_H

Loading…
Cancel
Save