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-09-01 15:35:23 -04:00
|
|
|
#include <util/result.h>
|
2022-05-25 18:02:54 -04:00
|
|
|
|
2022-05-27 16:47:05 -04:00
|
|
|
namespace kernel {
|
|
|
|
|
|
|
|
struct Context;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Ensure a usable environment with all necessary library support.
|
|
|
|
*/
|
2023-05-29 13:15:47 +02:00
|
|
|
[[nodiscard]] util::Result<void> SanityChecks(const Context&);
|
|
|
|
} // namespace kernel
|
2022-05-27 16:47:05 -04:00
|
|
|
|
|
|
|
#endif // BITCOIN_KERNEL_CHECKS_H
|