aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/blockmanager_opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/blockmanager_opts.h')
-rw-r--r--src/kernel/blockmanager_opts.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kernel/blockmanager_opts.h b/src/kernel/blockmanager_opts.h
index 8f26422f72..deeba7e318 100644
--- a/src/kernel/blockmanager_opts.h
+++ b/src/kernel/blockmanager_opts.h
@@ -5,6 +5,7 @@
#ifndef BITCOIN_KERNEL_BLOCKMANAGER_OPTS_H
#define BITCOIN_KERNEL_BLOCKMANAGER_OPTS_H
+#include <kernel/notifications_interface.h>
#include <util/fs.h>
#include <cstdint>
@@ -13,8 +14,6 @@ class CChainParams;
namespace kernel {
-static constexpr bool DEFAULT_STOPAFTERBLOCKIMPORT{false};
-
/**
* An options struct for `BlockManager`, more ergonomically referred to as
* `BlockManager::Options` due to the using-declaration in `BlockManager`.
@@ -23,8 +22,8 @@ struct BlockManagerOpts {
const CChainParams& chainparams;
uint64_t prune_target{0};
bool fast_prune{false};
- bool stop_after_block_import{DEFAULT_STOPAFTERBLOCKIMPORT};
const fs::path blocks_dir;
+ Notifications& notifications;
};
} // namespace kernel