Bitcoin Core  24.99.0
P2P Digital Currency
context.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_CONTEXT_H
6 #define BITCOIN_KERNEL_CONTEXT_H
7 
8 #include <memory>
9 
10 class ECCVerifyHandle;
11 
12 namespace kernel {
20 struct Context {
21  std::unique_ptr<ECCVerifyHandle> ecc_verify_handle;
22 
26  Context();
27  ~Context();
28 };
29 } // namespace kernel
30 
31 #endif // BITCOIN_KERNEL_CONTEXT_H
Users of this module must hold an ECCVerifyHandle.
Definition: pubkey.h:336
Context struct holding the kernel library's logically global state, and passed to external libbitcoin...
Definition: context.h:20
Context()
Declare default constructor and destructor that are not inline, so code instantiating the kernel::Con...
Definition: context.cpp:18
std::unique_ptr< ECCVerifyHandle > ecc_verify_handle
Definition: context.h:21