mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 06:00:43 +02:00
Move ChainstateManagerOpts into kernel:: namespace
It should have been there in the first place.
This commit is contained in:
parent
062b9db0cc
commit
3837700267
@ -10,6 +10,8 @@
|
||||
|
||||
class CChainParams;
|
||||
|
||||
namespace kernel {
|
||||
|
||||
/**
|
||||
* An options struct for `ChainstateManager`, more ergonomically referred to as
|
||||
* `ChainstateManager::Options` due to the using-declaration in
|
||||
@ -20,4 +22,6 @@ struct ChainstateManagerOpts {
|
||||
const std::function<int64_t()> adjusted_time_callback{nullptr};
|
||||
};
|
||||
|
||||
} // namespace kernel
|
||||
|
||||
#endif // BITCOIN_KERNEL_CHAINSTATEMANAGER_OPTS_H
|
||||
|
@ -834,7 +834,7 @@ private:
|
||||
friend CChainState;
|
||||
|
||||
public:
|
||||
using Options = ChainstateManagerOpts;
|
||||
using Options = kernel::ChainstateManagerOpts;
|
||||
|
||||
explicit ChainstateManager(const Options& opts)
|
||||
: m_chainparams{opts.chainparams},
|
||||
|
Loading…
Reference in New Issue
Block a user