diff options
Diffstat (limited to 'src/node/chainstatemanager_args.cpp')
-rw-r--r-- | src/node/chainstatemanager_args.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/node/chainstatemanager_args.cpp b/src/node/chainstatemanager_args.cpp index b0d929626b..9801e6e959 100644 --- a/src/node/chainstatemanager_args.cpp +++ b/src/node/chainstatemanager_args.cpp @@ -5,6 +5,9 @@ #include <node/chainstatemanager_args.h> #include <arith_uint256.h> +#include <kernel/chainstatemanager_opts.h> +#include <node/coins_view_args.h> +#include <node/database_args.h> #include <tinyformat.h> #include <uint256.h> #include <util/strencodings.h> @@ -34,6 +37,10 @@ std::optional<bilingual_str> ApplyArgsManOptions(const ArgsManager& args, Chains if (auto value{args.GetIntArg("-maxtipage")}) opts.max_tip_age = std::chrono::seconds{*value}; + ReadDatabaseArgs(args, opts.block_tree_db); + ReadDatabaseArgs(args, opts.coins_db); + ReadCoinsViewArgs(args, opts.coins_view); + return std::nullopt; } } // namespace node |