2021-04-18 18:56:12 -04:00
|
|
|
// Copyright (c) 2021 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
//! @file
|
|
|
|
//! @brief Common init functions shared by bitcoin-node, bitcoin-wallet, etc.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_INIT_COMMON_H
|
|
|
|
#define BITCOIN_INIT_COMMON_H
|
|
|
|
|
|
|
|
namespace init {
|
|
|
|
void SetGlobals();
|
|
|
|
void UnsetGlobals();
|
2021-04-18 18:58:43 -04:00
|
|
|
/**
|
|
|
|
* Ensure a usable environment with all
|
|
|
|
* necessary library support.
|
|
|
|
*/
|
|
|
|
bool SanityChecks();
|
2021-04-18 18:56:12 -04:00
|
|
|
} // namespace init
|
|
|
|
|
|
|
|
#endif // BITCOIN_INIT_COMMON_H
|