Bitcoin Core  27.99.0
P2P Digital Currency
checks.h
Go to the documentation of this file.
1 // Copyright (c) 2022 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_KERNEL_CHECKS_H
6 #define BITCOIN_KERNEL_CHECKS_H
7 
8 #include <util/result.h>
9 
10 namespace kernel {
11 
12 struct Context;
13 
17 [[nodiscard]] util::Result<void> SanityChecks(const Context&);
18 } // namespace kernel
19 
20 #endif // BITCOIN_KERNEL_CHECKS_H
util::Result< void > SanityChecks(const Context &)
Ensure a usable environment with all necessary library support.
Definition: checks.cpp:15