/
githubmirror
/
bitcoin
Обзор
Документация
Войти
/
githubmirror
/
bitcoin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/node/coins_view_args.cpp
16 строк
575 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/coins_view_args.h> #include <common/args.h> #include <txdb.h> namespace node { void ReadCoinsViewArgs(const ArgsManager& args, CoinsViewOptions& options) { if (auto value = args.GetIntArg("-dbbatchsize")) options.batch_write_bytes = *value; if (auto value = args.GetIntArg("-dbcrashratio")) options.simulate_crash_ratio = *value; } } // namespace node