Hush them headers
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_COMPAT_BYTESWAP_H
|
||||
#define BITCOIN_COMPAT_BYTESWAP_H
|
||||
#ifndef HUSH_COMPAT_BYTESWAP_H
|
||||
#define HUSH_COMPAT_BYTESWAP_H
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "config/bitcoin-config.h"
|
||||
@@ -44,4 +44,4 @@ inline uint64_t bswap_64(uint64_t x)
|
||||
}
|
||||
#endif // HAVE_DECL_BSWAP64
|
||||
|
||||
#endif // BITCOIN_COMPAT_BYTESWAP_H
|
||||
#endif // HUSH_COMPAT_BYTESWAP_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_COMPAT_ENDIAN_H
|
||||
#define BITCOIN_COMPAT_ENDIAN_H
|
||||
#ifndef HUSH_COMPAT_ENDIAN_H
|
||||
#define HUSH_COMPAT_ENDIAN_H
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "config/bitcoin-config.h"
|
||||
@@ -193,4 +193,4 @@ inline uint64_t le64toh(uint64_t little_endian_64bits)
|
||||
|
||||
#endif // WORDS_BIGENDIAN
|
||||
|
||||
#endif // BITCOIN_COMPAT_ENDIAN_H
|
||||
#endif // HUSH_COMPAT_ENDIAN_H
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_COMPAT_SANITY_H
|
||||
#define BITCOIN_COMPAT_SANITY_H
|
||||
#ifndef HUSH_COMPAT_SANITY_H
|
||||
#define HUSH_COMPAT_SANITY_H
|
||||
|
||||
bool glibc_sanity_test();
|
||||
bool glibcxx_sanity_test();
|
||||
|
||||
#endif // BITCOIN_COMPAT_SANITY_H
|
||||
#endif // HUSH_COMPAT_SANITY_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_CONSENSUS_CONSENSUS_H
|
||||
#define BITCOIN_CONSENSUS_CONSENSUS_H
|
||||
#ifndef HUSH_CONSENSUS_CONSENSUS_H
|
||||
#define HUSH_CONSENSUS_CONSENSUS_H
|
||||
|
||||
/** The minimum allowed block version (network rule) */
|
||||
static const int32_t MIN_BLOCK_VERSION = 4;
|
||||
@@ -54,4 +54,4 @@ enum {
|
||||
/** Used as the flags parameter to CheckFinalTx() in non-consensus code */
|
||||
static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST;
|
||||
|
||||
#endif // BITCOIN_CONSENSUS_CONSENSUS_H
|
||||
#endif // HUSH_CONSENSUS_CONSENSUS_H
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_CONSENSUS_PARAMS_H
|
||||
#define BITCOIN_CONSENSUS_PARAMS_H
|
||||
#ifndef HUSH_CONSENSUS_PARAMS_H
|
||||
#define HUSH_CONSENSUS_PARAMS_H
|
||||
|
||||
#include "uint256.h"
|
||||
|
||||
@@ -137,4 +137,4 @@ struct Params {
|
||||
};
|
||||
} // namespace Consensus
|
||||
|
||||
#endif // BITCOIN_CONSENSUS_PARAMS_H
|
||||
#endif // HUSH_CONSENSUS_PARAMS_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_CONSENSUS_VALIDATION_H
|
||||
#define BITCOIN_CONSENSUS_VALIDATION_H
|
||||
#ifndef HUSH_CONSENSUS_VALIDATION_H
|
||||
#define HUSH_CONSENSUS_VALIDATION_H
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -93,4 +93,4 @@ public:
|
||||
virtual std::string GetRejectReason() const { return strRejectReason; }
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CONSENSUS_VALIDATION_H
|
||||
#endif // HUSH_CONSENSUS_VALIDATION_H
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_COMMON_H
|
||||
#define BITCOIN_CRYPTO_COMMON_H
|
||||
#ifndef HUSH_CRYPTO_COMMON_H
|
||||
#define HUSH_CRYPTO_COMMON_H
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "bitcoin-config.h"
|
||||
@@ -145,4 +145,4 @@ int inline init_and_check_sodium()
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif // BITCOIN_CRYPTO_COMMON_H
|
||||
#endif // HUSH_CRYPTO_COMMON_H
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_EQUIHASH_H
|
||||
#define BITCOIN_EQUIHASH_H
|
||||
#ifndef HUSH_EQUIHASH_H
|
||||
#define HUSH_EQUIHASH_H
|
||||
|
||||
#include "crypto/sha256.h"
|
||||
#include "utilstrencodings.h"
|
||||
@@ -311,4 +311,4 @@ inline bool EhOptimisedSolveUncancellable(unsigned int n, unsigned int k, const
|
||||
throw std::invalid_argument("Unsupported Equihash parameters"); \
|
||||
}
|
||||
|
||||
#endif // BITCOIN_EQUIHASH_H
|
||||
#endif // HUSH_EQUIHASH_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H
|
||||
#define BITCOIN_CRYPTO_HMAC_SHA256_H
|
||||
#ifndef HUSH_CRYPTO_HMAC_SHA256_H
|
||||
#define HUSH_CRYPTO_HMAC_SHA256_H
|
||||
|
||||
#include "crypto/sha256.h"
|
||||
|
||||
@@ -29,4 +29,4 @@ public:
|
||||
void Finalize(unsigned char hash[OUTPUT_SIZE]);
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_HMAC_SHA256_H
|
||||
#endif // HUSH_CRYPTO_HMAC_SHA256_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
|
||||
#define BITCOIN_CRYPTO_HMAC_SHA512_H
|
||||
#ifndef HUSH_CRYPTO_HMAC_SHA512_H
|
||||
#define HUSH_CRYPTO_HMAC_SHA512_H
|
||||
|
||||
#include "crypto/sha512.h"
|
||||
|
||||
@@ -29,4 +29,4 @@ public:
|
||||
void Finalize(unsigned char hash[OUTPUT_SIZE]);
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_HMAC_SHA512_H
|
||||
#endif // HUSH_CRYPTO_HMAC_SHA512_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_RIPEMD160_H
|
||||
#define BITCOIN_CRYPTO_RIPEMD160_H
|
||||
#ifndef HUSH_CRYPTO_RIPEMD160_H
|
||||
#define HUSH_CRYPTO_RIPEMD160_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
CRIPEMD160& Reset();
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_RIPEMD160_H
|
||||
#endif // HUSH_CRYPTO_RIPEMD160_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_SHA1_H
|
||||
#define BITCOIN_CRYPTO_SHA1_H
|
||||
#ifndef HUSH_CRYPTO_SHA1_H
|
||||
#define HUSH_CRYPTO_SHA1_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
CSHA1& Reset();
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_SHA1_H
|
||||
#endif // HUSH_CRYPTO_SHA1_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_SHA256_H
|
||||
#define BITCOIN_CRYPTO_SHA256_H
|
||||
#ifndef HUSH_CRYPTO_SHA256_H
|
||||
#define HUSH_CRYPTO_SHA256_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -34,4 +34,4 @@ public:
|
||||
*/
|
||||
std::string SHA256AutoDetect();
|
||||
|
||||
#endif // BITCOIN_CRYPTO_SHA256_H
|
||||
#endif // HUSH_CRYPTO_SHA256_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_SHA512_H
|
||||
#define BITCOIN_CRYPTO_SHA512_H
|
||||
#ifndef HUSH_CRYPTO_SHA512_H
|
||||
#define HUSH_CRYPTO_SHA512_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
CSHA512& Reset();
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_SHA512_H
|
||||
#endif // HUSH_CRYPTO_SHA512_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_POLICYESTIMATOR_H
|
||||
#define BITCOIN_POLICYESTIMATOR_H
|
||||
#ifndef HUSH_POLICYESTIMATOR_H
|
||||
#define HUSH_POLICYESTIMATOR_H
|
||||
|
||||
#include "amount.h"
|
||||
#include "uint256.h"
|
||||
@@ -293,4 +293,4 @@ private:
|
||||
CFeeRate feeLikely, feeUnlikely;
|
||||
double priLikely, priUnlikely;
|
||||
};
|
||||
#endif /*BITCOIN_POLICYESTIMATOR_H */
|
||||
#endif /*HUSH_POLICYESTIMATOR_H */
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_PRIMITIVES_BLOCK_H
|
||||
#define BITCOIN_PRIMITIVES_BLOCK_H
|
||||
#ifndef HUSH_PRIMITIVES_BLOCK_H
|
||||
#define HUSH_PRIMITIVES_BLOCK_H
|
||||
|
||||
#include "primitives/transaction.h"
|
||||
//#include "primitives/nonce.h"
|
||||
@@ -279,4 +279,4 @@ struct CBlockLocator
|
||||
}
|
||||
};
|
||||
|
||||
#endif // BITCOIN_PRIMITIVES_BLOCK_H
|
||||
#endif // HUSH_PRIMITIVES_BLOCK_H
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_PRIMITIVES_TRANSACTION_H
|
||||
#define BITCOIN_PRIMITIVES_TRANSACTION_H
|
||||
#ifndef HUSH_PRIMITIVES_TRANSACTION_H
|
||||
#define HUSH_PRIMITIVES_TRANSACTION_H
|
||||
|
||||
#include "amount.h"
|
||||
#include "random.h"
|
||||
@@ -826,4 +826,4 @@ struct CMutableTransaction
|
||||
uint256 GetHash() const;
|
||||
};
|
||||
|
||||
#endif // BITCOIN_PRIMITIVES_TRANSACTION_H
|
||||
#endif // HUSH_PRIMITIVES_TRANSACTION_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_INTERPRETER_H
|
||||
#define BITCOIN_SCRIPT_INTERPRETER_H
|
||||
#ifndef HUSH_SCRIPT_INTERPRETER_H
|
||||
#define HUSH_SCRIPT_INTERPRETER_H
|
||||
|
||||
#include "script_error.h"
|
||||
#include "primitives/transaction.h"
|
||||
@@ -204,4 +204,4 @@ bool VerifyScript(
|
||||
const BaseSignatureChecker& checker,
|
||||
uint32_t consensusBranchId,
|
||||
ScriptError* serror = NULL);
|
||||
#endif // BITCOIN_SCRIPT_INTERPRETER_H
|
||||
#endif // HUSH_SCRIPT_INTERPRETER_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_SCRIPT_H
|
||||
#define BITCOIN_SCRIPT_SCRIPT_H
|
||||
#ifndef HUSH_SCRIPT_SCRIPT_H
|
||||
#define HUSH_SCRIPT_SCRIPT_H
|
||||
|
||||
#include "crypto/common.h"
|
||||
#include "prevector.h"
|
||||
@@ -631,4 +631,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // BITCOIN_SCRIPT_SCRIPT_H
|
||||
#endif // HUSH_SCRIPT_SCRIPT_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_SCRIPT_ERROR_H
|
||||
#define BITCOIN_SCRIPT_SCRIPT_ERROR_H
|
||||
#ifndef HUSH_SCRIPT_SCRIPT_ERROR_H
|
||||
#define HUSH_SCRIPT_SCRIPT_ERROR_H
|
||||
|
||||
typedef enum ScriptError_t
|
||||
{
|
||||
@@ -78,4 +78,4 @@ typedef enum ScriptError_t
|
||||
|
||||
const char* ScriptErrorString(const ScriptError error);
|
||||
|
||||
#endif // BITCOIN_SCRIPT_SCRIPT_ERROR_H
|
||||
#endif // HUSH_SCRIPT_SCRIPT_ERROR_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_SERVERCHECKER_H
|
||||
#define BITCOIN_SCRIPT_SERVERCHECKER_H
|
||||
#ifndef HUSH_SCRIPT_SERVERCHECKER_H
|
||||
#define HUSH_SCRIPT_SERVERCHECKER_H
|
||||
|
||||
#include "script/interpreter.h"
|
||||
|
||||
@@ -40,4 +40,4 @@ public:
|
||||
int CheckEvalCondition(const CC *cond) const;
|
||||
};
|
||||
|
||||
#endif // BITCOIN_SCRIPT_SERVERCHECKER_H
|
||||
#endif // HUSH_SCRIPT_SERVERCHECKER_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_SIGCACHE_H
|
||||
#define BITCOIN_SCRIPT_SIGCACHE_H
|
||||
#ifndef HUSH_SCRIPT_SIGCACHE_H
|
||||
#define HUSH_SCRIPT_SIGCACHE_H
|
||||
|
||||
#include "script/interpreter.h"
|
||||
|
||||
@@ -38,4 +38,4 @@ public:
|
||||
bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const;
|
||||
};
|
||||
|
||||
#endif // BITCOIN_SCRIPT_SIGCACHE_H
|
||||
#endif // HUSH_SCRIPT_SIGCACHE_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_SIGN_H
|
||||
#define BITCOIN_SCRIPT_SIGN_H
|
||||
#ifndef HUSH_SCRIPT_SIGN_H
|
||||
#define HUSH_SCRIPT_SIGN_H
|
||||
|
||||
#include "script/interpreter.h"
|
||||
|
||||
@@ -120,4 +120,4 @@ SignatureData CombineSignatures(
|
||||
SignatureData DataFromTransaction(const CMutableTransaction& tx, unsigned int nIn);
|
||||
void UpdateTransaction(CMutableTransaction& tx, unsigned int nIn, const SignatureData& data);
|
||||
|
||||
#endif // BITCOIN_SCRIPT_SIGN_H
|
||||
#endif // HUSH_SCRIPT_SIGN_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_SCRIPT_STANDARD_H
|
||||
#define BITCOIN_SCRIPT_STANDARD_H
|
||||
#ifndef HUSH_SCRIPT_STANDARD_H
|
||||
#define HUSH_SCRIPT_STANDARD_H
|
||||
|
||||
#include "script/interpreter.h"
|
||||
#include "uint256.h"
|
||||
@@ -174,4 +174,4 @@ bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std::
|
||||
CScript GetScriptForDestination(const CTxDestination& dest);
|
||||
CScript GetScriptForMultisig(int nRequired, const std::vector<CPubKey>& keys);
|
||||
|
||||
#endif // BITCOIN_SCRIPT_STANDARD_H
|
||||
#endif // HUSH_SCRIPT_STANDARD_H
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef BITCOIN_ZCASHCONSENSUS_H
|
||||
#define BITCOIN_ZCASHCONSENSUS_H
|
||||
#ifndef HUSH_ZCASHCONSENSUS_H
|
||||
#define HUSH_ZCASHCONSENSUS_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(BUILD_BITCOIN_INTERNAL) && defined(HAVE_CONFIG_H)
|
||||
#if defined(BUILD_HUSH_INTERNAL) && defined(HAVE_CONFIG_H)
|
||||
#include "config/bitcoin-config.h"
|
||||
#if defined(_WIN32)
|
||||
#if defined(DLL_EXPORT)
|
||||
@@ -82,4 +82,4 @@ EXPORT_SYMBOL unsigned int zcashconsensus_version();
|
||||
|
||||
#undef EXPORT_SYMBOL
|
||||
|
||||
#endif // BITCOIN_ZCASHCONSENSUS_H
|
||||
#endif // HUSH_ZCASHCONSENSUS_H
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_SUPPORT_CLEANSE_H
|
||||
#define BITCOIN_SUPPORT_CLEANSE_H
|
||||
#ifndef HUSH_SUPPORT_CLEANSE_H
|
||||
#define HUSH_SUPPORT_CLEANSE_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
* operation will not be optimized out by the compiler. */
|
||||
void memory_cleanse(void *ptr, size_t len);
|
||||
|
||||
#endif // BITCOIN_SUPPORT_CLEANSE_H
|
||||
#endif // HUSH_SUPPORT_CLEANSE_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_SUPPORT_EVENTS_H
|
||||
#define BITCOIN_SUPPORT_EVENTS_H
|
||||
#ifndef HUSH_SUPPORT_EVENTS_H
|
||||
#define HUSH_SUPPORT_EVENTS_H
|
||||
|
||||
#include <ios>
|
||||
#include <memory>
|
||||
@@ -53,4 +53,4 @@ raii_evhttp_connection obtain_evhttp_connection_base(struct event_base* base, st
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif // BITCOIN_SUPPORT_EVENTS_H
|
||||
#endif // HUSH_SUPPORT_EVENTS_H
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_SUPPORT_PAGELOCKER_H
|
||||
#define BITCOIN_SUPPORT_PAGELOCKER_H
|
||||
#ifndef HUSH_SUPPORT_PAGELOCKER_H
|
||||
#define HUSH_SUPPORT_PAGELOCKER_H
|
||||
|
||||
#include "support/cleanse.h"
|
||||
|
||||
@@ -175,4 +175,4 @@ void UnlockObject(const T& t)
|
||||
LockedPageManager::Instance().UnlockRange((void*)(&t), sizeof(T));
|
||||
}
|
||||
|
||||
#endif // BITCOIN_SUPPORT_PAGELOCKER_H
|
||||
#endif // HUSH_SUPPORT_PAGELOCKER_H
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_TEST_BIGNUM_H
|
||||
#define BITCOIN_TEST_BIGNUM_H
|
||||
#ifndef HUSH_TEST_BIGNUM_H
|
||||
#define HUSH_TEST_BIGNUM_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
@@ -190,4 +190,4 @@ inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(a.bn
|
||||
inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(a.bn, b.bn) < 0); }
|
||||
inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(a.bn, b.bn) > 0); }
|
||||
|
||||
#endif // BITCOIN_TEST_BIGNUM_H
|
||||
#endif // HUSH_TEST_BIGNUM_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef BITCOIN_TEST_TEST_BITCOIN_H
|
||||
#define BITCOIN_TEST_TEST_BITCOIN_H
|
||||
#ifndef HUSH_TEST_TEST_HUSH_H
|
||||
#define HUSH_TEST_TEST_HUSH_H
|
||||
|
||||
#include "consensus/upgrades.h"
|
||||
#include "pubkey.h"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_UTIL_ASMAP_H
|
||||
#define BITCOIN_UTIL_ASMAP_H
|
||||
#ifndef HUSH_UTIL_ASMAP_H
|
||||
#define HUSH_UTIL_ASMAP_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
@@ -12,4 +12,4 @@ uint32_t Interpret(const std::vector<bool> &asmap, const std::vector<bool> &ip);
|
||||
|
||||
bool SanityCheckASMap(const std::vector<bool>& asmap, int bits);
|
||||
|
||||
#endif // BITCOIN_UTIL_ASMAP_H
|
||||
#endif // HUSH_UTIL_ASMAP_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||
#define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||
#ifndef HUSH_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||
#define HUSH_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||
|
||||
#include "zmqconfig.h"
|
||||
|
||||
@@ -42,4 +42,4 @@ protected:
|
||||
std::string address;
|
||||
};
|
||||
|
||||
#endif // BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||
#endif // HUSH_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_ZMQ_ZMQCONFIG_H
|
||||
#define BITCOIN_ZMQ_ZMQCONFIG_H
|
||||
#ifndef HUSH_ZMQ_ZMQCONFIG_H
|
||||
#define HUSH_ZMQ_ZMQCONFIG_H
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "config/bitcoin-config.h"
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
void zmqError(const char *str);
|
||||
|
||||
#endif // BITCOIN_ZMQ_ZMQCONFIG_H
|
||||
#endif // HUSH_ZMQ_ZMQCONFIG_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
|
||||
#define BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
|
||||
#ifndef HUSH_ZMQ_ZMQNOTIFICATIONINTERFACE_H
|
||||
#define HUSH_ZMQ_ZMQNOTIFICATIONINTERFACE_H
|
||||
|
||||
#include "validationinterface.h"
|
||||
#include "consensus/validation.h"
|
||||
@@ -36,4 +36,4 @@ private:
|
||||
std::list<CZMQAbstractNotifier*> notifiers;
|
||||
};
|
||||
|
||||
#endif // BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
|
||||
#endif // HUSH_ZMQ_ZMQNOTIFICATIONINTERFACE_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H
|
||||
#define BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H
|
||||
#ifndef HUSH_ZMQ_ZMQPUBLISHNOTIFIER_H
|
||||
#define HUSH_ZMQ_ZMQPUBLISHNOTIFIER_H
|
||||
|
||||
#include "zmqabstractnotifier.h"
|
||||
|
||||
@@ -58,4 +58,4 @@ public:
|
||||
bool NotifyBlock(const CBlock &block);
|
||||
};
|
||||
|
||||
#endif // BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H
|
||||
#endif // HUSH_ZMQ_ZMQPUBLISHNOTIFIER_H
|
||||
|
||||
Reference in New Issue
Block a user