/
githubmirror
/
bitcoin
Обзор
Документация
Войти
/
githubmirror
/
bitcoin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/node/mempool_persist_args.h
25 строк
732 B
MarcoFalke
scripted-diff: [doc] Unify stale copyright headers
17 дек 2025, 00:21
17 дек 2025, 00:21
fa5f297
Код
Авторство
О чём код?
// Copyright (c) 2022-present The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H #define BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H #include <util/fs.h> class ArgsManager; namespace node { /** * Default for -persistmempool, indicating whether the node should attempt to * automatically load the mempool on start and save to disk on shutdown */ static constexpr bool DEFAULT_PERSIST_MEMPOOL{true}; bool ShouldPersistMempool(const ArgsManager& argsman); fs::path MempoolPath(const ArgsManager& argsman); } // namespace node #endif // BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H