/
githubmirror
/
bitcoin
Обзор
Документация
Войти
/
githubmirror
/
bitcoin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/node/mempool_persist_args.cpp
23 строки
587 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. #include <node/mempool_persist_args.h> #include <common/args.h> #include <util/fs.h> #include <validation.h> namespace node { bool ShouldPersistMempool(const ArgsManager& argsman) { return argsman.GetBoolArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL); } fs::path MempoolPath(const ArgsManager& argsman) { return argsman.GetDataDirNet() / "mempool.dat"; } } // namespace node