MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ReadCoinsViewArgs

Function ReadCoinsViewArgs

src/node/coins_view_args.cpp:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10namespace node {
11void ReadCoinsViewArgs(const ArgsManager& args, CoinsViewOptions& options)
12{
13 if (auto value = args.GetIntArg("-dbbatchsize")) options.batch_write_bytes = *value;
14 if (auto value = args.GetIntArg("-dbcrashratio")) options.simulate_crash_ratio = *value;
15}
16} // namespace node

Callers 1

ApplyArgsManOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected