2022-05-27 16:47:05 -04:00
|
|
|
// Copyright (c) 2022 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_KERNEL_CHECKS_H
|
|
|
|
#define BITCOIN_KERNEL_CHECKS_H
|
|
|
|
|
2022-05-25 18:02:54 -04:00
|
|
|
#include <optional>
|
|
|
|
|
2022-06-07 21:08:56 -04:00
|
|
|
struct bilingual_str;
|
|
|
|
|
2022-05-27 16:47:05 -04:00
|
|
|
namespace kernel {
|
|
|
|
|
|
|
|
struct Context;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Ensure a usable environment with all necessary library support.
|
|
|
|
*/
|
2022-06-07 21:08:56 -04:00
|
|
|
std::optional<bilingual_str> SanityChecks(const Context&);
|
2022-05-27 16:47:05 -04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // BITCOIN_KERNEL_CHECKS_H
|