diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-03 13:12:45 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-03-15 15:33:12 +0100 |
commit | fa721f1cab0de239a93f6bf70e3a8af26fddae8a (patch) | |
tree | d5398c3f0e71286a8dd9324cb429274c3f816c26 /src/validation.cpp | |
parent | 460e394625fab2942748aaeec9be31f460f91c58 (diff) |
Move ::nPruneTarget into BlockManager
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index f3c0401c0f..47355b0850 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -5555,7 +5555,9 @@ static ChainstateManager::Options&& Flatten(ChainstateManager::Options&& opts) return std::move(opts); } -ChainstateManager::ChainstateManager(Options options) : m_options{Flatten(std::move(options))} {} +ChainstateManager::ChainstateManager(Options options, node::BlockManager::Options blockman_options) + : m_options{Flatten(std::move(options))}, + m_blockman{std::move(blockman_options)} {} ChainstateManager::~ChainstateManager() { |