blockmanager_args.h raw

   1  
   2  // Copyright (c) 2023-present The Bitcoin Core developers
   3  // Distributed under the MIT software license, see the accompanying
   4  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
   5  
   6  #ifndef BITCOIN_NODE_BLOCKMANAGER_ARGS_H
   7  #define BITCOIN_NODE_BLOCKMANAGER_ARGS_H
   8  
   9  #include <node/blockstorage.h>
  10  #include <util/result.h>
  11  
  12  class ArgsManager;
  13  
  14  namespace node {
  15  [[nodiscard]] util::Result<void> ApplyArgsManOptions(const ArgsManager& args, BlockManager::Options& opts);
  16  } // namespace node
  17  
  18  #endif // BITCOIN_NODE_BLOCKMANAGER_ARGS_H
  19