mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
Compare commits
5 commits
3f7a1b0b5a
...
ed4605711b
Author | SHA1 | Date | |
---|---|---|---|
|
ed4605711b | ||
|
578654c686 | ||
|
1f81be60f5 | ||
|
136e4080c2 | ||
|
41bc716488 |
1 changed files with 5 additions and 5 deletions
10
src/init.cpp
10
src/init.cpp
|
@ -1611,16 +1611,16 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
|||
}
|
||||
auto [index_cache_sizes, kernel_cache_sizes] = *cache_sizes;
|
||||
|
||||
LogInfo("Cache configuration:\n");
|
||||
LogInfo("* Using %.1f MiB for block index database\n", kernel_cache_sizes.block_tree_db * (1.0 / 1024 / 1024));
|
||||
LogInfo("Cache configuration:");
|
||||
LogInfo("* Using %.1f MiB for block index database", kernel_cache_sizes.block_tree_db * (1.0 / 1024 / 1024));
|
||||
if (args.GetBoolArg("-txindex", DEFAULT_TXINDEX)) {
|
||||
LogInfo("* Using %.1f MiB for transaction index database\n", index_cache_sizes.tx_index * (1.0 / 1024 / 1024));
|
||||
LogInfo("* Using %.1f MiB for transaction index database", index_cache_sizes.tx_index * (1.0 / 1024 / 1024));
|
||||
}
|
||||
for (BlockFilterType filter_type : g_enabled_filter_types) {
|
||||
LogInfo("* Using %.1f MiB for %s block filter index database\n",
|
||||
LogInfo("* Using %.1f MiB for %s block filter index database",
|
||||
index_cache_sizes.filter_index * (1.0 / 1024 / 1024), BlockFilterTypeName(filter_type));
|
||||
}
|
||||
LogInfo("* Using %.1f MiB for chain state database\n", kernel_cache_sizes.coins_db * (1.0 / 1024 / 1024));
|
||||
LogInfo("* Using %.1f MiB for chain state database", kernel_cache_sizes.coins_db * (1.0 / 1024 / 1024));
|
||||
|
||||
assert(!node.mempool);
|
||||
assert(!node.chainman);
|
||||
|
|
Loading…
Reference in a new issue